Weather App forecasting several days ahead

Weather App forecasting several days ahead
0

#1

Has anyone expanded their weather app to show not simply the current weather, but that for the coming few days as well?

The dark sky api does provide that data but I can’t figure out how to utilize it in my own app to show the weather for the week ahead and then break that data down by hour. It would be great if I could have some working code to look at so that I would know how to structure my own code.


#2

Just look at the response you’re getting from the API. Based on the documentation, it looks like there are sections for “currently”, “minutely” (for the next hour), “hourly” (for the next 48 hours), and “daily” (for the next week). The times appear to be in seconds since the Unix Epoch, if that helps.