Legistar
Legistar Matter History API
Get the full legislative action trail for a piece of legislation: committee referrals, votes, council passage, mayoral signature. Costs 1 credit per request. Requires Bootstrap plan or above.
POST/api/v1/legistar/matter/history
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonclientstringrequiredMunicipality identifier (e.g. 'seattle', 'nyc', 'chicago').
Example: seattle
matter_idnumberrequiredMatter ID from the matters endpoint.
Example: 1785
limitnumberResults per page, 1-100. Default 20.
offsetnumberNumber of results to skip for pagination.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
result = client.legistar.matter_history(client="seattle", matter_id=1785)
for action in result["data"]["results"]:
print(action["actionDate"], action["actionName"], "-", action["actionBodyName"])Response
"count": 2
},
"response_time": 612,
"credits_used": 1,
"credits_remaining": 4995
}