Class RepresentativesResource
The "representatives" collection of methods.
Inherited Members
Namespace: Google.Apis.CivicInfo.v2
Assembly: Google.Apis.CivicInfo.v2.dll
Syntax
public class RepresentativesResource
Constructors
RepresentativesResource(IClientService)
Constructs a new resource.
Declaration
public RepresentativesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
RepresentativeInfoByAddress()
Looks up political geography and representative information for a single address.
Declaration
public virtual RepresentativesResource.RepresentativeInfoByAddressRequest RepresentativeInfoByAddress()
Returns
Type | Description |
---|---|
RepresentativesResource.RepresentativeInfoByAddressRequest |
RepresentativeInfoByDivision(string)
Looks up representative information for a single geographic division.
Declaration
public virtual RepresentativesResource.RepresentativeInfoByDivisionRequest RepresentativeInfoByDivision(string ocdId)
Parameters
Type | Name | Description |
---|---|---|
string | ocdId | The Open Civic Data division identifier of the division to look up. |
Returns
Type | Description |
---|---|
RepresentativesResource.RepresentativeInfoByDivisionRequest |