newsapi-rs 0.1.0

A Rust client for the NewsAPI service
Documentation
1
2
3
4
5
6
pub const NEWS_API_KEY_ENV: &str = "NEWS_API_KEY";
pub const NEWS_API_CLIENT_USER_AGENT: &str = "newsapi-rs/0.1.0";
pub const NEWS_API_URI: &str = "https://newsapi.org/";
pub const TOP_HEADLINES_ENDPOINT: &str = "/v2/top-headlines";
pub const EVERYTHING_ENDPOINT: &str = "/v2/everything";
pub const SOURCES_ENDPOINT: &str = "/v2/top-headlines/sources";