mattdsteele / strava-segment-trends

https://trails.steele.blue
4 stars 0 forks source link

Cache Strava requests in Fauna #3

Open mattdsteele opened 4 years ago

mattdsteele commented 4 years ago

The Strava calls made in src/strava are for relatively unchanging things like segment name and path polyline.

Since we're rate limited against Strava's API we should save the data in Fauna, and periodically refresh it.

sbuscher commented 4 years ago

makes sense with 100 max requests/15minutes and 1000 max/day.