Simple, unofficial Komoot API client that can only do two things:
- List a user's latest tour ids
- Download a user's tour GPX track
Warnig: The API client needs the user's credentials, which is basically a security nogo. It is just meant for a private project with my own Komoot account. In a public setting, one would prefer an OAuth based login using the official Komoot API. However, Komoot does grant access to its API for private purpose.
composer require janthomas89/komoot-api-client
$komoot = new KomootApiClient('[email protected]', 'yourPassword');
$latestTourIds = $komoot->getLatestTourIds();
$komoot = new KomootApiClient('[email protected]', 'yourPassword');
$tourGpx = $komoot->getTourGpx(123456);