csparpa / pyowm

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

weather.get_detailed_status for all cities gives wrong weather status #175

Closed liendroid closed 7 years ago

liendroid commented 7 years ago

I'm using the weather.get_detailed_status function and i noticed that no matter what city it's in, it'll always return back clear skies, but open weather site will say otherwise. For example, London currently is hazy, with broken clouds. But the function returns back clear skies. In order to get the weather, I used weather_at_place() and weather_at_ID().

csparpa commented 7 years ago

I've tagged it as "bug" just in case, but please @liendroid can you check out if the weather status given by the library is coherent to what the API itself is saying (not the website) ?

Cause the point here is: if the API is giving data different from the website, this would not be PyOWM's fault

Thanks

liendroid commented 7 years ago

You are correct, it looks like the API was returning a different value from the website. Strange, but not pyown's fault. Thanks for responding.