BMTC Node JS Module
Bangalore Metropolitan Transport Corporation BMTC recently released its Intelligent Transport System (ITS) , But as of now there is no public api available . This is an reverse engineering approach to solve the issue
GitHub Repo : https://github.com/vineeshnp/bmtc-js-api
API Reference : https://github.com/tachyons/bmtc-api
Installation
Add this line to your application's Gemfile:
npm install bmtc-js-api
And then include this in your project:
var bmtc = ;
Usage
Search for bustop
bmtc; eg:bmtc;
Nearest BusStop
bmtc; eg:bmtc;
Buses in a stop
bmtc; eg:bmtc;
Get brief details of a bus routes
bmtc; egbmtc;
Get complete details of a bus routes
bmtc;egbmtc;
Get Trip fare
bmtc;egbmtc;
Service types can be either
- oridninary
- vajra
- vayu_vajra
- atal_sarige
- nice_service
- bengaluru_darshini
Development
You can use this module on your nodeJS
projects as well as other JS projects like ionic
,angular
,angular2
etc...
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/vineeshnp/bmtc-js-api.
Reference
https://github.com/tachyons/bmtc-api https://github.com/tvsijin/bmtc-api-php
License
The module is available as open source under the terms of the MIT License.