vannut / statamic-weather-addon

🎏 A Statamic-Addon for the OpenWeathermap API
5 stars 0 forks source link

Store fetch time #3

Closed vannut closed 2 years ago

vannut commented 3 years ago

At the moment the json file in storage is 'just' the json response stored. But it might be better to als store the time of api-fetch in there:

{
  "fetched_at": "2021-02-25 14:00:23",
  "response": --- response here ---
}