0.0.2 • Published 11 months ago

@buslix/tomtom-sdk v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

TomTom API Wrapper

A lightweight TypeScript wrapper around the TomTom REST APIs.
This library aims to simplify route calculations and other location-based functionalities, with more extensive documentation and features to come in future releases.

Installation

npm install @buslix/tomtom-sdk

Usage

import { TomTom } from '@buslix/tomtom-sdk';

const service = new TomTom('YOUR_API_KEY');

// Example: Calculate a route or use other features
const route = await service.calculateRoute({
  from: { lat: 52.376372, lng: 4.908066 },
  to: { lat: 52.39081, lng: 4.88802 },
});

Documentation

For full reference and advanced usage, visit the official TomTom Developer Portal. As this library evolves, it will incorporate more endpoints and functionality to mirror the full capabilities of TomTom’s documentation.

0.0.2

11 months ago

0.0.1

11 months ago