sg-parking-spots
v0.1.0
Published
available parking spots in Singapore
Downloads
1
Readme
sg-parking-spots
available parking spots in Singapore
Uses the Traffic APIs from Land Transport Authority.
Install
$ npm install --save sg-parking-spots
Usage
var sgParkingSpots = require('sg-parking-spots');
sgParkingSpots(function(spots){
console.log(spots);
// => [ { name: 'Suntec City', area: 'Marina', datetime: '1436592857317', lot: '1154', coordinates: { latitude: 1.2935, logitude: 103.8572 } }, ...
});
CLI
$ npm install --global sg-parking-spots
$ sg-parking-spots --help
available parking spots in Singapore
Example
sg-parking
=> NAME LOT
313@Somerset 35
Centrepoint 129
Concorde Hotel 184
[...]
Related
License
MIT © Matias Singers