/stravaupload

Upload tcx file to strava

Primary LanguagePython

stravaupload Build Status Code Climate

Small Python script to upload FIT, TCX and GPX (and .fit.gz, .tcx.gz, .gpx.gz) files to Strava. It is intended for personal use and has a lot of limitations. Feel free to use it however you like. If you have any comments, questions or want to help, dont hesitate to contact me.

Tips: You can use the polar2tcx script to create TCX files from Polar devices.

Requirements

You need Python with stravalib installed: pip install stravalib

Instructions

  1. Create a Strava application and follow the instructions here: http://strava.github.io/api/v3/oauth/ to get an access token.
  2. Rename the file .stravaupload.cfg.sample to .stravaupload.cfg (or ~/.stravaupload.cfg') and enter the access token there.
  3. Run the script by ./stravaupload.py