Setup
Put them in your environment or
.env; Data APIs covers the other ways.
Notes
- Every path starts with the client name, the jurisdiction’s Legistar site name (e.g. seattle, chicago, nyc); an unauthorized answer means that client requires a token.
- Lists return at most 1000 items. Page and filter with OData v3 query options: $top, $skip, $filter, $orderby (e.g. $filter=EventDate ge datetime’2014-09-01’).
- Only items marked public on the client’s site are returned. For a busy client, ordering by id and filtering on id gt the last seen id is more stable than $skip paging.
- Field names are the API’s, not the client’s customized labels.
Endpoints
List matters (legislation)
Get a matter
List a matter’s history
- To see the roll call of a vote, take the history’s event item id and call event_items.votes.