Trait 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§