Ers Publication Download
Implementation details
Class names
| Model name | Parameters class | Data class |
|---|---|---|
ErsPublicationDownload | ErsPublicationDownloadQueryParams | ErsPublicationDownloadData |
Import Statement
from openbb_core.provider.standard_models. import (
ErsPublicationDownloadData,
ErsPublicationDownloadQueryParams,
)
Parameters
- standard
- usda
urls: dict[str, list[str]] | list[str] | str | list[dict[str, list[str]] | list[str] | str]
Publication page URLs to download, as returned by the ers_publications endpoint. Each page is resolved to its Full Report PDF. Multiple items allowed.
Data
- standard
- usda
error_type: str | None
Error type, if the report could not be downloaded.
content: str
Base64-encoded PDF document.
filename: str | None
The filename of the downloaded PDF.
data_format: dict[str, str] | None
Data format information, including data type and filename.