8/17/2023 0 Comments Ip2location githubThe data in array format with first item indicates (north/south) hemisphere and second item indicates (east/west) hemisphere information. The hemisphere of where the country located. IP address types as defined in Internet Protocol version 4 (IPv4) and Internet Protocol version 6 (IPv6). Usage type classification of ISP or company. Mobile Network Code (MNC) is used in combination with a Mobile Country Code (MCC) to uniquely identify a mobile phone operator or carrier.Ĭommercial brand associated with the mobile carrier.Īverage height of city above sea level in meters (m). Mobile Country Codes (MCC) as defined in ITU E.212 for use in identifying mobile stations in wireless telephone networks, particularly GSM and UMTS networks. The name of the nearest weather observation station. The special code to identify the nearest weather observation station. The IDD prefix to call the city from another country.Ī varying length number assigned to geographic areas for calls between cities. DIAL = dial-up, DSL = broadband/cable/fiber/mobile, COMP = company/T1 Internet domain name associated with IP address range. Internet Service Provider or company's name. Defaults to capital city longitude if city is unknown. Defaults to capital city latitude if city is unknown.Ĭity longitude. Two-character country code based on ISO 3166.Ĭity latitude. Get domain extension (gTLD or ccTLD) from URL or domain name $ip2locationio-> getDomainExtension( '') Response Parameter IP Geolocation Lookup function Parameter $ip2locationio = new IP2LocationIO\ DomainWhois( $config) cidrToIPV6 ( "2002:1234::abcd:ffff:c0a8:101/62" ) ) COUNTRY CLASS MethodsĮxpect a IP2Location Country Information CSV file.// Configures IP2Location.io API key $config = new \ IP2LocationIO\ Configuration( 'YOUR_API_KEY') Returns the autonomous system number (ASN).Ĭonst console. Returns the geolocation information in an object. Opens the IP2Location BIN data for lookup. Methodsīelow are the methods supported in this module. Use the IPv6 BIN file if you need to query BOTH IPv4 and IPv6 addresses. If you query an IPv6 address using the IPv4 BIN, you'll see the IPV6_NOT_SUPPORTED error. Use the IPv4 BIN file if you just need to query IPv4 addresses.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |