Skip to main content

Module news

Module news 

Source

Structs§

CategoryData
CategoryFilter
The filters for the news category.
NewsCategory
News: Categories
NewsLatestArticle
News: Latest Articles
NewsSource
News: Sources

Enums§

NewsLang
The preferred language for the sources or articles - English (EN), Espanol (ES), Turkish (TR), French (FR), Japanese (JP), Portuguese (PT).
NewsSourceID
Get articles from specific sources based on their keys. If left empty it will just return news from ACTIVE sources for the selected language, if you want to get inactive sources as well, please pass them in alongside the active ones in this array.
NewsSourceType
Specifies the type of integration used by the news source. Current allowed values are RSS, API, and TWITTER. ‘RSS’ indicates a source that distributes content via RSS feeds. ‘API’ refers to sources that provide data through a standardized programming interface. ‘TWITTER’ represents sources that disseminate information directly through Twitter. This parameter helps in selecting the method through which news content is retrieved.
NewsStatus
List of statuses used to filter articles based on their source integration state. Current allowed values are: ACTIVE, INACTIVE. An ACTIVE status indicates that the source’s integration, such as an RSS feed, is currently operational and actively providing data. An INACTIVE status is assigned to sources that have either blocked access, disabled their integration mechanisms, or ceased operations. More statuses may be added in the future as source integration scenarios evolve.