an api for your api
RTA transit data from next bus, for those who don't care for XML.
npm install rta
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 your into that. Also included is 'server.js' which can be run with
node server.js and is a simple api endpoint setup with CORS and JSONP enabled.