google_api_civic_info v0.14.0 API Reference

Modules

API client metadata for GoogleApi.CivicInfo.V2.

API calls for all endpoints tagged Divisions.

API calls for all endpoints tagged Elections.

API calls for all endpoints tagged Representatives.

Handle Tesla connections for GoogleApi.CivicInfo.V2.

Describes information about a regional election administrative area.

Information about an election administrative body (e.g. County Board of Elections).

Information about a candidate running for elected office.

A social media or web channel for a candidate.

Information about a contest that appears on a voter's ballot.

The result of a division search query.

Represents a political geographic division that matches the requested query.

Information about the election that was queried.

Information about individual election officials.

The list of elections available for this version of the API.

Describes the geographic scope of a contest.

Describes a political geography.

Information about an Office held by one or more Officials.

Information about a person holding an elected office.

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.

Attributes

  • divisions (type: %{optional(String.t) => GoogleApi.CivicInfo.V2.Model.GeographicDivision.t}, default: nil) - A map of political geographic divisions that contain the requested address, keyed by the unique Open Civic Data identifier for this division.
  • offices (type: list(GoogleApi.CivicInfo.V2.Model.Office.t), default: nil) - Elected offices referenced by the divisions listed above. Will only be present if includeOffices was true in the request.
  • officials (type: list(GoogleApi.CivicInfo.V2.Model.Official.t), default: nil) - Officials holding the offices listed above. Will only be present if includeOffices was true in the request.

The result of a representative info lookup query.

A simple representation of an address.

Contains information about the data source for the element containing it.

The result of a voter info lookup query.