Skip to main content

KomootGPX

Download Komoot tracks and highlights as GPX files with metadata

Python 3 or later is required.

Installation

Download from PyPI:

pip install komootgpx

Testing

To run from local clone of repo (without installation):

python -m komootgpx --help

Usage

Run script in interactive mode

komootgpx
Enter your mail address (komoot.de)
>example@mail.com

Enter your password (input hidden)
Password:

Logging in...
Logged in as 'thepbone'

3331210XX => Example trip A (hike; 20.766km; tour_recorded)
3331214XX => Example trip B (hike; 13.863km; tour_planned)

Enter a tour id to download
>3331210XX

Fetching tours of user '153434028XXX'...
Fetching tour '3331210XX'...
Fetching highlight '2635XX'...
Fetching highlight '15840XX'...
GPX file written to '~/Development/KomootGPX/Example trip A-3331210XX.gpx'

Display advanced usage information

komootgpx --help
komootgpx.py [options]
[Authentication]
        -m, --mail=mail_address            Login using specified email address
        -p, --pass=password                Use provided password and skip interactive prompt
        -n, --anonymous                    Skip authentication, no interactive prompt, valid only with -d

[Tours]
        -l, --list-tours                   List all tours of the logged in user
        -d, --make-gpx=tour_id             Download tour as GPX
        -a, --make-all                     Download all tours
        -s, --skip-existing                Do not download and save GPX if the file already exists, ignored with -d
        -D, --add-date                     Add date to file name

[Filters]
        -f, --filter=type                  Filter by track type (either "planned" or "recorded")

[Generator]
        -o, --output                       Output directory (default: working directory)
        -e, --no-poi                       Do not include highlights as POIs

Authentication

It's required to be properly authenticated with username (email) and password to perform most of available operations:

  • list user's tours (both planned and completed)
  • download all tours
  • download tour that has Visibility set to "Only me" or "Close friends"

Without authentication you can download any tour that is public (i.e. Visibility set to "Anyone"). To disable authentication use --anonymous option.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

komootgpx-1.3.0.tar.gz (21.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

komootgpx-1.3.0-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

File details

Details for the file komootgpx-1.3.0.tar.gz.

File metadata

  • Download URL: komootgpx-1.3.0.tar.gz
  • Upload date:
  • Size: 21.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.4

File hashes

Hashes for komootgpx-1.3.0.tar.gz
Algorithm Hash digest
SHA256 b2035cd8375ef4d86b6c2e580472e7b6990b3479c9671c0ee93152bf1b526e00
MD5 49f8a323c1c06660cd3af804fd882e14
BLAKE2b-256 07a8c210bb0f6a1eaf46b13951982b3cf990aa401a0126ebc859829f57b46ea0

See more details on using hashes here.

File details

Details for the file komootgpx-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: komootgpx-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 21.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.4

File hashes

Hashes for komootgpx-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e09174501711df08befc197c8688e33f3493eb6d29623c82ab08b919bcd10522
MD5 d1bec8009517ccbd1260237d90012ad4
BLAKE2b-256 b6e2fad87afbf97abc802273c1471796bffc1171b222afd84ee50153602f6a5d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page