Skip to content

About

Node.js client for the komoot API: log in and fetch your own recorded tours, filtered by sport and date.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

27 Commits

Folders and files

Repository files navigation

komoot-client

Small Node.js client that signs in to komoot and returns your recorded tours, including the route, as objects.

Documentation: https://www.marco-starker.de/en/projects/komoot-client/docs (Deutsch: https://www.marco-starker.de/de/projekte/komoot-client/doku)

Warning

komoot has no official API for this. The client uses the internal API of the komoot app, which can change at any time. Only use it for your own account.

Quick start

Requires Node.js 22.6 or later.

npm i github:DasRed/komoot-client#semver:^1.5.0
import Client from '@dasred/komoot-client';

const client = new Client({email: process.env.KOMOOT_EMAIL, password: process.env.KOMOOT_PASSWORD});
const tours  = await client.toursMade({sportTypes: 'touringbicycle'});

for (const tour of tours) {
    console.log(tour.name, tour.distance.toFixed(1), 'km');
}

License

MIT

About

Node.js client for the komoot API: log in and fetch your own recorded tours, filtered by sport and date.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages