rcassani / supercycle_strava

Save SuperCycle rides as GPX files, and import them in Strava

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Supercycle / Zeopoxa > GPX > Strava

Scripts to help the migration of rides data from SuperCycle or Zeopoxa cycling to Strava.

More details about this codes in:

https://www.castoriscausa.com/posts/2023/10/07/supercycle_strava/

Usage

1. SuperCycle / Zeopoza > GPX files

The script supercycle2gpx.py reads the SuperCycle database and generates a GPX for each ride in the database.

The script zeopoxa2gpx.py reads the Zeopoxa cycling database and generates a GPX for each ride in the database.

Execution:
./supercyle2gpx.py --file SuperCycle-20230813-1549.scbak

./zeopoxa2gpx.py --file 2023-10-16-10-54-49_Database_Zeopoxa_Cycling.db

2. GPX files > Strava

Run the gpx2strava.py Python script and follow the instructions in the terminal to upload the GPX files to Strava using its API

Execution:
./gpx2strava.py --dir ./rides_gpx_2023_10_02T09_15_20/001_bike/

⚠️ You need to have a client_id and client_secret to use the Strava API. More info here.

About

Save SuperCycle rides as GPX files, and import them in Strava

License:GNU General Public License v3.0


Languages

Language:Python 100.0%