A quick few scripts to help out some fellow athletes pull their data from Strava for further analysis.
- Python 3
- Requests
Get Client ID & Client Secret from Strava Athlete Page on Strava.com
Get Auth Code From, auth the App, and grab the code entry that appears in the URI. "http://www.strava.com/oauth/authorize?client_id=46575&response_type=code&redirect_uri=http://localhost/exchange_token&approval_prompt=force&scope=read,activity:read"
![image](https://user-images.githubusercontent.com/8893098/148694966-70c2bb00-4705-4824-b3f0-c34d3d1c4f79.png)Paste that code on auth.py into the auth_code variable and run auth.py
grab the Access Token that is printed and pasted into activities.py into the access_token variable
Run activities.py, note that we are just printing the raw activities as JSON, you can take this JSON and dump it into a file or drop it into a database, etc