Almost-realtime streaming APIs for train departure statuses
Scala
Switch branches/tags
Nothing to show
Latest commit cf07be7 Apr 11, 2011 @n8han local
Permalink
Failed to load latest commit information.
project process times into long utc times Apr 10, 2011
src/main process times into long utc times Apr 10, 2011
.gitignore assembly Mar 27, 2011
README.markdown local Apr 11, 2011

README.markdown

This is a streaming server that lazily polls train status services and broadcasts updates out to any listeners. To try it, you'll need to have sbt installed. Then, form the project directory:

$ sbt update run

This will display a message if the server starts successfully. In a second terminal window:

curl -i http://127.0.0.1:7979/njt/ny

You should see NJ Transit and Amtrak departures from Penn Station, with changes (delays, boarding, etc) streamed out within ten seconds of them being posted to NJ Transit's departures page.