Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mathu-lmn/strava-scraper
https://github.com/mathu-lmn/strava-scraper
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mathu-lmn/strava-scraper
- Owner: Mathu-lmn
- Created: 2024-07-24T17:17:40.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-24T14:43:21.000Z (5 months ago)
- Last Synced: 2024-12-22T17:13:10.065Z (29 days ago)
- Language: Python
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Strava API Scraper
Original script : https://github.com/odontomachus/stravalib_demo
## Description
This script is a simple example of how to use the Strava API. The "login.py" script will authenticate with the Strava API and save the access token to a file. The "main.py" script will read the access token from the file and use it to make a request to the Strava API to get data on the user's activities.
## Installation
Install the required packages with the following command:
```bash
pip install -r requirements.txt
```Create an API application here : https://www.strava.com/settings/api
Copy the strava.cfg.sample to strava.cfg and fill the informations in there - DO NOT FILL THE TOKEN VALUE
## Usage
Run the "main.py" script to get started
```bash
python main.py
```## TODO :
- [x] Global map with all activities
- [x] Weighted per coordinate
- [ ] Heatmap (number of activities per areas ?)
- [ ] Get most popular segments
- [ ] Get all trainings until a "race" type, with no pause longer than 1 week