The pelotonR package was created to provide users with simple access to the Peloton API through R.
The Peloton APIs are unsupported. However, there are some really great unofficial swagger docs which I used to familiarize myself with the API.
The package offers a set of easy to use functions which allow the user to:
- Pull general Peloton data in a variety of formats
- Authenticate with the Peloton API
- Pull user specific data in a variety of formats when authenticated.
- Gather full data sets in one function call without having to handle paged API calls.
- Gather joined data sets in one function call.
devtools::install_github("lgellis/pelotonR")
2) Check out the pelotonR getting started guide
- "A Peloton Data Tribute to my Wife" By Dusty Turner
- "My Peloton Instructors", with code posted here by Tania Shapiro. She also created a really awesome Peloton Calendar outlined here.