Trait newsdata_io_api::apis::NewsArchive

source ·
pub trait NewsArchive {
    // Required method
    fn get_news_archive(&self, params: &GetNewsArchiveParams) -> ApiResult<Json>;
}
Expand description

Trait for the News Archive API.

Required Methods§

source

fn get_news_archive(&self, params: &GetNewsArchiveParams) -> ApiResult<Json>

Get news articles from the archive.

§Arguments
  • params: The parameters for the request.
§Returns

An ApiResult containing the JSON response from the API.

Implementors§