Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/ef2k/buses-nyc
- Owner: ef2k
- Created: 2013-04-07T19:10:52.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-11-04T04:10:30.000Z (about 11 years ago)
- Last Synced: 2024-11-08T10:41:13.267Z (2 months ago)
- Language: JavaScript
- Size: 160 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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);
});
});
```