api-lyon
v0.2.6
Published
Api for lyon open data
Downloads
26
Maintainers
Readme
Api-lyon
Documentation : https://scrunshes.gitbooks.io/api-lyon/content/
Getting started
yarn add api-lyon
Node
const ApiLyon = require('api-lyon');
const api = new ApiLyon();
api.velov.stations.get()
.then(response => {
console.info(response);
})
.catch(error => {
console.error(error);
});
Typescript
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);
});