class Representatives extends Resource (View source)

The "representatives" collection of methods.

Typical usage is:

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

Methods

representativeInfoByAddress(array $optParams = [])

Looks up political geography and representative information for a single address. (representatives.representativeInfoByAddress)

representativeInfoByDivision(string $ocdId, array $optParams = [])

Looks up representative information for a single geographic division.

Details

RepresentativeInfoResponse representativeInfoByAddress(array $optParams = [])

Looks up political geography and representative information for a single address. (representatives.representativeInfoByAddress)

Parameters

array $optParams

Optional parameters.

Return Value

RepresentativeInfoResponse

Exceptions

Exception

RepresentativeInfoData representativeInfoByDivision(string $ocdId, array $optParams = [])

Looks up representative information for a single geographic division.

(representatives.representativeInfoByDivision)

Parameters

string $ocdId

The Open Civic Data division identifier of the division to look up.

array $optParams

Optional parameters.

Return Value

RepresentativeInfoData

Exceptions

Exception