Hook - Product Hunt API
p/hook-product-hunt-api
Unofficial Product Hunt API for retrieving today's hunts
★ Karan Goel ☂

Hook - Product Hunt API — Unofficial Product Hunt API for retrieving today's hunts

Featured
27
Replies
Best
Ryan Hoover
Sorry for the delays! It's been a busy day. :) @karangoel - wow, dude. Nice work. You even made some updates since posting it earlier this morning. We've been chatting for the past few weeks about opening up an API. I'll keep everyone up to date when we have an official API ready (won't be too long). What's awesome is that this community is full of talented builders and product-minded folks. I've even thought about putting together a Product Hunt hackathon (any interest?). Please note that we're redesigning the site and adding new things so we can't guarantee Karan's API/scraper won't be affected by these changes.
Andreas Klinger
Love what you build - i build a similar scraper for my chrome extension https://chrome.google.com/websto... I used the cheerio npm for data extraction - can recommend it over jquery and similar solutions. Would there be an interest in an official PH read-only API ?
Jack Smith
@andreasklinger I think the link you gave is your admin link, not the link to the actual extension (is asking me to login etc)
Ryan Hoover
@KeeranRavee remove + local hackathon is what I was thinking. We have people all over the world so I'd like to include more people.
★ Karan Goel ☂
@_jacksmith: New UI's for PH, or some statistics? Possibilities are endless. @TosinAF Nice. That was fast.
Özgür Alaz
@rrhoover @karangoel An idea for you "Hunt of the day!" or "Clash of Hunts" The screen splits of two. In each side, there is a screenshoot (or iframe site) of random hunt. People, choose one of them. Then, a new random sets appear. At the end, the winner will be chosen by wisdom of crowds.
Özgür Alaz
@karangoel It can be ranked by success rate. And to be ranked maybe hunts needs min comparison number. so, it would be fair.
★ Karan Goel ☂
Yo guys. I have been toying with a scraper for PH for some time now, and was really motivated after seeing @TosinAF 's thread and packaged all I had in a neat API. Try it here! Currently it gets today's posts, and has a cache of 1 hour. I hope to see people make a ton of good stuff with it. :) PS: I make a lot of cool stuff, and people love it. Leave your e-mail here and stay tuned about my projects. PPS: Donations UPDATE: The API can now return comments for any product. Here's an example: http://hook-api.herokuapp.com/po...
★ Karan Goel ☂
UPDATE: The API can now return comments for any product. Here's an example: http://hook-api.herokuapp.com/po...
★ Karan Goel ☂
@rrhoover Yeah I just made some improvements today. re: hackathon. yes. totally. I'm actually flying to Bay Area for this summer so count me in. re: redesign. I'll update mine when you redesign and it's broken (unless of course PH launches a public API).
★ Karan Goel ☂
@ozguralaz That's a good idea. But I think products posted earlier in the day will have an advantage than newer ones.
Tosin Afolabi
Thanks to @karangoel 's quick work, I have a demo of the news with Product Hunt Included :) Have a look at it on app.io -> http://bit.ly/UyxKqh ; swipe left on right on the nav bar Hit me up on twitter, if you want early access to this (beta) :)
Keeran Ravee
@karangoel Awesome work! Thanks for the API @rrhoover if it's possible to take part in the hackathon remotely then count me in :)
Tosin Afolabi
YO! For anyone who would like to use this api to create an iOS/OSX app, I created an Objective-c for Hook. https://github.com/TosinAF/PHMan... Enjoy! Will update to the official API when that comes out.
Arjun Balaji
This is freaking awesome. I want to build a StumbleUpon/HackMatch style app that feeds you products based on what you up/down-vote now!
Jack Smith
cool stuff. what can you imagine as some of the main use-cases?
Nick Frost
@rrhoover Your thoughts on this product?
Brenden Mulligan
Is this @rrhoover approved?
Miles Matthias
Ruby gem plans anyone? I'd help/host on that.
Jack Smith
@TosinAF got it; makes sense now. the demo makes it more clear