Description Usage Arguments Value See Also Examples
View source: R/R6_get_segment_streams.R
Returns the specified segment streams but only altitude, latlong and distance read_all scope required in order to retrieve athlete-specific segment information, or to retrieve private segments.
1  | get_segment_streams(mbr_object = NULL, segment_id = NULL, streams_types = NULL)
 | 
mbr_object | 
 a mountainbiker object  | 
segment_id | 
 the strava id of the segment  | 
streams_types | 
 vector of esired stream types. May take the following values: "latlng", "distance", "altitude"  | 
my_streams as list with streams details
https://developers.strava.com/docs/reference/#api-Segments-getSegmentById
1 2 3 4 5 6 7 8 9  | ## Not run: 
# my_mbr is a mountainbikeR object
my_mbr$get_segment_streams(
     segment_id = 12345
     , streams_types = c("heartrate","distance")
)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.