url_segment: Set the url for the different segment requests

View source: R/url_segment.R

url_segmentR Documentation

Set the url for the different segment requests

Description

Set the url for the different segment requests

Usage

url_segment(id = NULL, request = NULL)

Arguments

id

character for id of the segment if request = "all_efforts" or "leaderboard", or id of the athlete if request = "starred", or NULL if using request = "explore" or "starred" of the athenticated user

request

chr string, must be "starred", "all_efforts", "leaderboard", "explore" or NULL for segment details

Details

Function is used internally within get_segment, get_starred, get_leaderboard, get_efforts_list, and get_explore

Value

A url string.

Examples

url_segment()

url_segment(id = '123', request = 'leaderboard')

rStrava documentation built on Oct. 23, 2024, 5:06 p.m.

Related to url_segment in rStrava...