nodejs module for accessing the AATA MicroAPI.
Install
npm install --save aata
Usage
Please accept AATA terms of use
var AATA = ; var aata = ; // Thin wrapper on top of existing AATA MicroAPI: http://www.theride.org/AboutUs/Developer-Resources/Developer-Files// Note: All methods accept a route id, which as expected, will return data for only that route. // Get schedule documentsaata ; // Get all stops in the systemaata ; // Get timepoints for stops in the systemaata ; // Get names and IDs for all AATA routesaata ; // Get names and IDs for all AATA routesaata ; // You can use callbacks rather than promises too.aata;
Test
npm test