-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
weather feature #51
weather feature #51
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would recommend a little bit more separation of logic. What I mean by that, is that you shouldn't put everything in the same function. You can separate the logic for getting the weather, getting the time for the city, some specific calculation, etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job that's a big improvement, keep it up
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here we go that's seems pretty good. It's not the most perfect thing, in real life we could abstract everything even more but that's great like that. I'm going to think about the api key thing.
Get the current weather from any city in the world. Weather includes condition, temperature, Pressure Atmospheric, Visibility, Humidity