★ Karan Goel ☂

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

Add a comment

Replies

Best
★ 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...
Jack Smith
cool stuff. what can you imagine as some of the main use-cases?
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)
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) :)
Özgür Alaz
I want hackmatch.com style UI :)
Jack Smith
@TosinAF got it; makes sense now. the demo makes it more clear
★ Karan Goel ☂
@_jacksmith: New UI's for PH, or some statistics? Possibilities are endless. @TosinAF Nice. That was fast.
Geoffrey Weg
@yvoschaap would like this.
★ Karan Goel ☂
UPDATE: The API can now return comments for any product. Here's an example: http://hook-api.herokuapp.com/po...
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!
★ Karan Goel ☂
@arjunblj That's a nice idea. Let me know when it's done and I'll add it to repo's readme.
Brenden Mulligan
Is this @rrhoover approved?
Miles Matthias
Ruby gem plans anyone? I'd help/host on that.
Nadia Eghbal
YESSSSSS but I second @mulligan's question.
Nick Frost
@rrhoover Your thoughts on this product?
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.
★ 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).
Ryan Hoover
@karangoel YEESSS. We'll set something up. Will be fun to meet.