Interface SubdivisionsRecord

Contains data for the subdivisions associated with an IP address. Do not use any of the subdivision names as a database or dictionary key. Use the ID or relevant instead.

interface SubdivisionsRecord {
    confidence?: number;
    geonameId: number;
    isoCode: string;
    names: Names;
}

Properties

confidence?: number

This is a value from 0-100 indicating MaxMind's confidence that the subdivision is correct. This value is only set when using the Insights web service or the Enterprise database.

geonameId: number

The GeoName ID for the subdivision.

isoCode: string

This is a string up to three characters long contain the subdivision portion of the code.

names: Names

An object of locale codes to the name in that locale. Don't use any of these names as a database or dictionary key. Use the ID or relevant code instead.

Generated using TypeDoc