ntubus
NTU Bus API
Installation
$ npm install --save ntubus
Usage
var bus = ;bus;
Method
All public method returns Bluebird Promise
bus.init()
Initialize bus object
bus.getCLB()
Get Information of Campus Loop Blue
bus.getCampusLoopBlue()
Get Information of Campus Loop Blue
bus.getBlueBus()
Get Information of Campus Loop Blue
bus.getCLR()
Get Information of Campus Loop Red
bus.getCampusLoopRed()
Get Information of Campus Loop Red
bus.getRedBus()
Get Information of Campus Loop Red
bus.getCampusRider()
Get Information of Campus Rider
bus.getGreenBus()
Get Information of Campus Rider
bus.getCampusWeekendRider()
Get Information of Campus Weekend Rider
bus.getBrownBus()
Get Information of Campus Weekend Rider
Credits
All requests are made via request-promise.
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
License
MIT