kerrygilbert / node-septa

A nodejs module that simplifies SEPTA's real-time data API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-septa

A nodejs module that simplifies SEPTA's real-time data API. Uses data from http://www3.septa.org/hackathon.

find it on on NPM:

https://npmjs.org/package/node-septa

Installation

$ npm install node-septa

Usage

var septa = require('node-septa')();

var myBusRoute = 57;
septa.getBus(myBusRoute, function(data){
  //outputs a whole blob of json courtesy of SEPTA
  console.log(data);
});

About

A nodejs module that simplifies SEPTA's real-time data API.


Languages

Language:JavaScript 100.0%