bart-api
THIS IS A SYSTEM-WIDE BART ADVISORY. ALL ELEVATORS ARE WORKING. THAT IS ALL.
Install:
npm install bart-api
Start it up:
var Bart = ; // You can get yourself one of these at http://api.bart.gov/api/register.aspxvar key = key; var bart = key;
Make an API request, receive xml
// Get arrival schedule information bartsched;
More Reading:
- API docs: http://api.bart.gov/docs/overview/index.aspx
- libxmljs docs: https://github.com/polotek/libxmljs/wiki
License:
MIT/X11.