amendment_info
Get details for a specific amendment.
Enter the amendment identifier as: {congress}/{type}/{number} (e.g., '119/hamdt/2').
In OpenBB Workspace, this command returns as a Markdown widget.
Examples
from openbb import obb
obb.uscongress.amendment_info(amendment_url='119/hamdt/2')
Parameters
- standard
- congress_gov
amendment_url: str
Enter a base URL of an amendment (e.g., 'https://api.congress.gov/v3/amendment/119/hamdt/2?format=json'). Alternatively, you can enter a shorthand (e.g., '119/hamdt/2').
Returns
results: CongressAmendmentInfo
Serializable results.
provider: Optional[Literal['congress_gov']]
Provider name.
warnings: Optional[list[Warning_]]
list of warnings.
chart: Optional[Chart]
Chart object.
extra: dict[str, Any]
Extra info.
Data
- standard
- congress_gov
markdown_content: str
Aggregated metadata for the amendment in Markdown format.
raw_data: dict[str, Any]
Raw JSON data from the collected amendment information.