I was really pleased to see that NextBus for Muni now has a public data
feed.
I spent last weekend making a wrapper around the NextBus data feed which
presents the same data in an alternative way.
Key features are:
* Supports JSON and JSON-P output.
* Supports KML output of stop and vehicle locations only, for Google
Earth and other compatible applications.
* Splits the data up into more endpoints containing less data each to
avoid re-transferring static data when polling dynamic data. This should
be useful to reduce overhead for mobile devices in particular.
Docs are here:
http://proximobus.appspot.com/docs.html
And I also have an example application, which is a display of real-time
predictions for Powell Station outbound arrivals in San Francisco using
the JSON-P variety of various endpoints:
http://proximobus.appspot.com/examples/arrivalsdisplay/index.html
(this station has no overnight service, so if you look at it between
~1am and 6am PST you'll probably see nothing there.)
I hope that more of the NextBus-enabled transit agencies will get
NextBus to enable their public data feed so that this API becomes more
widely useful. Right now you still need to scrape NextBus if you'd like
to get data for other agencies.
URL: /agencies/id/stops/id/predictions
Nextbus doesn't seem to have a call that returns predictions by stop, only by stop and route. But your app seems to get around that.
Is there a way for me to see what you are up to with this function?
I've been using this service for almost 5 years now, thank you for setting it up!Sometime this weekend it stopped working. Did you decide to retire it?Cheers,Jon