1 unstable release
0.1.0 | Jan 1, 2019 |
---|
#5 in #hackernews
Used in trustfall
18KB
251 lines
hn_api
A simple synchronous Hacker News API (v0) client library based on reqwest and serde.
The library currently implements no caching. It simply exposes endpoints as methods.
Furthermore, there is no realtime functionality. If you need that, you should probably use a firebase client crate and subscribe to the live endpoints directly.
For an example, see examples/top.rs
.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT) at your option.
Contributing
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~19MB
~423K SLoC