Description Usage Arguments Value See Also Examples
View source: R/R6_initialize.R
Create authentication token with strava (based on web authentication)
1 2 3 4 5 6 7 | def_initialize(
my_app_name = NULL,
my_client_id = NULL,
my_client_secret = NULL,
my_app_scope = "read,read_all,activity:read_all",
cache = FALSE
)
|
my_app_name |
chr string, the name of the app defined in strava |
my_client_id |
chr string, the ID of the app like 27881 |
my_client_secret |
chr string, the secret as defined in strava |
my_app_scope |
chr string for requested scopes, as a comma delimited |
cache |
logical, TRUE to have local cache of the token, FALSE not string, e.g. "activity:read_all,activity:write" |
sig strava token
http://developers.strava.com/docs/authentication/
https://developers.strava.com/docs/authentication/#detailsaboutrequestingaccess
1 2 3 4 | ## Not run:
connect2strava(strava_key = "mykeyhere", strava_secret = "mysecrethere")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.