List members
List members. Current members by default, one per ward.
GET https://www.chicagopolitics.org/api/v1/members
Authorizations
| Header | Value |
|---|---|
Authorization | Bearer <key>. Get a key; see authentication. |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
status | string | One of: current, former, all. Default current. | |
committee | string | Only members of this committee (slug). |
Response
200 Members: a list in data, with meta and links (see pagination).
| Field | Type | Description |
|---|---|---|
id | integer | |
name | string | |
ward | integer | |
status | string | |
links | object | |
photo | string | null | |
email | string | null | |
attendancePct | number | null | |
withMajorityPct | number | null | |
legislationFiled | integer | null |
Example request
curl "https://www.chicagopolitics.org/api/v1/members" \
-H "Authorization: Bearer $CHICAGO_POLITICS_KEY"
Errors: 400, 401, 429 (see errors).