MCPcopy Create free account
hub / github.com/LibraryOfCongress/api.congress.gov / get_bill

Function get_bill

api_client/python/bill_example.py:35–41  ·  view source on GitHub ↗

'https://api.congress.gov/v3/bill' this API returns, list of latest bills

(client)

Source from the content-addressed store, hash-verified

33
34
35def get_bill(client):
36 """
37 'https://api.congress.gov/v3/bill'
38 this API returns, list of latest bills
39 """
40 data, status_code = client.get(BILL_PATH)
41 print("response data:", data[:70] + b"...", "status:", status_code)
42
43
44def get_bill_congress(client):

Callers 1

bill_example.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected