api-lyon

0.2.6 • Public • Published

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);
  });
 

Package Sidebar

Install

npm i api-lyon

Weekly Downloads

3

Version

0.2.6

License

MIT

Last publish

Collaborators

  • scrunshes