Constants

USER_AGENT → String

'dart-api-client civicinfo/v2'

Classes

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.

CivicinfoApi

An API for accessing civic information.

Contest

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

DivisionSearchResponse

The result of a division search query.

DivisionSearchResult

Represents a political geographic division that matches the requested query.

DivisionsResourceApi

Election

Information about the election that was queried.

ElectionOfficial

Information about individual election officials.

ElectionsQueryResponse

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

ElectionsResourceApi

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.

RepresentativeInfoData

RepresentativeInfoResponse

The result of a representative info lookup query.

RepresentativesResourceApi

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.

Exceptions / Errors

ApiRequestError

Represents a general error reported by the API endpoint.

DetailedApiRequestError

Represents a specific error reported by the API endpoint.