get_peloton_workout_data: Return a data frame of workout data

Description Usage Arguments Value Examples

View source: R/peloton_api.R

Description

Return a data frame of workout data

Usage

1
get_peloton_workout_data(userid, peloton_cookie)

Arguments

userid

a string, the user id found in your Peloton profile

peloton_cookie

a string, a cookie id

Value

a dataframe

Examples

1
2
3
userid <-  '5749258a9eb4389fbe23821'
peloton_cookie <- get_peloton_cookie(username, password)
get_peloton_workout_data(userid, peloton_cookie)

elliotpalmer/pelotonr documentation built on July 2, 2020, 9:53 p.m.