UCCS-CS4300-5300 / group1-spring2024

1 stars 1 forks source link

Caching Weather Data #41

Open LoganZeien opened 7 months ago

LoganZeien commented 7 months ago

We should expose a function (e.g., get_weather_data) on the Weather model that returns the formatted API data for the week's forecast, and have it automatically run a thread to update it every hour or so.

Then, the weather view should call the get_weather_data function instead of the API call.

Not a user story, so no acceptance criteria, but we still should write tests for it..