Skip to content

burbansby/PelotonData

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Overview

This repo is for programs that communicate with the Peloton API to get detailed workout statistics for a desired user.
As of right now there is only the python version in jupyter notebook, a Javascript version will be added at some point as well.

Python Version

Most of the API fetching is pulled Directly from here: https://github.com/davidvelleca/PelotonAPI/blob/master/peloton_py.py
Slight modifications are made to use the data in dataframe form rather than exporting to a CSV
Still a work in progress and will be expanded upon in the future
The program is split up into multiple cells that can be run separately

Cell 1

Imports all required libraries.
Must be run first but only needs to be run once

Cell 2

Requests the users login info.
Must be run second and does not need to run again unless searching another user.
Will return 200 if the user exists, if anything else is returned run this cell over again with correct info

Cell 3

The bulk of the API calls take place here.
Must be run immidiately after cell 2 is run every time

Cell 4+

Everything after cell 3 is optional and provides a different set of statistics and graphs Read the commented description for its purpose and run if you are interested in that data

About

Program to view your Peloton workout statistics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published