The Services library provides the necessary tools to integrate all Tomtom services with your application. We take care of all the aspects required to make the calls to the Tomtom APIs, such as the contruction of the URL, validation, and error handling. It is worth noting that by using our help, you avoid making mistakes and extra calls to the service.
We provide three different bundles of the library:
- services-web.min.js - use this file if you want to include the library directly on a web page,
it can be imported in the
<head>of your HTML document. The
ttglobal object will be created and attached to the
- services.min.js - use this file if you are using a module bundler. It conforms the
In case you use ES6 imports all you need is:
import tt from 'services.min.js'
- services-node.min.js - use this file if you want to use our services in Node.js.