3 ms·
So, does it mean I can get the top stories, and then get a top story item with all the comment expanded ? I mean, at first it look like it just send me the id a
by dimillian 12y ago
So, does it mean I can get the top stories, and then get a top story item with all the comment expanded ? I mean, at first it look like it just send me the id and I need to fetch the detail for each of them. Again, this is just looking at the REST API, not the iOS SDK for example.
I'll need to "convert" SwiftHN (https://github.com/Dimillian/SwiftHN https://github.com/Dimillian/SwiftHN) either to this new API or adapt my scrapping engine to the new site layout.
- matznerd 12y agoPlease do convert it, I am working on a project with some of your code as a base!
- dimillian 12y agoYou're using the app, or the scrapping engine (Hacker Swifter)? The nice thing is that HackerSwifter public API is already in a quite finished state for the available functions, even if I switch to the API, the method calls will be the same.
- matznerd 12y agoI am actually using the app because I am doing a mashup of HackerNews and another piece of software. If I decide to end up changing the UI a lot (which looks like it is trending towards), I was thinking of switching to the scraping engine. It's awesome that I won't have to change a lot if you do switch to the API. I'm following on GitHub, keep up the great work!