Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
bymayo committed Apr 4, 2019
2 parents 4ccbd46 + 5bef06e commit b70edf5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ Use the `connected` method to check to see if the current logged in user has con
### Request
Use the `request` method to get the authorised users data from Strava. Whether this is the users Activities, Clubs, Profile data etc.

NOTE: I would recommend caching this data for X amount of time using Craft `{% cache %}` twig tags. This will reduce the amount of requests to Strava and make templates load better.

```
{% set athleteActivities = craft.stravaSync.request(
'getAthleteActivities'
Expand Down

0 comments on commit b70edf5

Please sign in to comment.