It supports both IP address in IPv4 and IPv6. This database simply contains IP blocks as keys, and other information such as country, region, city, latitude, longitude, ZIP code, time zone, ISP, domain name, connection type, IDD code, area code, weather station code, station name, mcc, mnc, mobile brand, elevation, usage type, address type, IAB category, district, autonomous system number (ASN) and autonomous system (AS) as values. This package uses a file based database available at. Provide a ISO 3166 country code and the region name to get ISO 3166-2 subdivision code for the region.This OpenResty package provides a fast lookup of country, region, city, latitude, longitude, ZIP code, time zone, ISP, domain name, connection type, IDD code, area code, weather station code, station name, mcc, mnc, mobile brand, elevation, usage type, address type, IAB category, district, autonomous system number (ASN) and autonomous system (AS) from IP address by using IP2Location database. Function NameĮxpect a IP2Location ISO 3166-2 Subdivision Code CSV file. Below is the information returned:īelow is the description of the functions available in the Region class. Will return a full list of countries information if country code not provided. Provide a ISO 3166 country code to get the country information in array. Function NameĮxpect a IP2Location Country Information CSV file. Translate IPv6 address from decimal number into hexadecimal address.Ĭonvert IPv4 range into a list of IPv4 CIDR notation.Ĭonvert IPv4 CIDR notation into a list of IPv4 addresses.Ĭonvert IPv6 range into a list of IPv6 CIDR notation.Ĭonvert IPv6 CIDR notation into a list of IPv6 addresses.īelow is the description of the functions available in the Country class. Translate IPv6 address from hexadecimal address to decimal format. Translate IPv4 address from decimal number to dotted-decimal address. Translate IPv4 address from dotted-decimal address to decimal format. Verify if a string is a valid IPv6 address. Verify if a string is a valid IPv4 address. Return remaining credit of the web service account.īelow is the description of the functions available in the IP Tools class. Returns the Autonomous system (AS) name of IP address.īelow is the description of the functions available in the Web Service lookup. Returns the Autonomous system number (ASN) of IP address. Returns the district or county name of IP address. You can get a full list of IAB content taxonomy category from here. Returns the IAB content taxonomy category of IP address or domain name. Returns the IP address type (A-Anycast, B-Broadcast, M-Multicast & U-Unicast) of IP address or domain name. Returns the ISP's usage type of IP address. Returns average height of city above sea level in meters (m). Please visit Mobile Carrier Coverage to view the coverage report. Returns the nearest weather observation station name.Ĭommercial brand associated with the mobile carrier. Returns the nearest weather observation station code. Returns the IDD prefix to call the city from another country. Please see Internet Connection Type for details. Returns the UTC time zone (with DST supported). Returns the city longtitude of the IP address. Returns the city latitude of the IP address. Please visit ISO3166-2 Subdivision Code for the information of ISO3166-2 supported Returns the ISO3166-2 region name of the IP address. Returns the ISO3166-1 country name of the IP address. Returns the ISO3166-1 country code (2-digits) of the IP address. Returns the geolocation information in array. Open the IP2Location BIN data for lookup. BIN Databaseīelow is the description of the functions available in the BIN Database lookup. You can check the sample.py file to learn more about usage.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |