From cb3c07863ee5885f951704d1cacacd5fb3c4efae Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 4 Apr 2023 07:08:37 +0000 Subject: [PATCH] feat(civicinfo): update the api #### civicinfo:v2 The following keys were deleted: - schemas.Contest.properties.primaryParty.type (Total Keys: 1) --- docs/dyn/civicinfo_v2.elections.html | 1 - googleapiclient/discovery_cache/documents/civicinfo.v2.json | 6 +----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/docs/dyn/civicinfo_v2.elections.html b/docs/dyn/civicinfo_v2.elections.html index b516f13d815..e92be2aa061 100644 --- a/docs/dyn/civicinfo_v2.elections.html +++ b/docs/dyn/civicinfo_v2.elections.html @@ -170,7 +170,6 @@

Method Details

"primaryParties": [ # If this is a partisan election, the name of the party/parties it is for. "A String", ], - "primaryParty": "A String", # [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. "referendumBallotResponses": [ # 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'. "A String", ], diff --git a/googleapiclient/discovery_cache/documents/civicinfo.v2.json b/googleapiclient/discovery_cache/documents/civicinfo.v2.json index ecee8116e26..541a0d81095 100644 --- a/googleapiclient/discovery_cache/documents/civicinfo.v2.json +++ b/googleapiclient/discovery_cache/documents/civicinfo.v2.json @@ -352,7 +352,7 @@ } } }, - "revision": "20230321", + "revision": "20230328", "rootUrl": "https://civicinfo.googleapis.com/", "schemas": { "AdministrationRegion": { @@ -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": {