get_activity: get_activity

Description Usage Arguments Value Examples

View source: R/R6_get_activity.R

Description

Returns the given activity that is owned by the authenticated athlete. https://developers.strava.com/playground/#/Activities/getActivityById

Usage

1
2
3
4
5
get_activity(
  mbr_object = NULL,
  activity_id = NULL,
  include_all_efforts = FALSE
)

Arguments

mbr_object

a mountainbiker object

activity_id

the strava id of the activity

include_all_efforts

boolean

Value

myActivity as list with activity details

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# my_mbr is a mountainbikeR object

my_mbr$get_activity(
     activity_id = 12345,
     include_all_efforts = TRUE
)

## End(Not run)

longwei66/mountainbikeR documentation built on April 16, 2020, 6:23 p.m.