Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Usage

import * as mod from "https://googleapis.deno.dev/v1/civicinfo:v2.ts";

§Classes

Civicinfo

Provides polling places, early vote locations, contest data, election officials, and government representatives for U.S. residential addresses.

GoogleAuth

§Variables

auth

§Interfaces

AdministrationRegion

Describes information about a regional election administrative area.

AdministrativeBody

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

Candidate

Information about a candidate running for elected office.

Channel

A social media or web channel for a candidate.

Contest

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

CredentialsClient

Defines the root interface for all clients that generate credentials for calling Google APIs. All clients should implement this interface.

DivisionSearchResponse

The result of a division search query.

DivisionSearchResult

Represents a political geographic division that matches the requested query.

DivisionsSearchOptions

Additional options for Civicinfo#divisionsSearch.

Election

Information about the election that was queried.

ElectionOfficial

Information about individual election officials.

ElectionsElectionQueryOptions

Additional options for Civicinfo#electionsElectionQuery.

ElectionsQueryResponse

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

ElectionsVoterInfoQueryOptions

Additional options for Civicinfo#electionsVoterInfoQuery.

ElectoralDistrict

Describes the geographic scope of a contest.

GeographicDivision

Describes a political geography.

Office

Information about an Office held by one or more Officials.

Official

Information about a person holding an elected office.

PollingLocation

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.

Precinct
RepresentativeInfoData
RepresentativeInfoResponse

The result of a representative info lookup query.

RepresentativesRepresentativeInfoByAddressOptions

Additional options for Civicinfo#representativesRepresentativeInfoByAddress.

RepresentativesRepresentativeInfoByDivisionOptions

Additional options for Civicinfo#representativesRepresentativeInfoByDivision.

SimpleAddressType

A simple representation of an address.

Source

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

VoterInfoResponse

The result of a voter info lookup query.