My first suggestion is to get things like API keys and passwords out of code and into environment variables. Even for learning projects, this is a good practice to follow. Your weatherbit key is now public, in both the snippets in this post and in your git repository.
Thanks for the walkthrough.
My first suggestion is to get things like API keys and passwords out of code and into environment variables. Even for learning projects, this is a good practice to follow. Your weatherbit key is now public, in both the snippets in this post and in your git repository.
Sure, you are right.
But this project is intended completely for educational purposes, so it's public for everyone.
Thanks for the feedback!
While this is true, I, as a newbie, would like to know proper practices when doing things like this. An update would be great!