Description Usage Arguments Examples
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
1 | peloton_api(path, print_path = FALSE, ...)
|
path |
API endpoint to query |
print_path |
Show path/endpoint queried |
... |
Additional parameters passed onto methods |
1 2 3 4 5 | ## Not run:
peloton_auth()
peloton_api("api/me")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.