/metrotransit-nodetrip

node wrapper for metro transit nextrip api

Primary LanguageJavaScriptMIT LicenseMIT

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