Strava-Stream-to-CSV
Strava-Stream-to-CSV copied to clipboard
Python library executable to download stream data to a CSV
Strava-Stream-to-CSV
Python script to download Strava API stream data directly to a CSV
#Running
- Install Python 2.7.12
git clone [email protected]:ryanbaumann/Strava-Stream-to-CSV.git && cd Strava-Stream-to-CSV'pip install -r requirements.txt- Navigate to https://www.strava.com/settings/api#=, create and app, and get your API client ID and client secret.
- Create a new file
client.secretand populate it with<clientID, client Secret>all on the same line. - Open strava-to-csv.py as a text file. Update the
limitvariable to download the number of activities that you want. - Run
python strava-to-csv.py - Your data will be in the CSV file in the repo base directory.
Related blog post at https://ryanbaumann.com/blog/2015/4/6/strava-api-cycling-data-for-visualization