Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ef2k/buses-nyc

A little MTA Bus Time API wrapper.
https://github.com/ef2k/buses-nyc

Last synced: 10 days ago
JSON representation

A little MTA Bus Time API wrapper.

Awesome Lists containing this project

README

        

Buses NYC
=========

Provides Buses and Route information using the MTA Bus Time API.

Basic Usage
-----------

```js
$(function() {
var apiKey = ""; // <-- Your api key
var mta = new MtaBusTime(apiKey);

mta.getBuses('b63', '', function(buses) {
console.log(buses);
});

mta.getRoute('b63', function(route) {
console.log(route);
});
});
```