peloton_api: Makes a 'GET' request against one of Peloton's API endpoints

Description Usage Arguments Examples

View source: R/peloton_api.R

Description

Users need not invoke this method directly and may instead use one of the wrappers around specific endpoints that also vectorizes inputs and processes the data returned, such as get_my_info, get_performance_graphs, get_all_workouts, get_workouts_data

Usage

1
peloton_api(path, print_path = FALSE, ...)

Arguments

path

API endpoint to query

print_path

Show path/endpoint queried

...

Additional parameters passed onto methods

Examples

1
2
3
4
5
## Not run: 
peloton_auth()
peloton_api("api/me")

## End(Not run)

bweiher/pelotonR documentation built on Jan. 9, 2021, 1:36 a.m.