by sigil · 15y ago · 0 comments
Yeesh. I know this is Hacker News and we all appreciate a good hack, but what are the chances of having a real api for this type of thing? For instance, is there a way to programmatically get the list of all articles I've ever upvoted (the "Saved" page)? Or to put "You like this" alongside the HN like button if you've already upvoted it?
Here is the link to HN search API: http://www.hnsearch.com/api
I always thought part of the fun was having to hack together an ad hoc script to grab the data you wanted. That's the "hacker" way, isn't it? ;)
Edit: Nevermind, you're referring to scraping only working in scenarios where you're the one doing the scraping -- not some external service. In that case, an API would be useful. I'm not sure about the usefulness of the apps though...