Skip to content
/ gpx2fit Public

convert gpx 2 fit activity with specified sport type, for Strava upload

License

Notifications You must be signed in to change notification settings

Ym9i/gpx2fit

Repository files navigation

gpx2fit convert .gpx to .fit

convert gpx 2 fit activity with specified sport type, for Strava upload

gpx to fit

pip install -r requirements.txt 
cp .env.example .env
# edit .env file 

python gpx_2_fit.py

sport type

  • running
  • cycling
  • hiking
  • swimming

upload to strava

pip install -r requirements.txt 
cp .env.example .env
# edit .env file 

python fit_2_strava.py

get STRAVA_CLIENT_ID, STRAVA_CLIENT_SECRET, STRAVA_REFRESH_TOKEN

ref: running_page#strava, step 1 ~ 6


Strava API Rate Limit Exceeded. Retry after 100 seconds
Strava API Rate Limit Timeout. Retry in 799.491622 seconds

TO DO

  • Upload fit to Strava
  • Format Python code by black

Thanks

stagescycling/python_fit_tool

About

convert gpx 2 fit activity with specified sport type, for Strava upload

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages