Komoot

Obtaining tours and tour data from komoot. Adapted from https://github.com/js-on/medium_komoot.

komoog.komoot.choose_downloaded_komoot_tour()[source]

Choose a previously downloaded tour. Tour can be passed to komoog.gpx.convert_tour_to_gpx_tracks() afterwards.

komoog.komoot.choose_komoot_tour_live()[source]

Login with user credentials, download tour information, choose a tour, and download it. Can be passed to komoog.gpx.convert_tour_to_gpx_tracks() afterwards.

komoog.komoot.download_all_komoot_tours()[source]

Login with user credentials, download tour information and all tours. Tours will be saved in a custom directory. Tours can be passed to komoog.gpx.convert_tour_to_gpx_tracks() afterwards.

komoog.komoot.get_tour(tours, tour_id, session)[source]

Returns a tour including coordinates given a tour_id (position of the tour in tours).

komoog.komoot.get_tours_and_session()[source]

Returns a list of the user's tours on komoot and a requests.Session object.