Detrous/darksky

DailyForecast

Closed this issue · 1 comments

can't access any attribute in the DailyForecast object other than summery and icon.
if i try accessing any other attribute i get an error stating thet it doesnt have this attribute for example: print(forecast.daily.time) AttributeError: 'DailyForecast' object has no attribute 'time'

Hi! You need use forecast.daily.data[index].time
DailyForecast has three fields - 'summary', 'icon' and 'data' (list of items by day)

I will update readme later.