Skip to main content
Version: v5

laws

Get and filter lists of enacted Congressional Laws (public or private).

Examples​

from openbb import obb
obb.uscongress.laws(provider='congress_gov')
# Get the 5 most recent public laws of the 118th Congress.
obb.uscongress.laws(congress=118, law_type='public', limit=5, provider='congress_gov')

Parameters​


Returns​

results: CongressLaws

Serializable results.

provider: str | None

Provider name.

warnings: Optional[list[Warning_]]

List of warnings.

chart: Optional[Chart]

Chart object.

extra: dict[str, Any]

Extra info.


Data​