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

start_date: Union[date, str]

Start date of the data, in YYYY-MM-DD format. The default is 2 weeks ago.

Optional: True


end_date: Union[date, str]

End date of the data, in YYYY-MM-DD format. The default is today.

Optional: True


limit: Annotated[int, Ge(ge=0)]

The number of data entries to return. The number of articles to return.

Optional: True

Data

date: Union[datetime, str]

The date of the data. The date of publication.

title: str

Title of the article.

author: str

Author of the article.

excerpt: str

Excerpt of the article text.

body: str

Body of the article text.

images: Any

Images associated with the article.

url: str

URL to the article.