Detrous / darksky

Python API wrapper for the DarkSky (async&sync)
https://pypi.org/project/darksky_weather/
MIT License
81 stars 22 forks source link

HourlyForecast and MinutelyForecast #23

Closed calvin-zheng closed 5 years ago

calvin-zheng commented 5 years ago

I've been unable to access the .precip_type for the hourly and minutely forecast. For example, here is my code: print(forecast.hourly.data[0].precip_type) I get the following error, showing that this is not part of the class: AttributeError: 'HourlyForecastItem' object has no attribute 'precip_type' even though on forecast.py, it exists.

Detrous commented 5 years ago

@calvin-zheng you fix it ?

calvin-zheng commented 5 years ago

@Detrous I'm not 100% sure, but it seemed to work yesterday when I was testing a location where it was projected to rain.