Legistar
Legistar Matter Sponsors API
Get sponsors of a specific piece of legislation. Costs 1 credit per request. Requires Bootstrap plan or above.
POST/api/v1/legistar/matter/sponsors
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
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
result = client.legistar.matter_sponsors(client="seattle", matter_id=1785)
for sponsor in result["data"]["results"]:
print(sponsor["name"])Response
"count": 1
},
"response_time": 287,
"credits_used": 1,
"credits_remaining": 4994
}