goeuro-api
v0.1.0
Published
A Node.js wrapper for the GoEuro API
Downloads
6
Readme
GoEuro API
GoEuro API for Node.js.
Installation
npm install goeuro-api --save
How to use
import GoEuroAPI from 'goeuro-api';
const GoEuroClient = new GoEuroAPI();
GoEuroClient.search(params)
.then((response) => {
console.log(response.queryId);
console.log(response.parts);
})
.catch((error) => console.log(error));