blueintegral / WaitOrWalk

The information you really want when waiting at the bus stop: is it quicker to wait or to walk? Only works for Georgia Tech right now.
9 stars 3 forks source link

GT Mob Bus API #15

Closed Tanner closed 11 years ago

Tanner commented 11 years ago

Not sure if this was discussed/thought about, but someone posted on the reddit thread about this that GT Mob has a NextBus API.

I can't find any more information on the API like how often it is updated or what the terms are on use.

I'm throwing it out there for discussion. It could prove more useful than scraping the page or it might not.

blueintegral commented 11 years ago

Yeah I saw that, although personally I'm in favor of not having to rely on another layer between the application and NextBus, since it seems like that's an extra failure point. I think NextBus will provide the public XML API if the customer (Georgia Tech in this case) opts in for it. It might be worth it to try to contact someone at GT Transportation to see if they'll enable the public API. Then again, it could very well be a bureaucratic nightmare.

darkzeroman commented 11 years ago

I decided to use my own API because I had mostly finished mine when I learned about GT Mob. And I didn't see any thing in GT Mob's API that mine didn't have.

If in the future we get in trouble with scraping because of too many requests, we can fall back to GT Mob.