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

DivisionSearchResult

import type { DivisionSearchResult } from "https://googleapis.deno.dev/v1/civicinfo:v2.ts";

Represents a political geographic division that matches the requested query.

interface DivisionSearchResult {
aliases?: string[];
name?: string;
ocdId?: string;
}

§Properties

§
aliases?: string[]
[src]

Other Open Civic Data identifiers that refer to the same division -- for example, those that refer to other political divisions whose boundaries are defined to be coterminous with this one. For example, ocd-division/country:us/state:wy will include an alias of ocd-division/country:us/state:wy/cd:1, since Wyoming has only one Congressional district.

§
name?: string
[src]

The name of the division.

§
ocdId?: string
[src]

The unique Open Civic Data identifier for this division