hnapi, a crate to query stories from HackerNews.
For now, it supports two operations:
- list stories using
stories_list - get details and comments for a story using
story_details
Refer to their respective documentations to see usage examples.
Note: information is obtained by scraping the HackerNews website. The reason this crate does not use the official API is that it does not provide a convenient way to get all the comments for a given story.
License
MIT, see LICENSE.