Details
In order to use this paclet, you must first follow the instructions at the link above for 'making an application'.
After completing the steps, navigate to this
link for your API Application.
You should store the following system credentials: SystemCredential["Strava-Client-ID"], SystemCredential["Strava-Client-Secret"], SystemCredential["Strava-Refresh-Token"]
It is recommended to use a name like 'localhost' for the Authorization Callback Domain.
Use the paclet function AuthorizeStravaApplication[], which takes optional arguments of your Redirect URI (defaults to "http://localhost"), and 'scope' (defaults to "read_all,activity:read_all,profile:read_all").
This opens a browser window and you will be prompted to authorize the application. After authorizing, you will be redirected to a URL which includes your Authorization Code in the query string, (e.g., code=abc123).
Store this Authorization Code as SystemCredential["Strava-Authorization-Code"].
Then use the paclet function GenerateStravaAccessToken[] to obtain an Access Token that is valid for 6 hours. This will automatically set the value of SystemCredential["Strava-Access-Token"].
To obtain a new access token, use the paclet function RefreshAccessToken[]. This will automatically update the value of SystemCredential["Strava-Access-Token"].