Skip to content
vbvyasPublic

About

BART api

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

22 Commits

Folders and files

Repository files navigation

BART NextUp API

BART NextUP API powering PebbleNextUpHack app

Screenshot

NextUp - Is a Pebble app that helps you to find transit information for stations near you.

Created for YC Hacks 2014:

API Usage

To get station information:

http://nextup-bart-hack.herokuapp.com/station/{station_code}

To get stations near GPS coordinates:

http://nextup-bart-hack.herokuapp.com/stations?lat={latitude}&lng={longitude}

Live URL examples:

To run locally:

git clone https://github.com/vbvyas/bart-api.git
cd bart-api
npm install
node app.js

About

BART api

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages