Build a Weather App with Python and Pyowm (OpenWeatherMap API) | #74

Published: 19 May 2020
on channel: Brandon Jacobson (Jacobson Enterprises)
7,106
68

**UPDATE** 27 Dec 20:

The updated code is like this:
owm = pyowm.OWM('YOUR API KEY')
mgr = owm.weather_manager()
observation = mgr.weather_at_place('City, State')
w = observation.weather
temp = w.temperature('fahrenheit')
status = w.detailed_status
print("It is currently " + str(int(temp['temp'])) + " degrees and " + status)

In this video, we'll take some inspiration from the first Iron Man movie and Build a Weather App with Python and Pyowm using the OpenWeatherMap API. I used my own custom function to make it talk to you.

You have to register for an API first here: https://openweathermap.org/api It takes a couple of hours for your API to be activated.

This video explains just the basics of what you can do. Read more here on the documentation site: https://pyowm.readthedocs.io/en/lates...

#Python #Pyowm #OpenWeatherMapAPI


Watch video Build a Weather App with Python and Pyowm (OpenWeatherMap API) | #74 online, duration hours minute second in high quality that is uploaded to the channel Brandon Jacobson (Jacobson Enterprises) 19 May 2020. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 7,106 times and liked it 68 visitors.