HTTP request
GET https://api.wevoteusa.org/apis/v1/positionsCountForAllBallotItems (Jump to "Try It Now")
Required Parameters
Parameter name | Value | Description |
voter_device_id | string | An 88 character unique identifier linked to a voter record on the server |
api_key | string (from post, cookie, or get (in that order)) | The unique key provided to any organization using the WeVoteServer APIs |
Optional Parameters
Parameter name | Value | Description |
google_civic_election_id | integer | The unique identifier for a particular election. If not provided, return all positions for this voter. |
Response
{ "success": boolean, "status": string, "google_civic_election_id: integer, "ballot_item_list": list [ "ballot_item_we_vote_id": string, "support_count": integer, "oppose_count": integer, "support_we_vote_id_list": list [ "organization or friend we_vote_id": string, ], "support_name_list": list [ "Speaker Display Name": string, ], "oppose_we_vote_list": list [ "organization or friend we_vote_id": string, ], "oppose_name_list": list [ "Speaker Display Name": string, ], ], }
Try It Now: API Variables
Retrieve all positions held by this voter in one list.