Interface PostalRecord

Contains data for the postal record associated with an IP address.

interface PostalRecord {
    code: string;
    confidence?: number;
}

Properties

Properties

code: string

The postal code of the location. Postal codes are not available for all countries. In some countries, this will only contain part of the postal code.

confidence?: number

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

Generated using TypeDoc