Congress Search
Implementation details
Class names
| Model name | Parameters class | Data class |
|---|---|---|
CongressSearch | CongressSearchQueryParams | CongressSearchData |
Import Statement
from openbb_core.provider.standard_models. import (
CongressSearchData,
CongressSearchQueryParams,
)
Parameters
- standard
- congress_gov
query: str
The full-text search query.
collection: str | None
Restrict to a single GovInfo collection. When None, searches all congressional collections.
congress: int | None
Restrict results to a specific Congress number.
start_date: date | None | str
Start date of the data, in YYYY-MM-DD format. Filters by publish date.
end_date: date | None | str
End date of the data, in YYYY-MM-DD format. Filters by publish date.
limit: int | None
The number of data entries to return. When None, defaults to 20.
offset: int | None
The starting record returned. 0 is the first record.
Data
- standard
- congress_gov
package_id: str
The GovInfo package identifier.
date: date | None | str
The document publish date.
collection: str
The GovInfo collection code.
congress: int | None
The congress session number.
citation: str | None
The document citation.
title: str
The document title.
doc_url: str
Direct URL to the document PDF.