Relationship graph
The relationship graph: counts of people, organizations, and legislation by kind, relationships by type, and the most connected nodes. Nodes: member, committee, matter, donor, employer, lobbyist, client. Interactive map at /connections; the map's data is /data/graph.json.
GET https://www.chicagopolitics.org/api/v1/graph
Authorizations
| Header | Value |
|---|---|
Authorization | Bearer <key>. Get a key; see authentication. |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
kind | string | One of: member, committee, matter, donor, employer, lobbyist, client. | |
limit | integer | Default 50. |
Response
200 Graph summary
Example request
curl "https://www.chicagopolitics.org/api/v1/graph" \
-H "Authorization: Bearer $CHICAGO_POLITICS_KEY"
Errors: 400, 401, 429 (see errors).