That last little bit about needing to change the main function got me messed up for a bit till the end of the video lol. Can you edit the video to add a timestamp for where it gets fixed? Maybe in the description or something? Because if you use a place other than Toronto earlier in the video a whole bunch of stuff happens before it actually gets fixed in the video gets fixed
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
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!
thanks for the tut, it is so useful and finally I made my first project
Great content, thank you for this contribution!
Great tutorial, thanks
Thanks so much!
That last little bit about needing to change the main function got me messed up for a bit till the end of the video lol. Can you edit the video to add a timestamp for where it gets fixed? Maybe in the description or something? Because if you use a place other than Toronto earlier in the video a whole bunch of stuff happens before it actually gets fixed in the video gets fixed
you're the best!!! thank you
Can we set clean transitions on this jinja data returns??
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!
this is awesome
very interesting
thanks for teaching🙂🙂
Thanks so much!!
Legend
Really nice!
Can u share the github link?
Very cool explanation Can you please send the github link for this project
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