Description Usage Arguments Examples
Generate a token for the user and the desired scope. The user is sent to the strava authentication page if he/she hasn't given permission to the app yet, else, is sent to the app webpage.
1 2 3 4 | strava_auth(app_name = Sys.getenv("STRAVA_APP_NAME"),
app_client_id = Sys.getenv("STRAVA_APP_ID"),
app_secret = Sys.getenv("STRAVA_APP_SECRET"), token = NULL,
new_user = FALSE)
|
app_name |
Name of your developer app |
app_client_id |
The Client ID of your developer app |
app_secret |
The secret for your developer app |
1 | strava_auth(app_name = "APP Name", app_client_id = "App Client ID", app_secret = "APP Secret", token = NULL, new_user = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.