News for hackers. Stuff that matters.
Re:Ask HN: What APIs do you wish existed? by paloalto80 on Saturday November 21, 2009 @08:47PM (#955251)
I can't imagine what you would need other than HN's RSS feed. What did you have in mind that could extend Hacker News?
Re:Ask HN: What APIs do you wish existed? by biafra on Monday December 21, 2009 @11:04AM (#1007991)
Writing a Hacker News Android Client?

I think I will start without an API anyway. Most of the things I need to do should be possible with the RSS "API".

Re:Ask HN: What APIs do you wish existed? by cstejerean on Saturday November 21, 2009 @09:00PM (#955264)
comments for a given thread, score of posts and comments, and user information.
Re:Ask HN: What APIs do you wish existed? by paloalto80 on Saturday November 21, 2009 @09:12PM (#955283)
Can't you do that already with a simple scrape?
Re:Ask HN: What APIs do you wish existed? by po on Saturday November 21, 2009 @09:24PM (#955293)
scrape != API
Re:Ask HN: What APIs do you wish existed? by paloalto80 on Saturday November 21, 2009 @09:29PM (#955297)
"scrape != API"

No kidding. He's looking to get "comments for a given thread, score of posts and comments, and user information", which you can use an HTML parser (like Hpricot if you're using Rails) to retrieve any info you need.

Re:Ask HN: What APIs do you wish existed? by paloalto80 on Saturday November 21, 2009 @09:50PM (#955318)
Care to explain why I'm being downvoted?

EDIT: If you're going to downvote, please leave an explanation to teach me what I'm missing. I'd sincerely appreciate that. Thank you.

Re:Ask HN: What APIs do you wish existed? by jodrellblank on Sunday November 22, 2009 @12:29AM (#955437)
to teach me what I'm missing

You're being annoying. Nobody wants to screenscrape, it's awkward and fiddly and fragile and verbose and requires reverse engineering and is wasteful of bandwidth.

It really doesn't matter if you can get the information by screenscraping. The thread topic is "what would you like an API for?", not "scorn people about what they want an API for."

Care to explain why I'm being downvoted?

Because I want less of this sort of thing on HN. I want it to fall to the bottom of the page, and to discourage it in future. I cannot articulate precisely what it is that I want less of, it's a big vague fuzzy blob of things, some of which I even agree with, and your few posts here and above here are within it, so down they go.

Re:Ask HN: What APIs do you wish existed? by edd on Sunday November 22, 2009 @10:52AM (#955816)
Notification of replies to comments you make.