List lobbyist gifts
Gifts and hosting lobbyists reported giving alderpersons.
GET https://www.chicagopolitics.org/api/v1/lobbying/gifts
Authorizations
| Header | Value |
|---|---|
Authorization | Bearer <key>. Get a key; see authentication. |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
member | integer | Member id. | |
limit | integer | Default 50. | |
cursor | string | From meta.nextCursor of the previous page. |
Response
200 Gifts: a list in data, with meta and links (see pagination).
| Field | Type | Description |
|---|---|---|
id | string | |
kind | string | |
periodEnd | string (date) | |
description | string | null | |
value | number | null | |
lobbyist | string | null | |
client | string | null | |
member | object |
Example request
curl "https://www.chicagopolitics.org/api/v1/lobbying/gifts" \
-H "Authorization: Bearer $CHICAGO_POLITICS_KEY"
Errors: 400, 401, 429 (see errors).