Find out how many minutes until the next bus leaves your bus stop, by providing your Route Number, Direction and Stop Code.
A node.js CLI app that prompts for your route number, direction and bus stop code.
- Clone Repo.
- Install node modules
npm install
-
List out all bus stops after providing bus route number. User can then choose the stop from a list instead of having to type in the 4 character stop code. (GetStops operation - http://svc.metrotransit.org/NexTrip/Stops/{ROUTE}/{DIRECTION}).
-
Using GetVehicleLocations operation - http://svc.metrotransit.org/NexTrip/VehicleLocations/{ROUTE} Create an app that plots bus locations along a specified route. Latitude and longitude appear to refresh every 5-10 seconds.