Create a SQLite database containing data pulled from Strava
Project description
Table of Contents
strava-to-sqlite
Get started
Install
pip install strava-to-sqlite
Auth and fetch
# - Allow auth via browser oauth flow
# - Saves credentials to database
strava-to-sqlite auth strava_dump.db
# - Fetches and stores strava activities since last sync for all users
strava-to-sqlite sync strava_dump.db
Explore
Strava API sends polylines which are transformed to GeoJSON LineString by strava-to-sqlite
and can rendered on map with datasette-leaflet-geojson and datasette.
# assuming datasette is installed
datasette install datasette-leaflet-geojson
datasette strava_dump.db
Roadmap
- Overall clean-up/refactor
- Add tests
- Client side rate-limiting and retries
- Option to fetch for individual user (currently fetches for all authenticated users)
Links, Resources and Thanks
- Strava: Forum | Strava API | Rate Limits | Auth | Swagger UI
- Similar Projects
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file strava_to_sqlite-0.1.1.tar.gz
.
File metadata
- Download URL: strava_to_sqlite-0.1.1.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.6 Linux/6.1.65
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a216d30183886f0963f6fa258a29111680de29a7b75dbabdfb0f524e67c694a |
|
MD5 | 3d4d7bfe29e6c42018da3d0fe1a2139b |
|
BLAKE2b-256 | 336da532f5f7b17229c6fbe86ed66945650a177ac8c55a4cc29a55c615e59f39 |
File details
Details for the file strava_to_sqlite-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: strava_to_sqlite-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.6 Linux/6.1.65
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50d031157917a9267d1e6ff6c5c961307d0d9ae1701aa7121961e21992f8a1bb |
|
MD5 | 30106388c7f9e0fbf51d44b23426bb29 |
|
BLAKE2b-256 | b1e5e7f4347ada15e4c9dc83f8800cc3b91ad468e488752f2fe5a5f391593fe3 |