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>Lookup OCDIDs and names for divisions related to an address.
95
+
96
+
Args:
97
+
address: string, A parameter
98
+
x__xgafv: string, V1 error format.
99
+
Allowed values
100
+
1 - v1 error format
101
+
2 - v2 error format
102
+
103
+
Returns:
104
+
An object of the form:
105
+
106
+
{
107
+
"divisions": {
108
+
"a_key": { # Describes a political geography.
109
+
"alsoKnownAs": [ # Any other valid OCD IDs that refer to the same division.\n\nBecause OCD IDs are meant to be human-readable and at least somewhat predictable, there are occasionally several identifiers for a single division. These identifiers are defined to be equivalent to one another, and one is always indicated as the primary identifier. The primary identifier will be returned in ocd_id above, and any other equivalent valid identifiers will be returned in this list.\n\nFor example, if this division's OCD ID is ocd-division/country:us/district:dc, this will contain ocd-division/country:us/state:dc.
110
+
"A String",
111
+
],
112
+
"name": "A String", # The name of the division.
113
+
"officeIndices": [ # List of indices in the offices array, one for each office elected from this division. Will only be present if includeOffices was true (or absent) in the request.
114
+
42,
115
+
],
116
+
},
117
+
},
118
+
"normalizedInput": { # A simple representation of an address. # The normalized version of the requested address.
119
+
"city": "A String", # The city or town for the address.
120
+
"line1": "A String", # The street name and number of this address.
121
+
"line2": "A String", # The second line the address, if needed.
122
+
"line3": "A String", # The third line of the address, if needed.
123
+
"locationName": "A String", # The name of the location.
124
+
"state": "A String", # The US two letter state abbreviation of the address.
125
+
"zip": "A String", # The US Postal Zip Code of the address.
0 commit comments