RTA API API
RTA transit data from next bus, for those who don't care for XML.
Install with:
npm install rta
commands
var RTA = ;var rta = agency tag seconds to ;rta; ->geojson from the bus GPSrta; ->predictions for a stoprta; ->list of route IDsrta; ->information about a routerta; -> schedule of the route
It returns a promise so you can omit the callback if you're into that.
Not affiliated with the Next bus or any transit company. Inspired by Tom MacWright's wmataapiapi.