News for hackers. Stuff that matters.
Re:Ask HN: Does HN have an API and if not what's the etiquet... by komlenic on Tuesday January 25, 2011 @12:02PM (#2139785)
For what you're looking to do, once a day is plenty often enough. (How much does karma change in a day and does it matter if your site is a few points behind?)

If it were me, I'd cache the results of an api call to HN with a last-retrieved timestamp and check against that for requests > 24 hours to retrieve again.

Re:Ask HN: Does HN have an API and if not what's the etiquet... by robeastham on Tuesday January 25, 2011 @07:06PM (#2141506)
Agreed. I guess it doesn't really matter if my site is a few points behind. Timestamp strategy makes sense too. Thanks!

I like the look of http://api.ihackernews.com/ and so will poll this rather than scrape - thanks for the tip hardik988 and for all the other comments too.