Description Usage Arguments Value Examples
retrieveAthlete
fetches athlete information from the Strava API, checks
for errors and the current rate limit, and return the result (full response).
Will raise warnings if the response status is not 200, and also if the user
has used 90
1 | retrieveAthlete(token, athlete_id = NULL)
|
token |
String value for user access token to API |
athlete_id |
(optional) Athlete ID, if retreiving non-authenticated user |
result An httr response object, unparsed
1 2 3 | ##Not a real token
## Not run: me <- retrieveAthlete('abcdefghijk')
## Not run: someoneElse <- retrieveAthlete('abcdefghijk', athlete_id='1234')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.