an api for your api
RTA transit data from next bus, for those who don't care for XML.
npm install rta
var RTA = require'rta';var rta = agency tag seconds to cachedefault is 10;rtalocationsroutesincecb;->geojson from the bus GPSrtastopstopcb;->predictions for a stoprtalistcb;->list of route IDsrtarouteroutecb;->information about a routertascheduleroutecb;-> schedule of the route
It returns a promise so you can omit the callback if you're into that.