Documentation : https://scrunshes.gitbooks.io/api-lyon/content/
yarn add api-lyon
const ApiLyon = require('api-lyon');
const api = new ApiLyon();
api.velov.stations.get()
.then(response => {
console.info(response);
})
.catch(error => {
console.error(error);
});
import * as ApiLyon from 'api-lyon';
const api = new ApiLyon();
api.velov.status.get('wfs')
.then(response => {
console.info(response);
})
.catch(error => {
console.error(error);
});