Description Usage Arguments Value See Also Examples
View source: R/R6_get_segment.R
Returns the specified segment. read_all scope required in order to retrieve athlete-specific segment information, or to retrieve private segments.
1  | get_segment(mbr_object = NULL, segment_id = NULL)
 | 
mbr_object | 
 a mountainbiker object  | 
segment_id | 
 the strava id of the segment  | 
my_segment as list with segment details
https://developers.strava.com/docs/reference/#api-Segments-getSegmentById
1 2 3 4 5 6 7 8  | ## Not run: 
# my_mbr is a mountainbikeR object
my_mbr$get_segment(
     segment_id = 12345
)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.