Skip to main content

Python wrapper for Komoot APIs

Project description

PyMoot

PyMoot is a python wrapper to retrieve data from komoot or change some data on Komoot.

Features

  • Get all your tours
  • Get a specific tour by ID
  • Retrieve tour GPX file
  • Retrieve tour coordinates
  • Rename a tour on komoot
  • Get tour highlights

Install

PyMoot requires python >= 3.11

To install, it's easy:

pip install pymoot

Usage

First initialize the connector:

from pymoot.connector import Connector

c = Connector(email="myemail@example.com", password="komoot_password")

Then, use the function that you cant from this connector:

from pymoot.connector import Connector

c = Connector(email="myemail@example.com", password="komoot_password")

# Call what you want here:
c.get_tours()  # Get tours
tour = c.get_tour(tour_id="125431322")  # Get a tour by id
c.update_tour_title(tour_identifier="213135132", new_title="New title to set")  # Update title of a tour on Komoot
tour.retrieve_gpx()  # Get tour GPX
tour.retrieve_coordinates()  # Get tour coordinates
tour.retrieve_tour_highlights()  # Get tour highlights

Project details


Download files

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

Source Distribution

pymoot-1.1.3.tar.gz (25.9 kB view details)

Uploaded Source

Built Distribution

PyMoot-1.1.3-py3-none-any.whl (29.9 kB view details)

Uploaded Python 3

File details

Details for the file pymoot-1.1.3.tar.gz.

File metadata

  • Download URL: pymoot-1.1.3.tar.gz
  • Upload date:
  • Size: 25.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.2

File hashes

Hashes for pymoot-1.1.3.tar.gz
Algorithm Hash digest
SHA256 ce7c8c8766bb2ee48961d1b79109bad5e01e15a6b0c200b8712c82a2fd5942eb
MD5 43e800cfab28f7d2fc2e800d47deacc9
BLAKE2b-256 359848082798e8e37a389bae991d6eece9166f5ca4baf7a0bd19f9cfed897479

See more details on using hashes here.

File details

Details for the file PyMoot-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: PyMoot-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 29.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.2

File hashes

Hashes for PyMoot-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a504ab502144672d0f409069e85038fe4c43a66174ac4a0718c943a9a570a453
MD5 496df2a1c1bb8d62e92e7193764222e5
BLAKE2b-256 7c095204a6754daa2de09592edc3f97c08ee69adee2602cf4bc44e601aca2199

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page