metrotransit-nodetrip
v0.0.1
Published
Node wrapper for Twin Cities' MetroTransit NexTrip real time transit API
Downloads
8
Maintainers
Readme
MetroTransit-NodeTrip
A node module for interacting with the MetroTransit NexTrip API
Setup and Installation
$ npm install metrotransit-nodetrip --save
Getting Started
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