Skip to content

matthias-hi/komoot-export

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

komoot-export

Export GPS tracks and tour data from komoot.de

Update 2019-10-30

The login process has changed again and I could not get it working on the first couple of tries (see open issue). So at present the script is not functional. Since I mainly use Strava now for data keeping I will make no further attempts to fix this for the time being.

Disclaimer

This repository is in NO way affiliated to Komoot. It uses non-public APIs to extract user data and will cease to work as soon as their APIs change.

Overview

The repository contains two scripts

  • pykomoot_gpx.py Download GPX tracks of planned and recorded tours.
  • pykomoot_tours.py Store tour data (e.g. name, date, duration, distance, ...) in a CSV file.

Requirements

  • Recent version of Python 3
  • requests

E.g. with Conda installed, run

$ git clone https://github.com/matthias-hi/komoot-export.git komoot-export
$ cd komoot-export
$ source activate pykomoot-env

pykomoot_gpx.py

Limitations

  • Only login via mail + password has been implemented and tested (means no Facebook login).
  • The script has been tested with an account having the "Complete Package" (all regions) unlocked.

Examples

Download all "recorded" tours into directory "gpx_download/recorded/"

$ ./pykomoot_gpx.py -r gpx_download/recorded/ <email>

Download all "planned" tours into directory "gpx_download/planned/"

$ ./pykomoot_gpx.py -p gpx_download/planned/ <email>

Only download tour data in JSON format (tours.json) which is used as input for pykomoot_tours.py

$ ./pykomoot_gpx.py <email>

pykomoot_tours.py

Examples

Convert tours.json to tours.csv

$ ./pykomoot_tours.py tours.json

Get tours.json by running pykomoot_gpx.py.

About

Export tour data and gpx tracks from Komoot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages