csparpa / pyowm

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

Confusing attributes for historical calls #433

Open arianmaghsoudnia opened 4 months ago

arianmaghsoudnia commented 4 months ago

Hi there and thanks for maintaining this project. I find using the same one_call.OneCall method to parse responses from historical requests onecall/timemachine a bit confusing because the original DTO has the hourly object as opposed to forecast_hourly. Using the same attribute does not match the original DTO and gives off the impression are the predicted values in the past; whereas those are actual measured values.