| Crates.io | hnapi |
| lib.rs | hnapi |
| version | 0.3.0 |
| created_at | 2021-11-23 22:27:15.74758+00 |
| updated_at | 2021-12-03 02:57:36.999289+00 |
| description | A library to query HackerNews. |
| homepage | https://github.com/scastiel/hn |
| repository | https://github.com/scastiel/hn |
| max_upload_size | |
| id | 486563 |
| size | 23,465 |
hnapi, a crate to query stories from HackerNews.For now, it supports the following operations:
stories_liststory_detailsuser_detailsloginupvote_storyRefer 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, and only allows read operations.
MIT, see LICENSE.