npm.io
0.4.4 • Published 3 years ago

@gaia-gps-client/client

Licence
MIT
Version
0.4.4
Deps
6
Size
35 kB
Vulns
1
Weekly
0

gaia-gps-client

An unofficial NodeJS client for Gaia GPS, written in TypeScript. Allows for basic interaction with the Gaia GPS API.

Installation

npm install @gaia-gps-client/client

Basic Usage

import { GaiaGpsClient } from "@gaia-gps-client/client";

const client = new GaiaGpsClient();

// If you want to access private data, be sure to add a session ID as follows:
// client.setSessionId("SESSION_ID_HERE");

(async function() { 
	const trackData = await client.getTrack("TRACK_ID_HERE");
	// ...
})();

Keywords