You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pre>Looks up information relevant to a voter based on the voter's registered address.
122
123
123
124
Args:
124
125
address: string, The registered address of the voter to look up. (required)
125
126
electionId: string, The unique ID of the election to look up. A list of election IDs can be obtained at https://www.googleapis.com/civicinfo/{version}/elections. If no election ID is specified in the query and there is more than one election with data for the given voter, the additional elections are provided in the otherElections response field.
126
127
officialOnly: boolean, If set to true, only data from official state sources will be returned.
128
+
productionDataOnly: boolean, Whether to include data that has not been vetted yet. Should only be made available to internal IPs or trusted partners. This is a non-discoverable parameter in the One Platform API config.
127
129
returnAllAvailableData: boolean, If set to true, the query will return the success code and include any partial information when it is unable to determine a matching address or unable to determine the election for electionId=0 queries.
128
130
x__xgafv: string, V1 error format.
129
131
Allowed values
@@ -304,7 +306,7 @@ <h3>Method Details</h3>
304
306
},
305
307
],
306
308
"precinctId": "A String",
307
-
"precincts": [ # The precincts that match this voter's address. Will only be returned for project IDs which have been whitelisted as "partner projects".
309
+
"precincts": [ # The precincts that match this voter's address. Will only be returned for project IDs which have been allowlisted as "partner projects".
308
310
{
309
311
"administrationRegionId": "A String", # ID of the AdministrationRegion message for this precinct. Corresponds to LocalityId xml tag.
310
312
"contestId": [ # ID(s) of the Contest message(s) for this precinct.
Copy file name to clipboardExpand all lines: googleapiclient/discovery_cache/documents/civicinfo.v2.json
+16-3Lines changed: 16 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -125,7 +125,14 @@
125
125
"httpMethod": "GET",
126
126
"id": "civicinfo.elections.electionQuery",
127
127
"parameterOrder": [],
128
-
"parameters": {},
128
+
"parameters": {
129
+
"productionDataOnly": {
130
+
"default": "true",
131
+
"description": "Whether to include data that has not been allowlisted yet",
132
+
"location": "query",
133
+
"type": "boolean"
134
+
}
135
+
},
129
136
"path": "civicinfo/v2/elections",
130
137
"response": {
131
138
"$ref": "ElectionsQueryResponse"
@@ -159,6 +166,12 @@
159
166
"location": "query",
160
167
"type": "boolean"
161
168
},
169
+
"productionDataOnly": {
170
+
"default": "true",
171
+
"description": "Whether to include data that has not been vetted yet. Should only be made available to internal IPs or trusted partners. This is a non-discoverable parameter in the One Platform API config.",
172
+
"location": "query",
173
+
"type": "boolean"
174
+
},
162
175
"returnAllAvailableData": {
163
176
"default": "false",
164
177
"description": "If set to true, the query will return the success code and include any partial information when it is unable to determine a matching address or unable to determine the election for electionId=0 queries.",
"description": "The precincts that match this voter's address. Will only be returned for project IDs which have been whitelisted as \"partner projects\".",
1357
+
"description": "The precincts that match this voter's address. Will only be returned for project IDs which have been allowlisted as \"partner projects\".",
0 commit comments