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: docs/dyn/civicinfo_v2.representatives.html
-28Lines changed: 0 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -194,20 +194,6 @@ <h3>Method Details</h3>
194
194
"emails": [ # The direct email addresses for the official.
195
195
"A String",
196
196
],
197
-
"geocodingSummaries": [ # Detailed summary about the official's address's geocoding
198
-
{ # Detailed summary of the result from geocoding an address
199
-
"addressUnderstood": True or False, # Represents the best estimate of whether or not the input address was fully understood and the address is correctly componentized. Mirrors the same-name field in geostore.staging.AddressLinkupScoringProto.
200
-
"featureId": { # A globally unique identifier associated with each feature. We use 128-bit identifiers so that we have lots of bits available to distinguish between features. The feature id currently consists of a 64-bit "cell id" that **sometimes** corresponds to the approximate centroid of the feature, plus a 64-bit fingerprint of other identifying information. See more on each respective field in its comments. Feature ids are first assigned when the data is created in MapFacts. After initial creation of the feature, they are immutable. This means that the only properties that you should rely on are that they are unique, and that cell_ids often - but not always - preserve spatial locality. The degree of locality varies as the feature undergoes geometry changes, and should not in general be considered a firm guarantee of the location of any particular feature. In fact, some locationless features have randomized cell IDs! Consumers of FeatureProtos from Mapfacts are guaranteed that fprints in the id field of features will be globally unique. Using the fprint allows consumers who don't need the spatial benefit of cell ids to uniquely identify features in a 64-bit address space. This property is not guaranteed for other sources of FeatureProtos. # The ID of the FeatureProto returned by the geocoder
201
-
"cellId": "A String", # The S2CellId corresponding to the approximate location of this feature as of when it was first created. This can be of variable accuracy, ranging from the exact centroid of the feature at creation, a very large S2 Cell, or even being completely randomized for locationless features. Cell ids have the nice property that they follow a space-filling curve over the surface of the earth. (See s2cellid.h for details.) WARNING: Clients should only use cell IDs to perform spatial locality optimizations. There is no strict guarantee that the cell ID of a feature is related to the current geometry of the feature in any way.
202
-
"fprint": "A String", # A 64-bit fingerprint used to identify features. Most clients should rely on MapFacts or OneRing to choose fingerprints. If creating new fprints, the strategy should be chosen so that the chance of collision is remote or non-existent, and the distribution should be reasonably uniform. For example, if the source data assigns unique ids to features, then a fingerprint of the provider name, version, and source id is sufficient.
203
-
"temporaryData": { # This is proto2's version of MessageSet. # A place for clients to attach arbitrary data to a feature ID. Never set in MapFacts.
204
-
},
205
-
},
206
-
"featureType": "A String", # The feature type for the FeatureProto returned by the geocoder
207
-
"positionPrecisionMeters": 3.14, # Precision of the center point (lat/long) of the geocoded FeatureProto
208
-
"queryString": "A String", # The query sent to the geocoder
209
-
},
210
-
],
211
197
"name": "A String", # The official's name.
212
198
"party": "A String", # The full name of the party the official belongs to.
213
199
"phones": [ # The official's public contact phone numbers.
@@ -317,20 +303,6 @@ <h3>Method Details</h3>
317
303
"emails": [ # The direct email addresses for the official.
318
304
"A String",
319
305
],
320
-
"geocodingSummaries": [ # Detailed summary about the official's address's geocoding
321
-
{ # Detailed summary of the result from geocoding an address
322
-
"addressUnderstood": True or False, # Represents the best estimate of whether or not the input address was fully understood and the address is correctly componentized. Mirrors the same-name field in geostore.staging.AddressLinkupScoringProto.
323
-
"featureId": { # A globally unique identifier associated with each feature. We use 128-bit identifiers so that we have lots of bits available to distinguish between features. The feature id currently consists of a 64-bit "cell id" that **sometimes** corresponds to the approximate centroid of the feature, plus a 64-bit fingerprint of other identifying information. See more on each respective field in its comments. Feature ids are first assigned when the data is created in MapFacts. After initial creation of the feature, they are immutable. This means that the only properties that you should rely on are that they are unique, and that cell_ids often - but not always - preserve spatial locality. The degree of locality varies as the feature undergoes geometry changes, and should not in general be considered a firm guarantee of the location of any particular feature. In fact, some locationless features have randomized cell IDs! Consumers of FeatureProtos from Mapfacts are guaranteed that fprints in the id field of features will be globally unique. Using the fprint allows consumers who don't need the spatial benefit of cell ids to uniquely identify features in a 64-bit address space. This property is not guaranteed for other sources of FeatureProtos. # The ID of the FeatureProto returned by the geocoder
324
-
"cellId": "A String", # The S2CellId corresponding to the approximate location of this feature as of when it was first created. This can be of variable accuracy, ranging from the exact centroid of the feature at creation, a very large S2 Cell, or even being completely randomized for locationless features. Cell ids have the nice property that they follow a space-filling curve over the surface of the earth. (See s2cellid.h for details.) WARNING: Clients should only use cell IDs to perform spatial locality optimizations. There is no strict guarantee that the cell ID of a feature is related to the current geometry of the feature in any way.
325
-
"fprint": "A String", # A 64-bit fingerprint used to identify features. Most clients should rely on MapFacts or OneRing to choose fingerprints. If creating new fprints, the strategy should be chosen so that the chance of collision is remote or non-existent, and the distribution should be reasonably uniform. For example, if the source data assigns unique ids to features, then a fingerprint of the provider name, version, and source id is sufficient.
326
-
"temporaryData": { # This is proto2's version of MessageSet. # A place for clients to attach arbitrary data to a feature ID. Never set in MapFacts.
327
-
},
328
-
},
329
-
"featureType": "A String", # The feature type for the FeatureProto returned by the geocoder
330
-
"positionPrecisionMeters": 3.14, # Precision of the center point (lat/long) of the geocoded FeatureProto
331
-
"queryString": "A String", # The query sent to the geocoder
332
-
},
333
-
],
334
306
"name": "A String", # The official's name.
335
307
"party": "A String", # The full name of the party the official belongs to.
336
308
"phones": [ # The official's public contact phone numbers.
0 commit comments