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

RepresentativeInfoData

import type { RepresentativeInfoData } from "https://googleapis.deno.dev/v1/civicinfo:v2.ts";
interface RepresentativeInfoData {
divisions?: {
[key: string]: GeographicDivision;
}
;
offices?: Office[];
officials?: Official[];
}

§Properties

§
divisions?: {
[key: string]: GeographicDivision;
}
[src]

A map of political geographic divisions that contain the requested address, keyed by the unique Open Civic Data identifier for this division.

§
offices?: Office[]
[src]

Elected offices referenced by the divisions listed above. Will only be present if includeOffices was true in the request.

§
officials?: Official[]
[src]

Officials holding the offices listed above. Will only be present if includeOffices was true in the request.