csparpa / pyowm

A Python wrapper around the OpenWeatherMap web API
https://pyowm.readthedocs.io
MIT License
790 stars 172 forks source link

Wind speed is not read when not in the wind dict key #80

Closed csparpa closed 9 years ago

csparpa commented 9 years ago

A sample file describing the problem:

http://api.openweathermap.org/data/2.5/forecast/daily?q=Winnipeg&mode=json&units=metric&cnt=16

You can see the 'speed' key in the JSON with no 'wind'.

csparpa commented 9 years ago

Fixed by PR #79