Legistar
Legistar Matter Attachments API
Get documents attached to a specific piece of legislation. Costs 1 credit per request. Requires Bootstrap plan or above.
POST/api/v1/legistar/matter/attachments
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: 2851
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
result = client.legistar.matter_attachments(client="seattle", matter_id=2851)
for att in result["data"]["results"]:
print(att["name"], att["hyperlink"])Response
"count": 1
},
"response_time": 523,
"credits_used": 1,
"credits_remaining": 4995
}