blob: bc2f53f42f3347face1ca76305bdacd1af1697fb [file] [log] [blame]
Craig Citro0e5b9bf2014-10-15 10:26:14 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="civicinfo_v2.html">Google Civic Information API</a> . <a href="civicinfo_v2.elections.html">elections</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070081 <code><a href="#electionQuery">electionQuery(x__xgafv=None)</a></code></p>
Craig Citro0e5b9bf2014-10-15 10:26:14 -070082<p class="firstline">List of available elections to query.</p>
83<p class="toc_element">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -080084 <code><a href="#voterInfoQuery">voterInfoQuery(address, returnAllAvailableData=None, officialOnly=None, electionId=None, x__xgafv=None)</a></code></p>
Craig Citro0e5b9bf2014-10-15 10:26:14 -070085<p class="firstline">Looks up information relevant to a voter based on the voter's registered address.</p>
86<h3>Method Details</h3>
87<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070088 <code class="details" id="close">close()</code>
89 <pre>Close httplib2 connections.</pre>
90</div>
91
92<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070093 <code class="details" id="electionQuery">electionQuery(x__xgafv=None)</code>
Craig Citro0e5b9bf2014-10-15 10:26:14 -070094 <pre>List of available elections to query.
95
96Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -070097 x__xgafv: string, V1 error format.
98 Allowed values
99 1 - v1 error format
100 2 - v2 error format
Craig Citro0e5b9bf2014-10-15 10:26:14 -0700101
102Returns:
103 An object of the form:
104
105 { # The list of elections available for this version of the API.
Bu Sun Kim65020912020-05-20 12:08:20 -0700106 &quot;elections&quot;: [ # A list of available elections
Craig Citro0e5b9bf2014-10-15 10:26:14 -0700107 { # Information about the election that was queried.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800108 &quot;ocdDivisionId&quot;: &quot;A String&quot;, # The political division of the election. Represented as an OCD Division ID. Voters within these political jurisdictions are covered by this election. This is typically a state such as ocd-division/country:us/state:ca or for the midterms or general election the entire US (i.e. ocd-division/country:us).
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800109 &quot;id&quot;: &quot;A String&quot;, # The unique ID of this election.
110 &quot;electionDay&quot;: &quot;A String&quot;, # Day of the election in YYYY-MM-DD format.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800111 &quot;name&quot;: &quot;A String&quot;, # A displayable name for the election.
Craig Citro0e5b9bf2014-10-15 10:26:14 -0700112 },
113 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800114 &quot;kind&quot;: &quot;civicinfo#electionsQueryResponse&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;civicinfo#electionsQueryResponse&quot;.
Craig Citro0e5b9bf2014-10-15 10:26:14 -0700115 }</pre>
116</div>
117
118<div class="method">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800119 <code class="details" id="voterInfoQuery">voterInfoQuery(address, returnAllAvailableData=None, officialOnly=None, electionId=None, x__xgafv=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -0700120 <pre>Looks up information relevant to a voter based on the voter&#x27;s registered address.
Craig Citro0e5b9bf2014-10-15 10:26:14 -0700121
122Args:
123 address: string, The registered address of the voter to look up. (required)
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800124 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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800125 officialOnly: boolean, If set to true, only data from official state sources will be returned.
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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700127 x__xgafv: string, V1 error format.
128 Allowed values
129 1 - v1 error format
130 2 - v2 error format
Craig Citro0e5b9bf2014-10-15 10:26:14 -0700131
132Returns:
133 An object of the form:
134
135 { # The result of a voter info lookup query.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800136 &quot;state&quot;: [ # Local Election Information for the state that the voter votes in. For the US, there will only be one element in this array.
137 { # Describes information about a regional election administrative area.
138 &quot;sources&quot;: [ # A list of sources for this area. If multiple sources are listed the data has been aggregated from those sources.
139 { # Contains information about the data source for the element containing it.
140 &quot;name&quot;: &quot;A String&quot;, # The name of the data source.
141 &quot;official&quot;: True or False, # Whether this data comes from an official government source.
142 },
143 ],
144 &quot;electionAdministrationBody&quot;: { # Information about an election administrative body (e.g. County Board of Elections). # The election administration body for this area.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800145 &quot;electionRulesUrl&quot;: &quot;A String&quot;, # A URL provided by this administrative body describing election rules to the voter.
146 &quot;electionNoticeText&quot;: &quot;A String&quot;, # A last minute or emergency notification text provided by this administrative body.
147 &quot;name&quot;: &quot;A String&quot;, # The name of this election administrative body.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800148 &quot;electionRegistrationConfirmationUrl&quot;: &quot;A String&quot;, # A URL provided by this administrative body for confirming that the voter is registered to vote.
149 &quot;electionInfoUrl&quot;: &quot;A String&quot;, # A URL provided by this administrative body for looking up general election information.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800150 &quot;hoursOfOperation&quot;: &quot;A String&quot;, # A description of the hours of operation for this administrative body.
151 &quot;correspondenceAddress&quot;: { # A simple representation of an address. # The mailing address of this administrative body.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800152 &quot;city&quot;: &quot;A String&quot;, # The city or town for the address.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800153 &quot;line1&quot;: &quot;A String&quot;, # The street name and number of this address.
154 &quot;locationName&quot;: &quot;A String&quot;, # The name of the location.
155 &quot;state&quot;: &quot;A String&quot;, # The US two letter state abbreviation of the address.
156 &quot;zip&quot;: &quot;A String&quot;, # The US Postal Zip Code of the address.
157 &quot;line2&quot;: &quot;A String&quot;, # The second line the address, if needed.
158 &quot;line3&quot;: &quot;A String&quot;, # The third line of the address, if needed.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800159 },
160 &quot;electionOfficials&quot;: [ # The election officials for this election administrative body.
161 { # Information about individual election officials.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800162 &quot;officePhoneNumber&quot;: &quot;A String&quot;, # The office phone number of the election official.
163 &quot;name&quot;: &quot;A String&quot;, # The full name of the election official.
164 &quot;title&quot;: &quot;A String&quot;, # The title of the election official.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800165 &quot;emailAddress&quot;: &quot;A String&quot;, # The email address of the election official.
166 &quot;faxNumber&quot;: &quot;A String&quot;, # The fax number of the election official.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800167 },
168 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800169 &quot;physicalAddress&quot;: { # A simple representation of an address. # The physical address of this administrative body.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800170 &quot;city&quot;: &quot;A String&quot;, # The city or town for the address.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800171 &quot;line1&quot;: &quot;A String&quot;, # The street name and number of this address.
172 &quot;locationName&quot;: &quot;A String&quot;, # The name of the location.
173 &quot;state&quot;: &quot;A String&quot;, # The US two letter state abbreviation of the address.
174 &quot;zip&quot;: &quot;A String&quot;, # The US Postal Zip Code of the address.
175 &quot;line2&quot;: &quot;A String&quot;, # The second line the address, if needed.
176 &quot;line3&quot;: &quot;A String&quot;, # The third line of the address, if needed.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800177 },
178 &quot;votingLocationFinderUrl&quot;: &quot;A String&quot;, # A URL provided by this administrative body for looking up where to vote.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800179 &quot;absenteeVotingInfoUrl&quot;: &quot;A String&quot;, # A URL provided by this administrative body for information on absentee voting.
180 &quot;electionRegistrationUrl&quot;: &quot;A String&quot;, # A URL provided by this administrative body for looking up how to register to vote.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800181 &quot;voter_services&quot;: [ # A description of the services this administrative body may provide.
182 &quot;A String&quot;,
183 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800184 &quot;electionNoticeUrl&quot;: &quot;A String&quot;, # A URL provided by this administrative body for additional information related to the last minute or emergency notification.
185 &quot;ballotInfoUrl&quot;: &quot;A String&quot;, # A URL provided by this administrative body to give contest information to the voter.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800186 },
187 &quot;name&quot;: &quot;A String&quot;, # The name of the jurisdiction.
188 &quot;local_jurisdiction&quot;: # Object with schema name: AdministrationRegion # The city or county that provides election information for this voter. This object can have the same elements as state.
189 },
190 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800191 &quot;kind&quot;: &quot;civicinfo#voterInfoResponse&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;civicinfo#voterInfoResponse&quot;.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800192 &quot;earlyVoteSites&quot;: [ # Locations where the voter is eligible to vote early, prior to election day.
193 { # A location where a voter can vote. This may be an early vote site, an election day voting location, or a drop off location for a completed ballot.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800194 &quot;startDate&quot;: &quot;A String&quot;, # The first date that this early vote site or drop off location may be used. This field is not populated for polling locations.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800195 &quot;address&quot;: { # A simple representation of an address. # The address of the location.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800196 &quot;city&quot;: &quot;A String&quot;, # The city or town for the address.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800197 &quot;line1&quot;: &quot;A String&quot;, # The street name and number of this address.
198 &quot;locationName&quot;: &quot;A String&quot;, # The name of the location.
199 &quot;state&quot;: &quot;A String&quot;, # The US two letter state abbreviation of the address.
200 &quot;zip&quot;: &quot;A String&quot;, # The US Postal Zip Code of the address.
201 &quot;line2&quot;: &quot;A String&quot;, # The second line the address, if needed.
202 &quot;line3&quot;: &quot;A String&quot;, # The third line of the address, if needed.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800203 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800204 &quot;longitude&quot;: 3.14, # Longitude of the location, in degrees east of the Prime Meridian. Note this field may not be available for some locations.
205 &quot;pollingHours&quot;: &quot;A String&quot;, # A description of when this location is open.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800206 &quot;endDate&quot;: &quot;A String&quot;, # The last date that this early vote site or drop off location may be used. This field is not populated for polling locations.
207 &quot;latitude&quot;: 3.14, # Latitude of the location, in degrees north of the equator. Note this field may not be available for some locations.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800208 &quot;sources&quot;: [ # A list of sources for this location. If multiple sources are listed the data has been aggregated from those sources.
209 { # Contains information about the data source for the element containing it.
210 &quot;name&quot;: &quot;A String&quot;, # The name of the data source.
211 &quot;official&quot;: True or False, # Whether this data comes from an official government source.
212 },
213 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800214 &quot;voterServices&quot;: &quot;A String&quot;, # The services provided by this early vote site or drop off location. This field is not populated for polling locations.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800215 &quot;notes&quot;: &quot;A String&quot;, # Notes about this location (e.g. accessibility ramp or entrance to use).
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800216 &quot;name&quot;: &quot;A String&quot;, # The name of the early vote site or drop off location. This field is not populated for polling locations.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800217 },
218 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800219 &quot;contests&quot;: [ # Contests that will appear on the voter&#x27;s ballot.
220 { # Information about a contest that appears on a voter&#x27;s ballot.
221 &quot;referendumBrief&quot;: &quot;A String&quot;, # Specifies a short summary of the referendum that is typically on the ballot below the title but above the text. This field is only populated for contests of type &#x27;Referendum&#x27;.
222 &quot;sources&quot;: [ # A list of sources for this contest. If multiple sources are listed, the data has been aggregated from those sources.
223 { # Contains information about the data source for the element containing it.
224 &quot;name&quot;: &quot;A String&quot;, # The name of the data source.
225 &quot;official&quot;: True or False, # Whether this data comes from an official government source.
226 },
227 ],
228 &quot;roles&quot;: [ # The roles which this office fulfills.
229 &quot;A String&quot;,
230 ],
231 &quot;district&quot;: { # Describes the geographic scope of a contest. # Information about the electoral district that this contest is in.
232 &quot;id&quot;: &quot;A String&quot;, # An identifier for this district, relative to its scope. For example, the 34th State Senate district would have id &quot;34&quot; and a scope of stateUpper.
233 &quot;name&quot;: &quot;A String&quot;, # The name of the district.
234 &quot;scope&quot;: &quot;A String&quot;, # The geographic scope of this district. If unspecified the district&#x27;s geography is not known. One of: national, statewide, congressional, stateUpper, stateLower, countywide, judicial, schoolBoard, cityWide, township, countyCouncil, cityCouncil, ward, special
235 },
236 &quot;office&quot;: &quot;A String&quot;, # The name of the office for this contest.
237 &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;.
238 &quot;A String&quot;,
239 ],
240 &quot;special&quot;: &quot;A String&quot;, # &quot;Yes&quot; or &quot;No&quot; depending on whether this a contest being held outside the normal election cycle.
241 &quot;referendumProStatement&quot;: &quot;A String&quot;, # A statement in favor of the referendum. It does not necessarily appear on the ballot. This field is only populated for contests of type &#x27;Referendum&#x27;.
242 &quot;referendumPassageThreshold&quot;: &quot;A String&quot;, # The threshold of votes that the referendum needs in order to pass, e.g. &quot;two-thirds&quot;. This field is only populated for contests of type &#x27;Referendum&#x27;.
243 &quot;primaryParties&quot;: [ # If this is a partisan election, the name of the party/parties it is for.
244 &quot;A String&quot;,
245 ],
246 &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.
247 &quot;referendumEffectOfAbstain&quot;: &quot;A String&quot;, # Specifies what effect abstaining (not voting) on the proposition will have (i.e. whether abstaining is considered a vote against it). This field is only populated for contests of type &#x27;Referendum&#x27;.
248 &quot;referendumSubtitle&quot;: &quot;A String&quot;, # A brief description of the referendum. This field is only populated for contests of type &#x27;Referendum&#x27;.
249 &quot;electorateSpecifications&quot;: &quot;A String&quot;, # A description of any additional eligibility requirements for voting in this contest.
250 &quot;referendumUrl&quot;: &quot;A String&quot;, # A link to the referendum. This field is only populated for contests of type &#x27;Referendum&#x27;.
251 &quot;numberElected&quot;: &quot;A String&quot;, # The number of candidates that will be elected to office in this contest.
252 &quot;referendumTitle&quot;: &quot;A String&quot;, # The title of the referendum (e.g. &#x27;Proposition 42&#x27;). This field is only populated for contests of type &#x27;Referendum&#x27;.
253 &quot;candidates&quot;: [ # The candidate choices for this contest.
254 { # Information about a candidate running for elected office.
255 &quot;channels&quot;: [ # A list of known (social) media channels for this candidate.
256 { # A social media or web channel for a candidate.
257 &quot;id&quot;: &quot;A String&quot;, # The unique public identifier for the candidate&#x27;s channel.
258 &quot;type&quot;: &quot;A String&quot;, # The type of channel. The following is a list of types of channels, but is not exhaustive. More channel types may be added at a later time. One of: GooglePlus, YouTube, Facebook, Twitter
259 },
260 ],
261 &quot;name&quot;: &quot;A String&quot;, # The candidate&#x27;s name. If this is a joint ticket it will indicate the name of the candidate at the top of a ticket followed by a / and that name of candidate at the bottom of the ticket. e.g. &quot;Mitt Romney / Paul Ryan&quot;
262 &quot;orderOnBallot&quot;: &quot;A String&quot;, # The order the candidate appears on the ballot for this contest.
263 &quot;phone&quot;: &quot;A String&quot;, # The voice phone number for the candidate&#x27;s campaign office.
264 &quot;candidateUrl&quot;: &quot;A String&quot;, # The URL for the candidate&#x27;s campaign web site.
265 &quot;email&quot;: &quot;A String&quot;, # The email address for the candidate&#x27;s campaign.
266 &quot;photoUrl&quot;: &quot;A String&quot;, # A URL for a photo of the candidate.
267 &quot;party&quot;: &quot;A String&quot;, # The full name of the party the candidate is a member of.
268 },
269 ],
270 &quot;type&quot;: &quot;A String&quot;, # The type of contest. Usually this will be &#x27;General&#x27;, &#x27;Primary&#x27;, or &#x27;Run-off&#x27; for contests with candidates. For referenda this will be &#x27;Referendum&#x27;. For Retention contests this will typically be &#x27;Retention&#x27;.
271 &quot;ballotTitle&quot;: &quot;A String&quot;, # The official title on the ballot for this contest, only where available.
272 &quot;referendumConStatement&quot;: &quot;A String&quot;, # A statement in opposition to the referendum. It does not necessarily appear on the ballot. This field is only populated for contests of type &#x27;Referendum&#x27;.
273 &quot;referendumText&quot;: &quot;A String&quot;, # The full text of the referendum. This field is only populated for contests of type &#x27;Referendum&#x27;.
274 &quot;numberVotingFor&quot;: &quot;A String&quot;, # The number of candidates that a voter may vote for in this contest.
275 &quot;level&quot;: [ # The levels of government of the office for this contest. There may be more than one in cases where a jurisdiction effectively acts at two different levels of government; for example, the mayor of the District of Columbia acts at &quot;locality&quot; level, but also effectively at both &quot;administrative-area-2&quot; and &quot;administrative-area-1&quot;.
276 &quot;A String&quot;,
277 ],
278 &quot;ballotPlacement&quot;: &quot;A String&quot;, # A number specifying the position of this contest on the voter&#x27;s ballot.
279 },
280 ],
281 &quot;mailOnly&quot;: True or False, # Specifies whether voters in the precinct vote only by mailing their ballots (with the possible option of dropping off their ballots as well).
282 &quot;otherElections&quot;: [ # When there are multiple elections for a voter address, the otherElections field is populated in the API response and there are two possibilities: 1. If the earliest election is not the intended election, specify the election ID of the desired election in a second API request using the electionId field. 2. If these elections occur on the same day, the API doesn?t return any polling location, contest, or election official information to ensure that an additional query is made. For user-facing applications, we recommend displaying these elections to the user to disambiguate. A second API request using the electionId field should be made for the election that is relevant to the user.
283 { # Information about the election that was queried.
284 &quot;ocdDivisionId&quot;: &quot;A String&quot;, # The political division of the election. Represented as an OCD Division ID. Voters within these political jurisdictions are covered by this election. This is typically a state such as ocd-division/country:us/state:ca or for the midterms or general election the entire US (i.e. ocd-division/country:us).
285 &quot;id&quot;: &quot;A String&quot;, # The unique ID of this election.
286 &quot;electionDay&quot;: &quot;A String&quot;, # Day of the election in YYYY-MM-DD format.
287 &quot;name&quot;: &quot;A String&quot;, # A displayable name for the election.
288 },
289 ],
290 &quot;precinctId&quot;: &quot;A String&quot;,
291 &quot;pollingLocations&quot;: [ # Locations where the voter is eligible to vote on election day.
292 { # A location where a voter can vote. This may be an early vote site, an election day voting location, or a drop off location for a completed ballot.
293 &quot;startDate&quot;: &quot;A String&quot;, # The first date that this early vote site or drop off location may be used. This field is not populated for polling locations.
294 &quot;address&quot;: { # A simple representation of an address. # The address of the location.
295 &quot;city&quot;: &quot;A String&quot;, # The city or town for the address.
296 &quot;line1&quot;: &quot;A String&quot;, # The street name and number of this address.
297 &quot;locationName&quot;: &quot;A String&quot;, # The name of the location.
298 &quot;state&quot;: &quot;A String&quot;, # The US two letter state abbreviation of the address.
299 &quot;zip&quot;: &quot;A String&quot;, # The US Postal Zip Code of the address.
300 &quot;line2&quot;: &quot;A String&quot;, # The second line the address, if needed.
301 &quot;line3&quot;: &quot;A String&quot;, # The third line of the address, if needed.
302 },
303 &quot;longitude&quot;: 3.14, # Longitude of the location, in degrees east of the Prime Meridian. Note this field may not be available for some locations.
304 &quot;pollingHours&quot;: &quot;A String&quot;, # A description of when this location is open.
305 &quot;endDate&quot;: &quot;A String&quot;, # The last date that this early vote site or drop off location may be used. This field is not populated for polling locations.
306 &quot;latitude&quot;: 3.14, # Latitude of the location, in degrees north of the equator. Note this field may not be available for some locations.
307 &quot;sources&quot;: [ # A list of sources for this location. If multiple sources are listed the data has been aggregated from those sources.
308 { # Contains information about the data source for the element containing it.
309 &quot;name&quot;: &quot;A String&quot;, # The name of the data source.
310 &quot;official&quot;: True or False, # Whether this data comes from an official government source.
311 },
312 ],
313 &quot;voterServices&quot;: &quot;A String&quot;, # The services provided by this early vote site or drop off location. This field is not populated for polling locations.
314 &quot;notes&quot;: &quot;A String&quot;, # Notes about this location (e.g. accessibility ramp or entrance to use).
315 &quot;name&quot;: &quot;A String&quot;, # The name of the early vote site or drop off location. This field is not populated for polling locations.
316 },
317 ],
318 &quot;normalizedInput&quot;: { # A simple representation of an address. # The normalized version of the requested address
319 &quot;city&quot;: &quot;A String&quot;, # The city or town for the address.
320 &quot;line1&quot;: &quot;A String&quot;, # The street name and number of this address.
321 &quot;locationName&quot;: &quot;A String&quot;, # The name of the location.
322 &quot;state&quot;: &quot;A String&quot;, # The US two letter state abbreviation of the address.
323 &quot;zip&quot;: &quot;A String&quot;, # The US Postal Zip Code of the address.
324 &quot;line2&quot;: &quot;A String&quot;, # The second line the address, if needed.
325 &quot;line3&quot;: &quot;A String&quot;, # The third line of the address, if needed.
326 },
327 &quot;dropOffLocations&quot;: [ # Locations where a voter is eligible to drop off a completed ballot. The voter must have received and completed a ballot prior to arriving at the location. The location may not have ballots available on the premises. These locations could be open on or before election day as indicated in the pollingHours field.
328 { # A location where a voter can vote. This may be an early vote site, an election day voting location, or a drop off location for a completed ballot.
329 &quot;startDate&quot;: &quot;A String&quot;, # The first date that this early vote site or drop off location may be used. This field is not populated for polling locations.
330 &quot;address&quot;: { # A simple representation of an address. # The address of the location.
331 &quot;city&quot;: &quot;A String&quot;, # The city or town for the address.
332 &quot;line1&quot;: &quot;A String&quot;, # The street name and number of this address.
333 &quot;locationName&quot;: &quot;A String&quot;, # The name of the location.
334 &quot;state&quot;: &quot;A String&quot;, # The US two letter state abbreviation of the address.
335 &quot;zip&quot;: &quot;A String&quot;, # The US Postal Zip Code of the address.
336 &quot;line2&quot;: &quot;A String&quot;, # The second line the address, if needed.
337 &quot;line3&quot;: &quot;A String&quot;, # The third line of the address, if needed.
338 },
339 &quot;longitude&quot;: 3.14, # Longitude of the location, in degrees east of the Prime Meridian. Note this field may not be available for some locations.
340 &quot;pollingHours&quot;: &quot;A String&quot;, # A description of when this location is open.
341 &quot;endDate&quot;: &quot;A String&quot;, # The last date that this early vote site or drop off location may be used. This field is not populated for polling locations.
342 &quot;latitude&quot;: 3.14, # Latitude of the location, in degrees north of the equator. Note this field may not be available for some locations.
343 &quot;sources&quot;: [ # A list of sources for this location. If multiple sources are listed the data has been aggregated from those sources.
344 { # Contains information about the data source for the element containing it.
345 &quot;name&quot;: &quot;A String&quot;, # The name of the data source.
346 &quot;official&quot;: True or False, # Whether this data comes from an official government source.
347 },
348 ],
349 &quot;voterServices&quot;: &quot;A String&quot;, # The services provided by this early vote site or drop off location. This field is not populated for polling locations.
350 &quot;notes&quot;: &quot;A String&quot;, # Notes about this location (e.g. accessibility ramp or entrance to use).
351 &quot;name&quot;: &quot;A String&quot;, # The name of the early vote site or drop off location. This field is not populated for polling locations.
352 },
353 ],
354 &quot;election&quot;: { # Information about the election that was queried. # The election that was queried.
355 &quot;ocdDivisionId&quot;: &quot;A String&quot;, # The political division of the election. Represented as an OCD Division ID. Voters within these political jurisdictions are covered by this election. This is typically a state such as ocd-division/country:us/state:ca or for the midterms or general election the entire US (i.e. ocd-division/country:us).
356 &quot;id&quot;: &quot;A String&quot;, # The unique ID of this election.
357 &quot;electionDay&quot;: &quot;A String&quot;, # Day of the election in YYYY-MM-DD format.
358 &quot;name&quot;: &quot;A String&quot;, # A displayable name for the election.
359 },
Craig Citro0e5b9bf2014-10-15 10:26:14 -0700360 }</pre>
361</div>
362
363</body></html>