stravaupload [](https://travis-ci.org/marthinsen/stravaupload) [](https://codeclimate.com/github/marthinsen/stravaupload)
August 4, 2017 ยท View on GitHub
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
- Create a Strava application and follow the instructions here: http://strava.github.io/api/v3/oauth/ to get an access token.
- Rename the file .stravaupload.cfg.sample to .stravaupload.cfg (or ~/.stravaupload.cfg') and enter the access token there.
- Run the script by
./stravaupload.py