This is the JavaScript client for accessing the Syncromatics Track API.
npm install syncromatics-track-api
import Track from 'syncromatics-track-api';
const api = new Track();
api.logIn({ apiKey: 'my API key' });
api.customer('SYNC').vehicles()
.withQuery('012345')
.getPage()
.then(vehicles => /* work with vehicles */);
You can also log in with a username and password or a previously-generated JWT token. See the logIn documentation for details.
Generated documentation is available on the project page. You can also find example usages in the src/examples directory.
Versioning: npm version [0.0.xx-development]
Publishing: npm publish
Please see CONTRIBUTING for our guide to contributing and code of conduct.