bonzoq / hniosreader

Hacker News API-Based iOS Reader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: "best" stories

apepper opened this issue · comments

First of all thank you for this wonderful hacker news client. I use it daily and enjoy it's elegance.

It would be great to have support for "best" stories, which can be accessed via https://news.ycombinator.com/best . Those stories have the highest points in the last 3 days. So it's a good place to find high quality stories.

Hi, thanks for your feedback! I'm glad you like the app and use it daily.

At the moment the official HN API does not provide the current best stories. However, there is an unofficial API that does that, so I might use that API solely for the purpose of fetching the ids of those best stories and then do the rest of the work (fetching links and comments) with the official API.

As this is a side project I cannot promise a date when that happens, but I will definetely work on the app during the upcoming holidays. Happy users are always a huge motivation so again, thanks for reaching out!

Any updates?

Sadly I decided not to use any Hacker News APIs but the official one. Once it is extended with the "best" stories, I'll add them.

@bonzoq Where can I find the official Hacker News APIs, so I can lobby for adding "best" stories?

@apepper You're welcome.

Wow, the Hacker News API team is super fast:

Turns out it was trivial to add, so we've done so. You should now be able to access the /best ids at https://hacker-news.firebaseio.com/v0/beststories.json. Let us know if you have any trouble.

@bonzoq Can you try it out?

Wow, that was really fast.

I won't take longer though.

I already pushed a commit with best stories added to the app to github. I'm going to submit it to AppStore now. The average AppStore review time is around 5 days now.

Thanks!

Awesome! Thank you.