Skip to content

Commit

Permalink
feat(civicinfo): update the api
Browse files Browse the repository at this point in the history
#### civicinfo:v2

The following keys were deleted:
- schemas.Contest.properties.primaryParty.type (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Apr 4, 2023
1 parent 4b19feb commit cb3c078
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion docs/dyn/civicinfo_v2.elections.html
Expand Up @@ -170,7 +170,6 @@ <h3>Method Details</h3>
&quot;primaryParties&quot;: [ # If this is a partisan election, the name of the party/parties it is for.
&quot;A String&quot;,
],
&quot;primaryParty&quot;: &quot;A String&quot;, # [DEPRECATED] If this is a partisan election, the name of the party it is for. This field as deprecated in favor of the array &quot;primaryParties&quot;, as contests may contain more than one party.
&quot;referendumBallotResponses&quot;: [ # The set of ballot responses for the referendum. A ballot response represents a line on the ballot. Common examples might include &quot;yes&quot; or &quot;no&quot; for referenda. This field is only populated for contests of type &#x27;Referendum&#x27;.
&quot;A String&quot;,
],
Expand Down
6 changes: 1 addition & 5 deletions googleapiclient/discovery_cache/documents/civicinfo.v2.json
Expand Up @@ -352,7 +352,7 @@
}
}
},
"revision": "20230321",
"revision": "20230328",
"rootUrl": "https://civicinfo.googleapis.com/",
"schemas": {
"AdministrationRegion": {
Expand Down Expand Up @@ -590,10 +590,6 @@
},
"type": "array"
},
"primaryParty": {
"description": "[DEPRECATED] If this is a partisan election, the name of the party it is for. This field as deprecated in favor of the array \"primaryParties\", as contests may contain more than one party.",
"type": "string"
},
"referendumBallotResponses": {
"description": "The set of ballot responses for the referendum. A ballot response represents a line on the ballot. Common examples might include \"yes\" or \"no\" for referenda. This field is only populated for contests of type 'Referendum'.",
"items": {
Expand Down

0 comments on commit cb3c078

Please sign in to comment.