06 Oct
Posted by Harper as General at 01:20 AM
Tags: api, bus, chicago, hacking, transit
I have been working hard to release the work that I have been doing to expose some of the more interesting real time data about chicago transit. Currently it is very bus-centric, but that is hopefully changing.
The genesis for this API is some work I did awhile ago reverse engineering the CTA Bus Tracker mashup. I was able to expose the endpoints that powered their google maps mashup. In its original state – you can get some pretty awesome functionality and data. I am attempting to clean it up and make it more robust.
The native endpoints thus far are:
I have created a proxy for the endpoints that will do some caching and hopefully alleviate any crazy load the CTA servers would have if this API becomes popular.
I also did some work to push the UPOC alerts from the CTA riders community into a usable form. That endpoint is the first of hopefully many that can be used to grab real time information about the CTA. You can access it at:
Dan X O’Neil and myself hacked these alerts into the CTA Tweet bot that sends CTA updates via twitter. Pretty neat.
Moving forward with the API, I want to do a couple key things. The first is to return JSON instead of that terrible XML. The second is to create a couple endpoints that will help with finding the right bus at the right location. I am always looking for help with this stuff – so if you have any ideas – please let me know in the comments.
So far, there are not a whole lot of applications using this API. The only ones I have thus far are:
If you know of any others – let me know. I have a couple projects brewing myself that will hopefully add a shortcode, and a jabber bot for bus notifications and queries. Are there any things yall would like to see? I personally want a really solid native iphone app. It would be awesome to be able to have the iphone pinpoint your location and then tell you what the nearest buses are that are arriving soon. Also – replicating the bus tracker in an easier to use fashion would be excellent.
All of this API work wouldn’t have been possible without the help of Dylan Richard, Dan X O’Neil and Kevin Zolkiewicz. The CTA has also been amazingly cool with all of this – I really like those guys.
4 Responses
Kellie
October 6th, 2008 at 10:48 am
1Harper – this is just one of at least a dozen reason’s you’re a rockstar! I love this.
Andrew
October 6th, 2008 at 12:47 pm
2This is amazing. I can’t wait to start hacking this up tonight. Probably going to start with an iPhone specific website. I would love to make the native iPhone app, but don’t have an Intel Mac :(
Joe Hughes
October 9th, 2008 at 8:29 pm
3Very interesting, I bet some of the people on the Transit Developers mailing list would want to hear about this work.
barry
November 4th, 2008 at 2:56 pm
4I wrote an iPhone app against this API, it is just waiting for Apple to say OK.
Be sure and take a gander at my photos.
If you want to contact me click here to start a chat.
Status
follow me on Twitter
Pictures
Friends
Popular Tags
action awesome blogs books bush cell chicago chris colorado crobar dylan family food games google hacking harper hiromi humor india insane internet iraq job juggle juggling matiss metal movies music nokia phone php politic reed rock school search server sick Sites Technology travel video war
search
Categories
Archives
Recent Entries
Recent Comments
Most Commented
Nata2.org is © 1997-2008 Harper Reed. Theme stoled and inspired by the great BloggingPro theme by: Design Disease