IPGeolocationInfo: {
    city: string;
    continent: string;
    continentCode: string;
    country: string;
    countryCode: string;
    isHosting?: boolean;
    isMobile?: boolean;
    isProxy?: boolean;
    isTor?: boolean;
    isVPN?: boolean;
    lat: number;
    lon: number;
    region: string;
    timezone?: string;
}

Type declaration

  • city: string
  • continent: string
  • continentCode: string

    ISO code e.g. EU

  • country: string
  • countryCode: string

    ISO 3166-1 alpha-2 e.g. US

  • OptionalisHosting?: boolean
  • OptionalisMobile?: boolean
  • OptionalisProxy?: boolean
  • OptionalisTor?: boolean
  • OptionalisVPN?: boolean
  • lat: number
  • lon: number
  • region: string
  • Optionaltimezone?: string

    This isn't always the true time zone of location.

    It's recommended to use it only to understand the UTC time shift