Awesome tutorial! I learned a lot and had a great time sitting down and making this for a few days. I know openweather also has api calls for the Air Quality Index. If I wanted to add this or other calls from the same source, would there be additional modifications that I would need to make other than making another def similar to the weather one outlined?
Hey there! Thanks so much for your comment! Yeah, you’d need to make a few additional changes, such as: - like you mentioned, getting the data similar to the weather one - adding this info into the routing function (so that the web page has access to it) - adding it to the jinja template to display the data Hope that helps!
how to fix it in app.py? Please give me instrustion File "d:\Python\WeatherApp_Flask\app.py", line 6, in @app.route('/', methods) ^^^^^^^ NameError: name 'methods' is not defined
thanks for the tut, it is so useful and finally I made my first project
u make me understand bootstrap just with this video
Thank you!!
Great video, Its just what I needed, A comprehensive end to end python project for api.
Thank you.
Thanks Rohit!
Great content, thank you for this contribution!
Great tutorial, thanks
Thanks so much!
you're the best!!! thank you
this is awesome
very interesting
thanks for teaching🙂🙂
Thanks so much!!
Awesome tutorial! I learned a lot and had a great time sitting down and making this for a few days. I know openweather also has api calls for the Air Quality Index. If I wanted to add this or other calls from the same source, would there be additional modifications that I would need to make other than making another def similar to the weather one outlined?
Hey there! Thanks so much for your comment! Yeah, you’d need to make a few additional changes, such as:
- like you mentioned, getting the data similar to the weather one
- adding this info into the routing function (so that the web page has access to it)
- adding it to the jinja template to display the data
Hope that helps!
Very cool explanation Can you please send the github link for this project
Can we set clean transitions on this jinja data returns??
Legend
Really nice!
Can u share the github link?
The Toronto ON and Canada values are hard coded hence this code doesn't work for any other cities
Ah shoot! Thanks for pointing that out!
@@datagy how to fix that?
I am getting response 401, how do I fix?
401 generally indicates that there are issues with the API key. Can you make sure the key is active?
how to fix it in app.py? Please give me instrustion
File "d:\Python\WeatherApp_Flask\app.py", line 6, in
@app.route('/', methods)
^^^^^^^
NameError: name 'methods' is not defined