#client #hacker-news #api-client #api-bindings #hn #ycombinator

hn_api

A simple Hacker News API (v0) client library based on reqwest and serde

1 unstable release

0.1.0 Jan 1, 2019

#5 in #hackernews


Used in trustfall

MIT/Apache

18KB
251 lines

hn_api

CircleCI Rust

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

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