@maxmind/geoip2-node
    Preparing search index...

    Class Isp

    Class representing the model of an "ASN" response *

    Hierarchy (View Summary)

    Index

    Constructors

    • Instantiates an "Isp" using fields from the response

      Parameters

      • response: IspResponse

        The GeoIP2-ISP response

      • OptionalipAddress: string
      • Optionalnetwork: string

      Returns Isp

    Properties

    autonomousSystemNumber?: number

    The autonomous system number associated with the IP address

    autonomousSystemOrganization?: string

    The organization associated with the registered autonomous system number for the IP address.

    ipAddress?: string

    The IP address that the data in the model is for. If you performed a "me" lookup against the web service, this will be the externally routable IP address for the system the code is running on. If the system is behind a NAT, this may differ from the IP address locally assigned to it.

    isp: string

    The name of the ISP associated with the IP address.

    mobileCountryCode?: string

    The mobile country code (MCC) associated with the IP address and ISP. See https://en.wikipedia.org/wiki/Mobile_country_code.

    mobileNetworkCode?: string

    The mobile network code (MNC) associated with the IP address and ISP. See https://en.wikipedia.org/wiki/Mobile_country_code.

    network?: string

    The network associated with the record. In particular, this is the largest network where all of the fields besides ipAddress have the same value.

    organization: string

    The name of the organization associated with the IP address.