Timeline of events
Events in date order: contributions, lobbying, gifts, legislation introduced, divided votes, roll calls. Filter by at least one of member, matter, entity, kind, or a date range. Newest first.
GET https://www.chicagopolitics.org/api/v1/timeline
Authorizations
| Header | Value |
|---|---|
Authorization | Bearer <key>. Get a key; see authentication. |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
member | integer | Member id. | |
matter | string | Matter id. | |
entity | string | Entity id (as actor or target). | |
kind | string | Comma-separated: contribution, lobbyist_contribution, gift, lobbying, lobbied_on, introduced, vote_yes, vote_no, roll_call. | |
from | string (date) | ||
to | string (date) | ||
limit | integer | Default 50. | |
cursor | string | From meta.nextCursor of the previous page. |
Response
200 Events
Example request
curl "https://www.chicagopolitics.org/api/v1/timeline" \
-H "Authorization: Bearer $CHICAGO_POLITICS_KEY"
Errors: 400, 401, 404, 429 (see errors).