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: date | None | str
Start date of the data, in YYYY-MM-DD format. The default is 2 weeks ago.

end_date: date | None | str
End date of the data, in YYYY-MM-DD format. The default is today.

limit: int | None
The number of data entries to return. The number of articles to return.

Data

date: datetime | str
The date of the data. The date of publication.

title: str
Title of the article.

author: str | None
Author of the article.

excerpt: str | None
Excerpt of the article text.

body: str | None
Body of the article text.

images: Any | None
Images associated with the article.

url: str | None
URL to the article.