A node module for interacting with the MetroTransit NexTrip API
$ npm install metrotransit-nodetrip --save
const MTNT = require("./metrotransit-nodetrip");
const API = new MTNT();
// Get all providers
API.getProviders()
.then(providers => {
console.log(providers)
})
.catch(error => {
console.log(error)
});
More examples here