https://github.com/lucs1590/strava-analysis
🏃📊 Using strava to do personal analyses and to practice data scientist skills.
https://github.com/lucs1590/strava-analysis
data-analysis data-science github jupyter-notebook python3 strava strava-api
Last synced: 10 months ago
JSON representation
🏃📊 Using strava to do personal analyses and to practice data scientist skills.
- Host: GitHub
- URL: https://github.com/lucs1590/strava-analysis
- Owner: Lucs1590
- Created: 2021-11-04T01:35:38.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-28T01:25:06.000Z (11 months ago)
- Last Synced: 2025-03-28T02:29:30.776Z (11 months ago)
- Topics: data-analysis, data-science, github, jupyter-notebook, python3, strava, strava-api
- Language: Jupyter Notebook
- Homepage: https://medium.com/p/7251327698e3
- Size: 5.06 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# strava-analysis
Using strava to do personal analyses and to practice data scientist skills.
# Common steps sequence
1. Update the strava code on environment.
2. Run the `create_token.py` script to create a token.
3. Run the `get_activities.py` script to get activities.
# Common problems
The most commom problem is related to the token. If you have a problem with the token, you will need to update this token.
1. Open https://www.strava.com/settings/api and click on `Generate new client secret`.
2. Update the `client_secret` on the `.env` file.
3. You will need a new strava code, so access [this link](http://www.strava.com/oauth/authorize?client_id=[CLIENT_ID]&response_type=code&redirect_uri=http://localhost/exchange_token&approval_prompt=force&scope=profile:read_all,activity:read_all) replacing CLIENT_ID by your client_id.
4. Update the `strava_code` on the `.env` file the code generated on the link.