Crate hnews

Source
Expand description

ci-badge docs-badge crate-version

hnews is a synchronous Rust library for the Hacker News API.

It is extremely lightweight (thanks to ureq and miniserde) but still provides enough basics to get you started processing data.

Re-exports§

pub use ask::Ask;
pub use client::Client;
pub use comment::Comment;
pub use error::HError;
pub use job::Job;
pub use poll::Poll;
pub use poll::PollOption;
pub use story::Story;
pub use user::User;

Modules§

ask
Ask struct and associated methods.
client
Static http client for requests.
comment
Comment struct and associated methods.
error
Error struct representing possible failures.
job
Job struct and associated methods.
poll
Poll struct and associated methods.
prelude
Useful re-exports for this crate.
story
Story struct and associated methods.
user
User struct and associated methods.