class Elections extends Resource (View source)

The "elections" collection of methods.

Typical usage is:

 $civicinfoService = new Google\Service\CivicInfo(...);
 $elections = $civicinfoService->elections;

Methods

electionQuery(array $optParams = [])

List of available elections to query. (elections.electionQuery)

voterInfoQuery(array $optParams = [])

Looks up information relevant to a voter based on the voter's registered address. (elections.voterInfoQuery)

Details

ElectionsQueryResponse electionQuery(array $optParams = [])

List of available elections to query. (elections.electionQuery)

Parameters

array $optParams

Optional parameters.

Return Value

ElectionsQueryResponse

Exceptions

Exception

VoterInfoResponse voterInfoQuery(array $optParams = [])

Looks up information relevant to a voter based on the voter's registered address. (elections.voterInfoQuery)

Parameters

array $optParams

Optional parameters.

Return Value

VoterInfoResponse

Exceptions

Exception