View source: R/url_activities.R
url_activities | R Documentation |
Set the url of activities for different activity lists
url_activities(id = NULL, club = FALSE)
id |
string for id of the activity or club if |
club |
logical if you want the activities of a club |
This function concatenates appropriate strings so no authentication token is required. This is used internally by other functions.
The set url.
## Not run:
# create authentication token
# requires user created app name, id, and secret from Strava website
stoken <- httr::config(token = strava_oauth(app_name, app_client_id,
app_secret, cache = TRUE))
url_activities('2837007')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.