url_activities: Set the url of activities for different activity lists

View source: R/url_activities.R

url_activitiesR Documentation

Set the url of activities for different activity lists

Description

Set the url of activities for different activity lists

Usage

url_activities(id = NULL, club = FALSE)

Arguments

id

string for id of the activity or club if club = TRUE

club

logical if you want the activities of a club

Details

This function concatenates appropriate strings so no authentication token is required. This is used internally by other functions.

Value

The set url.

Examples

## 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)

fawda123/rStrava documentation built on March 27, 2024, 3:16 p.m.