node-cityscoot-lite

1.0.1 • Public • Published

node-cityscoot-lite

Lite version of node-cityscoot

Usage

const Cityscoot = require('node-cityscoot-lite');
const city = new Cityscoot();

For a cool example, see example/index.js

Get Scooters

await city.getScooters(cityId);
// Paris: 4
// Nice: 6
// Milan: 9
// Rome: 10

Get Scooter by code

await city.getScooter(cityId, scooterName);
// cityId: 4
// scooterName: 5193

Get zon es

await city.getZones();

Readme

Keywords

none

Package Sidebar

Install

npm i node-cityscoot-lite

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

4.88 kB

Total Files

5

Last publish

Collaborators

  • jzarca01