HACKER Q&A
📣 ohjeez

How do I find my most popular HN posts?


On reddit, I can see my most upvoted posts, e.g. https://www.reddit.com/user/[yournamehere]/?sort=top and limit it by time period.

Is there a way to do that here?


  👤 CrypticShift Accepted Answer ✓

👤 PaulHoule
Get your submissions from this API

https://hacker-news.firebaseio.com/v0/user/ohjeez.json?print...

and then scan the "submitted" articles as described here

https://github.com/HackerNews/API

I have a crawler that sucks down all the posts from HN and then I read it into Pandas and write all sorts of queries. (It would be fair to use SQL or some other query language too.) The boggle I have now is that I want to use the same system to (1) make sure YOShInOn never submits duplicate articles, and (2) have accurate vote and comment scores. (1) requires picking up articles as soon as possible, (2) requires waiting two weeks or so until the scores have settled down to what they are going to be. I guess I gotta come back and rescan things in 2 weeks so I have the right scores.