A note regarding Kaggle API installation
Just in case there's a possibility this would happen with other, we can add a note about it.
I have used Kaggle API with Windows before but I switched recently to Mac OS, and I'd highlight the following point with the first installation.
Issue: bash: kaggle: command not found error
My solution: I had to add alias kaggle="/Users/[my-user-name]/Library/Python/3.7/bin/kaggle" to .bash_profile coz this is my kaggle path.
Related issue: https://github.com/Kaggle/kaggle-api/issues/59
This was helpful. Thank you. Another issue that may be worth mentioning is that you have to go to the rules for the specific competition and accept them first, or you'll get 403 - Forbidden.
For example, for dogs vs cats, first accept the rules here: https://www.kaggle.com/c/dogs-vs-cats/rules
(at least this was the case for me)