Skip to main content

World News


Implementation details

Class names

Model nameParameters classData class
WorldNewsWorldNewsQueryParamsWorldNewsData

Import Statement

from openbb_core.provider.standard_models.world_news import (
WorldNewsData,
WorldNewsQueryParams,
)

Parameters

NameTypeDescriptionDefaultOptional
limitintThe number of data entries to return. The number of articles to return.2500True
start_dateUnion[date, str]Start date of the data, in YYYY-MM-DD format.NoneTrue
end_dateUnion[date, str]End date of the data, in YYYY-MM-DD format.NoneTrue
providerLiteral['benzinga', 'biztoc', 'fmp', 'intrinio', 'tiingo']The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'benzinga' if there is no default."benzinga"True

Data

NameTypeDescription
datedatetimeThe date of the data. The published date of the article.
titlestrTitle of the article.
imagesList[Dict[str, str]]Images associated with the article.
textstrText/body of the article.
urlstrURL to the article.