opencage-api-client
    Preparing search index...

    Normalized components of the address

    interface Components {
        _category: string;
        _normalized_city?: string;
        _type: string;
        body_of_water?: string;
        borough?: string;
        city?: string;
        city_district?: string;
        continent?: string;
        country?: string;
        country_code?: string;
        county?: string;
        house_number?: string;
        "ISO_3166-1_alpha-2"?: string;
        "ISO_3166-1_alpha-3"?: string;
        "ISO_3166-2"?: string[];
        neighbourhood?: string;
        office?: string;
        political_union?: string;
        postcode?: string;
        road?: string;
        state?: string;
        state_code?: string;
        suburb?: string;
        town?: string;
        village?: string;
    }
    Index

    Properties

    _category: string

    Category of the location

    _normalized_city?: string

    Normalized city name

    _type: string

    Type of the location

    body_of_water?: string

    Body of water

    borough?: string

    Borough or district within a city

    city?: string

    City name

    city_district?: string

    City district

    continent?: string

    Continent name

    country?: string

    Country name

    country_code?: string

    Two-letter country code (lowercase)

    county?: string

    County or district name

    house_number?: string

    Building or house number

    "ISO_3166-1_alpha-2"?: string

    Two-letter country code

    "ISO_3166-1_alpha-3"?: string

    Three-letter country code

    "ISO_3166-2"?: string[]

    Codes for country subdivisions

    neighbourhood?: string

    Neighborhood name

    office?: string

    Office or building name

    political_union?: string

    Political union (e.g., European Union)

    postcode?: string

    Postal code

    road?: string

    Street or road name

    state?: string

    State, province, or region name

    state_code?: string

    State or province code

    suburb?: string

    Suburb name

    town?: string

    Town name

    village?: string

    Village name