Skip to content

Commit aee0987

Browse files
feat(civicinfo): update the api
#### civicinfo:v2 The following keys were deleted: - resources.elections.methods.voterInfoQuery.parameters.address.required (Total Keys: 1) The following keys were changed: - resources.elections.methods.voterInfoQuery.parameterOrder (Total Keys: 1)
1 parent 5f8b3ec commit aee0987

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

docs/dyn/civicinfo_v2.elections.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ <h2>Instance Methods</h2>
8181
<code><a href="#electionQuery">electionQuery(productionDataOnly=None, x__xgafv=None)</a></code></p>
8282
<p class="firstline">List of available elections to query.</p>
8383
<p class="toc_element">
84-
<code><a href="#voterInfoQuery">voterInfoQuery(address, electionId=None, officialOnly=None, productionDataOnly=None, returnAllAvailableData=None, x__xgafv=None)</a></code></p>
84+
<code><a href="#voterInfoQuery">voterInfoQuery(address=None, electionId=None, officialOnly=None, productionDataOnly=None, returnAllAvailableData=None, x__xgafv=None)</a></code></p>
8585
<p class="firstline">Looks up information relevant to a voter based on the voter's registered address.</p>
8686
<h3>Method Details</h3>
8787
<div class="method">
@@ -118,11 +118,11 @@ <h3>Method Details</h3>
118118
</div>
119119

120120
<div class="method">
121-
<code class="details" id="voterInfoQuery">voterInfoQuery(address, electionId=None, officialOnly=None, productionDataOnly=None, returnAllAvailableData=None, x__xgafv=None)</code>
121+
<code class="details" id="voterInfoQuery">voterInfoQuery(address=None, electionId=None, officialOnly=None, productionDataOnly=None, returnAllAvailableData=None, x__xgafv=None)</code>
122122
<pre>Looks up information relevant to a voter based on the voter&#x27;s registered address.
123123

124124
Args:
125-
address: string, The registered address of the voter to look up. (required)
125+
address: string, The registered address of the voter to look up.
126126
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.
127127
officialOnly: boolean, If set to true, only data from official state sources will be returned.
128128
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.

googleapiclient/discovery_cache/documents/civicinfo.v2.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,14 +143,11 @@
143143
"flatPath": "civicinfo/v2/voterinfo",
144144
"httpMethod": "GET",
145145
"id": "civicinfo.elections.voterInfoQuery",
146-
"parameterOrder": [
147-
"address"
148-
],
146+
"parameterOrder": [],
149147
"parameters": {
150148
"address": {
151149
"description": "The registered address of the voter to look up.",
152150
"location": "query",
153-
"required": true,
154151
"type": "string"
155152
},
156153
"electionId": {
@@ -365,7 +362,7 @@
365362
}
366363
}
367364
},
368-
"revision": "20240604",
365+
"revision": "20240611",
369366
"rootUrl": "https://civicinfo.googleapis.com/",
370367
"schemas": {
371368
"AdministrationRegion": {

0 commit comments

Comments
 (0)