an api for your api
MBTA data, for those who don't care for XML. Test version running at
npm install mbta
mbtalocationsroutesincecb;->geojson from the bus GPSmbtasubwaylinecb;->returns the MBTA jsonmbtastopstopcb;->predictions for a stopmbtalistcb;->list of route IDsmbtarouteroutecb;->information about a routembtascheduleroutecb;-> 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.