Live data from Hacker News

Ask HN: What APIs do you wish existed?

news.ycombinator.com

21–30 of 165 posts

Re: Ask HN: What APIs do you wish existed?

#23
post #13
post #10

A reverse lookup for finding all the shortened URLs associated with a given canonical URL.

Interesting... what would be the application of this? Any ideas you can share?

Lots of possibilities, but think backtweets.com as an example of something which would be much easier to accomplish if such an API existed.

Re: Ask HN: What APIs do you wish existed?

#28
post #18

Subway. On the stations here they have displays, that show in how many minutes the next train will arrive (which is real-time data). Would be cool if they broadcast this information on the net, you could see if you need to hurry to the station or not.

I doubt there's an API, but you can see departure boards for most (London) tube stations online: http://www.tfl.gov.uk/tfl/livetravelnews/departureboards/tub...

They're actually more detailed than the boards in the stations as they show current train locations.

Re: Ask HN: What APIs do you wish existed?

#29
post #21

mlb game data, within 24 hours of each game

i wrote a parser for NBA games, get the data straight from yahoo. Using Python and BeautifulSoup, piece of cake. I would think MLB could work the same.

Yeah, HTML scraping ESPN.com is not very hard. I did it for college basketball once in a strange sort of database that attempted to predict March Madness brackets. It worked really well for teams that had encountered each other during the season... except only 2 or 3 pairs of teams had ever played each other during the regular season. Works much better on NBA and NFL games, where there are far fewer teams, they see each other more often, and the rosters are a little more static.
Post reply on HN