ip2locationio


Nameip2locationio JSON
Version 1.0.0 PyPI version JSON
download
home_pagehttps://github.com/ip2location/ip2location-io-python
SummaryIP2Location.io Python SDK to get geolocation info from IPv4 and IPv6 address.
upload_time2023-05-03 08:47:38
maintainer
docs_urlNone
authorIP2Location
requires_python
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            IP2Location.io Python SDK
========================
This Python module enables user to query for an enriched data set, such as country, region, city, latitude & longitude, ZIP code, time zone, ASN, ISP, domain, net speed, IDD code, area code, weather station data, MNC, MCC, mobile brand, elevation, usage type, address type, advertisement category and proxy data with an IP address. It supports both IPv4 and IPv6 address lookup.

In addition, this module provides WHOIS lookup api that helps users to obtain domain information, WHOIS record, by using a domain name. The WHOIS API returns a comprehensive WHOIS data such as creation date, updated date, expiration date, domain age, the contact information of the registrant, mailing address, phone number, email address, nameservers the domain is using and much more.

This module requires API key to function. You may sign up for a free API key at https://www.ip2location.io/pricing.


Usage Example
============
### Lookup IP Address Geolocation Data
```python
import ip2locationio

# Configures IP2Location.io API key
configuration = ip2locationio.Configuration('YOUR_API_KEY')
ipgeolocation = ip2locationio.IPGeolocation(configuration)

// Lookup ip address geolocation data
$ip2locationio->lookup('8.8.8.8', 'en'); // The language parameter is only available for Plus and Security plan only.
```

### Lookup Domain Information
```python
import ip2locationio

# Configures IP2Location.io API key
configuration = ip2locationio.Configuration('YOUR_API_KEY')
domainwhois = ip2locationio.DomainWHOIS(configuration)

# Lookup domain information
print(domainwhois.lookup('example.com'))
```

### Convert Normal Text to Punycode
```python
import ip2locationio

# Configures IP2Location.io API key
configuration = ip2locationio.Configuration('YOUR_API_KEY')
domainwhois = ip2locationio.DomainWHOIS(configuration)

# Convert normal text to punycode
print(domainwhois.getpunycode('täst.de'))
```

### Convert Punycode to Normal Text
```python
import ip2locationio

# Configures IP2Location.io API key
configuration = ip2locationio.Configuration('YOUR_API_KEY')
domainwhois = ip2locationio.DomainWHOIS(configuration)

# Convert punycode to normal text
print(domainwhois.getnormaltext('xn--tst-qla.de'))
```

### Get Domain Name
```python
import ip2locationio

# Configures IP2Location.io API key
configuration = ip2locationio.Configuration('YOUR_API_KEY')
domainwhois = ip2locationio.DomainWHOIS(configuration)

# Get domain name from URL
print(domainwhois.getdomainname('https://www.example.com/exe'))
```

### Get Domain Extension
```python
import ip2locationio

# Configures IP2Location.io API key
configuration = ip2locationio.Configuration('YOUR_API_KEY')
domainwhois = ip2locationio.DomainWHOIS(configuration)

# Get domain extension (gTLD or ccTLD) from URL or domain name
print(domainwhois.getdomainextension('example.com'))
```


Response Parameter
============
### IP Geolocation Lookup function
| Parameter | Type | Description |
|---|---|---|
|ip|string|IP address.|
|country_code|string|Two-character country code based on ISO 3166.|
|country_name|string|Country name based on ISO 3166.|
|region_name|string|Region or state name.|
|city_name|string|City name.|
|latitude|double|City latitude. Defaults to capital city latitude if city is unknown.|
|longitude|double|City longitude. Defaults to capital city longitude if city is unknown.|
|zip_code|string|ZIP/Postal code.|
|time_zone|string|UTC time zone (with DST supported).|
|asn|string|Autonomous system number (ASN).|
|as|string|Autonomous system (AS) name.|
|isp|string|Internet Service Provider or company's name.|
|domain|string|Internet domain name associated with IP address range.|
|net_speed|string|Internet connection type. DIAL = dial-up, DSL = broadband/cable/fiber/mobile, COMP = company/T1|
|idd_code|string|The IDD prefix to call the city from another country.|
|area_code|string|A varying length number assigned to geographic areas for calls between cities.|
|weather_station_code|string|The special code to identify the nearest weather observation station.|
|weather_station_name|string|The name of the nearest weather observation station.|
|mcc|string|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.|
|mnc|string|Mobile Network Code (MNC) is used in combination with a Mobile Country Code (MCC) to uniquely identify a mobile phone operator or carrier.|
|mobile_brand|string|Commercial brand associated with the mobile carrier.|
|elevation|integer|Average height of city above sea level in meters (m).|
|usage_type|string|Usage type classification of ISP or company.|
|address_type|string|IP address types as defined in Internet Protocol version 4 (IPv4) and Internet Protocol version 6 (IPv6).|
|continent.name|string|Continent name.|
|continent.code|string|Two-character continent code.|
|continent.hemisphere|array|The hemisphere of where the country located. The data in array format with first item indicates (north/south) hemisphere and second item indicates (east/west) hemisphere information.|
|continent.translation|object|Translation data based on the given lang code.|
|country.name|string|Country name based on ISO 3166.|
|country.alpha3_code|string|Three-character country code based on ISO 3166.|
|country.numeric_code|string|Three-character country numeric code based on ISO 3166.|
|country.demonym|string|Native of the country.|
|country.flag|string|URL of the country flag image.|
|country.capital|string|Capital of the country.|
|country.total_area|integer|Total area in km2.|
|country.population|integer|Population of the country.|
|country.currency|object|Currency of the country.|
|country.language|object|Language of the country.|
|country.tld|string|Country-Code Top-Level Domain.|
|country.translation|object|Translation data based on the given lang code.|
|region.name|string|Region or state name.|
|region.code|string|ISO3166-2 code.|
|region.translation|object|Translation data based on the given lang code.|
|city.name|string| City name.|
|city.translation|object|Translation data based on the given lang code.|
|time_zone_info.olson|string|Time zone in Olson format.|
|time_zone_info.current_time|string|Current time in ISO 8601 format.|
|time_zone_info.gmt_offset|integer|GMT offset value in seconds.|
|time_zone_info.is_dst|boolean|Indicate if the time zone value is in DST.|
|time_zone_info.sunrise|string|Time of sunrise. (hh:mm format in local time, i.e, 07:47)|
|time_zone_info.sunset|string|Time of sunset. (hh:mm format in local time, i.e 19:50)|
|geotargeting.metro|string|Metro code based on zip/postal code.|
|ads_category|string|The domain category code based on IAB Tech Lab Content Taxonomy.|
|ads_category_name|string|The domain category based on IAB Tech Lab Content Taxonomy. These categories are comprised of Tier-1 and Tier-2 (if available) level categories widely used in services like advertising, Internet security and filtering appliances.|
|is_proxy|boolean|Whether is a proxy or not.|
|proxy.last_seen|integer|Proxy last seen in days.|
|proxy.proxy_type|string|Type of proxy.|
|proxy.threat|string|Security threat reported.|
|proxy.provider|string|Name of VPN provider if available.|

```python
{'ip': '8.8.8.8', 'country_code': 'US', 'country_name': 'United States of America', 'region_name': 'California', 'city_name': 'Mountain View', 'latitude': 37.405992, 'longitude': -122.078515, 'zip_code': '94043', 'time_zone': '-07:00', 'asn': '15169', 'as': 'Google LLC', 'isp': 'Google LLC', 'domain': 'google.com', 'net_speed': 'T1', 'idd_code': '1', 'area_code': '650', 'weather_station_code': 'USCA0746', 'weather_station_name': 'Mountain View', 'mcc': '-', 'mnc': '-', 'mobile_brand': '-', 'elevation': 32, 'usage_type': 'DCH', 'address_type': 'Anycast', 'continent': {'name': 'North America', 'code': 'NA', 'hemisphere': ['north', 'west'], 'translation': {'lang': None, 'value': None}}, 'district': 'Santa Clara County', 'country': {'name': 'United States of America', 'alpha3_code': 'USA', 'numeric_code': 840, 'demonym': 'Americans', 'flag': 'https://cdn.ip2location.io/assets/img/flags/us.png', 'capital': 'Washington, D.C.', 'total_area': 9826675, 'population': 331002651, 'currency': {'code': 'USD', 'name': 'United States Dollar', 'symbol': '$'}, 'language': {'code': 'EN', 'name': 'English'}, 'tld': 'us', 'translation': {'lang': None, 'value': None}}, 'region': {'name': 'California', 'code': 'US-CA', 'translation': {'lang': '', 'value': ''}}, 'city': {'name': 'Mountain View', 'translation': {'lang': None, 'value': None}}, 'time_zone_info': {'olson': 'America/Los_Angeles', 'current_time': '2023-05-03T01:09:59-07:00', 'gmt_offset': -25200, 'is_dst': True, 'sunrise': '06:10', 'sunset': '19:59'}, 'geotargeting': {'metro': '807'}, 'ads_category': 'IAB19-11', 'ads_category_name': 'Data Centers', 'is_proxy': False, 'proxy': {'last_seen': 2, 'proxy_type': 'DCH', 'threat': '-', 'provider': '-'}}
```

### Domain WHOIS Lookup function
| Parameter | Type | Description |
|---|---|---|
|domain|string|Domain name.|
|domain_id|string|Domain name ID.|
|status|string|Domain name status.|
|create_date|string|Domain name creation date.|
|update_date|string|Domain name updated date.|
|expire_date|string|Domain name expiration date.|
|domain_age|integer|Domain name age in day(s).|
|whois_server|string|WHOIS server name.|
|registrar.iana_id|string|Registrar IANA ID.|
|registrar.name|string|Registrar name.|
|registrar.url|string|Registrar URL.|
|registrant.name|string|Registrant name.|
|registrant.organization|string|Registrant organization.|
|registrant.street_address|string|Registrant street address.|
|registrant.city|string|Registrant city.|
|registrant.region|string|Registrant region.|
|registrant.zip_code|string|Registrant ZIP Code.|
|registrant.country|string|Registrant country.|
|registrant.phone|string|Registrant phone number.|
|registrant.fax|string|Registrant fax number.|
|registrant.email|string|Registrant email address.|
|admin.name|string|Admin name.|
|admin.organization|string|Admin organization.|
|admin.street_address|string|Admin street address.|
|admin.city|string|Admin city.|
|admin.region|string|Admin region.|
|admin.zip_code|string|Admin ZIP Code.|
|admin.country|string|Admin country.|
|admin.phone|string|Admin phone number.|
|admin.fax|string|Admin fax number.|
|admin.email|string|Admin email address.|
|tech.name|string|Tech name.|
|tech.organization|string|Tech organization.|
|tech.street_address|string|Tech street address.|
|tech.city|string|Tech city.|
|tech.region|string|Tech region.|
|tech.zip_code|string|Tech ZIP Code.|
|tech.country|string|Tech country.|
|tech.phone|string|Tech phone number.|
|tech.fax|string|Tech fax number.|
|tech.email|string|Tech email address.|
|billing.name|string|Billing name.|
|billing.organization|string|Billing organization.|
|billing.street_address|string|Billing street address.|
|billing.city|string|Billing city.|
|billing.region|string|Billing region.|
|billing.zip_code|string|Billing ZIP Code.|
|billing.country|string|Billing country.|
|billing.phone|string|Billing phone number.|
|billing.fax|string|Billing fax number.|
|billing.email|string|Billing email address.|
|name_servers|array|Name servers|

```python
{'domain': 'example.com', 'domain_id': '2336799_DOMAIN_COM-VRSN', 'status': 'clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited', 'create_date': '1995-08-14T04:00:00Z', 'update_date': '2022-08-14T07:01:31Z', 'expire_date': '2023-08-13T04:00:00Z', 'domain_age': 10124, 'whois_server': 'whois.iana.org', 'registrar': {'iana_id': '376', 'name': 'RESERVED-Internet Assigned Numbers Authority', 'url': 'http://res-dom.iana.org'}, 'registrant': {'name': '', 'organization': '', 'street_address': '', 'city': '', 'region': '', 'zip_code': '', 'country': '', 'phone': '', 'fax': '', 'email': ''}, 'admin': {'name': '', 'organization': '', 'street_address': '', 'city': '', 'region': '', 'zip_code': '', 'country': '', 'phone': '', 'fax': '', 'email': ''}, 'tech': {'name': '', 'organization': '', 'street_address': '', 'city': '', 'region': '', 'zip_code': '', 'country': '', 'phone': '', 'fax': '', 'email': ''}, 'billing': {'name': '', 'organization': '', 'street_address': '', 'city': '', 'region': '', 'zip_code': '', 'country': '', 'phone': '', 'fax': '', 'email': ''}, 'nameservers': ['a.iana-servers.net', 'b.iana-servers.net']}
```


LICENCE
=====================
See the LICENSE file.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ip2location/ip2location-io-python",
    "name": "ip2locationio",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "IP2Location",
    "author_email": "support@ip2location.com",
    "download_url": "https://files.pythonhosted.org/packages/05/74/f3b05c36f408bac3787cf35de60e23930ee06f23f9dc48a399189bd65b9a/ip2locationio-1.0.0.tar.gz",
    "platform": null,
    "description": "IP2Location.io Python SDK\r\n========================\r\nThis Python module enables user to query for an enriched data set, such as country, region, city, latitude & longitude, ZIP code, time zone, ASN, ISP, domain, net speed, IDD code, area code, weather station data, MNC, MCC, mobile brand, elevation, usage type, address type, advertisement category and proxy data with an IP address. It supports both IPv4 and IPv6 address lookup.\r\n\r\nIn addition, this module provides WHOIS lookup api that helps users to obtain domain information, WHOIS record, by using a domain name. The WHOIS API returns a comprehensive WHOIS data such as creation date, updated date, expiration date, domain age, the contact information of the registrant, mailing address, phone number, email address, nameservers the domain is using and much more.\r\n\r\nThis module requires API key to function. You may sign up for a free API key at https://www.ip2location.io/pricing.\r\n\r\n\r\nUsage Example\r\n============\r\n### Lookup IP Address Geolocation Data\r\n```python\r\nimport ip2locationio\r\n\r\n# Configures IP2Location.io API key\r\nconfiguration = ip2locationio.Configuration('YOUR_API_KEY')\r\nipgeolocation = ip2locationio.IPGeolocation(configuration)\r\n\r\n// Lookup ip address geolocation data\r\n$ip2locationio->lookup('8.8.8.8', 'en'); // The language parameter is only available for Plus and Security plan only.\r\n```\r\n\r\n### Lookup Domain Information\r\n```python\r\nimport ip2locationio\r\n\r\n# Configures IP2Location.io API key\r\nconfiguration = ip2locationio.Configuration('YOUR_API_KEY')\r\ndomainwhois = ip2locationio.DomainWHOIS(configuration)\r\n\r\n# Lookup domain information\r\nprint(domainwhois.lookup('example.com'))\r\n```\r\n\r\n### Convert Normal Text to Punycode\r\n```python\r\nimport ip2locationio\r\n\r\n# Configures IP2Location.io API key\r\nconfiguration = ip2locationio.Configuration('YOUR_API_KEY')\r\ndomainwhois = ip2locationio.DomainWHOIS(configuration)\r\n\r\n# Convert normal text to punycode\r\nprint(domainwhois.getpunycode('t\u00c3\u00a4st.de'))\r\n```\r\n\r\n### Convert Punycode to Normal Text\r\n```python\r\nimport ip2locationio\r\n\r\n# Configures IP2Location.io API key\r\nconfiguration = ip2locationio.Configuration('YOUR_API_KEY')\r\ndomainwhois = ip2locationio.DomainWHOIS(configuration)\r\n\r\n# Convert punycode to normal text\r\nprint(domainwhois.getnormaltext('xn--tst-qla.de'))\r\n```\r\n\r\n### Get Domain Name\r\n```python\r\nimport ip2locationio\r\n\r\n# Configures IP2Location.io API key\r\nconfiguration = ip2locationio.Configuration('YOUR_API_KEY')\r\ndomainwhois = ip2locationio.DomainWHOIS(configuration)\r\n\r\n# Get domain name from URL\r\nprint(domainwhois.getdomainname('https://www.example.com/exe'))\r\n```\r\n\r\n### Get Domain Extension\r\n```python\r\nimport ip2locationio\r\n\r\n# Configures IP2Location.io API key\r\nconfiguration = ip2locationio.Configuration('YOUR_API_KEY')\r\ndomainwhois = ip2locationio.DomainWHOIS(configuration)\r\n\r\n# Get domain extension (gTLD or ccTLD) from URL or domain name\r\nprint(domainwhois.getdomainextension('example.com'))\r\n```\r\n\r\n\r\nResponse Parameter\r\n============\r\n### IP Geolocation Lookup function\r\n| Parameter | Type | Description |\r\n|---|---|---|\r\n|ip|string|IP address.|\r\n|country_code|string|Two-character country code based on ISO 3166.|\r\n|country_name|string|Country name based on ISO 3166.|\r\n|region_name|string|Region or state name.|\r\n|city_name|string|City name.|\r\n|latitude|double|City latitude. Defaults to capital city latitude if city is unknown.|\r\n|longitude|double|City longitude. Defaults to capital city longitude if city is unknown.|\r\n|zip_code|string|ZIP/Postal code.|\r\n|time_zone|string|UTC time zone (with DST supported).|\r\n|asn|string|Autonomous system number (ASN).|\r\n|as|string|Autonomous system (AS) name.|\r\n|isp|string|Internet Service Provider or company's name.|\r\n|domain|string|Internet domain name associated with IP address range.|\r\n|net_speed|string|Internet connection type. DIAL = dial-up, DSL = broadband/cable/fiber/mobile, COMP = company/T1|\r\n|idd_code|string|The IDD prefix to call the city from another country.|\r\n|area_code|string|A varying length number assigned to geographic areas for calls between cities.|\r\n|weather_station_code|string|The special code to identify the nearest weather observation station.|\r\n|weather_station_name|string|The name of the nearest weather observation station.|\r\n|mcc|string|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.|\r\n|mnc|string|Mobile Network Code (MNC) is used in combination with a Mobile Country Code (MCC) to uniquely identify a mobile phone operator or carrier.|\r\n|mobile_brand|string|Commercial brand associated with the mobile carrier.|\r\n|elevation|integer|Average height of city above sea level in meters (m).|\r\n|usage_type|string|Usage type classification of ISP or company.|\r\n|address_type|string|IP address types as defined in Internet Protocol version 4 (IPv4) and Internet Protocol version 6 (IPv6).|\r\n|continent.name|string|Continent name.|\r\n|continent.code|string|Two-character continent code.|\r\n|continent.hemisphere|array|The hemisphere of where the country located. The data in array format with first item indicates (north/south) hemisphere and second item indicates (east/west) hemisphere information.|\r\n|continent.translation|object|Translation data based on the given lang code.|\r\n|country.name|string|Country name based on ISO 3166.|\r\n|country.alpha3_code|string|Three-character country code based on ISO 3166.|\r\n|country.numeric_code|string|Three-character country numeric code based on ISO 3166.|\r\n|country.demonym|string|Native of the country.|\r\n|country.flag|string|URL of the country flag image.|\r\n|country.capital|string|Capital of the country.|\r\n|country.total_area|integer|Total area in km2.|\r\n|country.population|integer|Population of the country.|\r\n|country.currency|object|Currency of the country.|\r\n|country.language|object|Language of the country.|\r\n|country.tld|string|Country-Code Top-Level Domain.|\r\n|country.translation|object|Translation data based on the given lang code.|\r\n|region.name|string|Region or state name.|\r\n|region.code|string|ISO3166-2 code.|\r\n|region.translation|object|Translation data based on the given lang code.|\r\n|city.name|string| City name.|\r\n|city.translation|object|Translation data based on the given lang code.|\r\n|time_zone_info.olson|string|Time zone in Olson format.|\r\n|time_zone_info.current_time|string|Current time in ISO 8601 format.|\r\n|time_zone_info.gmt_offset|integer|GMT offset value in seconds.|\r\n|time_zone_info.is_dst|boolean|Indicate if the time zone value is in DST.|\r\n|time_zone_info.sunrise|string|Time of sunrise. (hh:mm format in local time, i.e, 07:47)|\r\n|time_zone_info.sunset|string|Time of sunset. (hh:mm format in local time, i.e 19:50)|\r\n|geotargeting.metro|string|Metro code based on zip/postal code.|\r\n|ads_category|string|The domain category code based on IAB Tech Lab Content Taxonomy.|\r\n|ads_category_name|string|The domain category based on IAB Tech Lab Content Taxonomy. These categories are comprised of Tier-1 and Tier-2 (if available) level categories widely used in services like advertising, Internet security and filtering appliances.|\r\n|is_proxy|boolean|Whether is a proxy or not.|\r\n|proxy.last_seen|integer|Proxy last seen in days.|\r\n|proxy.proxy_type|string|Type of proxy.|\r\n|proxy.threat|string|Security threat reported.|\r\n|proxy.provider|string|Name of VPN provider if available.|\r\n\r\n```python\r\n{'ip': '8.8.8.8', 'country_code': 'US', 'country_name': 'United States of America', 'region_name': 'California', 'city_name': 'Mountain View', 'latitude': 37.405992, 'longitude': -122.078515, 'zip_code': '94043', 'time_zone': '-07:00', 'asn': '15169', 'as': 'Google LLC', 'isp': 'Google LLC', 'domain': 'google.com', 'net_speed': 'T1', 'idd_code': '1', 'area_code': '650', 'weather_station_code': 'USCA0746', 'weather_station_name': 'Mountain View', 'mcc': '-', 'mnc': '-', 'mobile_brand': '-', 'elevation': 32, 'usage_type': 'DCH', 'address_type': 'Anycast', 'continent': {'name': 'North America', 'code': 'NA', 'hemisphere': ['north', 'west'], 'translation': {'lang': None, 'value': None}}, 'district': 'Santa Clara County', 'country': {'name': 'United States of America', 'alpha3_code': 'USA', 'numeric_code': 840, 'demonym': 'Americans', 'flag': 'https://cdn.ip2location.io/assets/img/flags/us.png', 'capital': 'Washington, D.C.', 'total_area': 9826675, 'population': 331002651, 'currency': {'code': 'USD', 'name': 'United States Dollar', 'symbol': '$'}, 'language': {'code': 'EN', 'name': 'English'}, 'tld': 'us', 'translation': {'lang': None, 'value': None}}, 'region': {'name': 'California', 'code': 'US-CA', 'translation': {'lang': '', 'value': ''}}, 'city': {'name': 'Mountain View', 'translation': {'lang': None, 'value': None}}, 'time_zone_info': {'olson': 'America/Los_Angeles', 'current_time': '2023-05-03T01:09:59-07:00', 'gmt_offset': -25200, 'is_dst': True, 'sunrise': '06:10', 'sunset': '19:59'}, 'geotargeting': {'metro': '807'}, 'ads_category': 'IAB19-11', 'ads_category_name': 'Data Centers', 'is_proxy': False, 'proxy': {'last_seen': 2, 'proxy_type': 'DCH', 'threat': '-', 'provider': '-'}}\r\n```\r\n\r\n### Domain WHOIS Lookup function\r\n| Parameter | Type | Description |\r\n|---|---|---|\r\n|domain|string|Domain name.|\r\n|domain_id|string|Domain name ID.|\r\n|status|string|Domain name status.|\r\n|create_date|string|Domain name creation date.|\r\n|update_date|string|Domain name updated date.|\r\n|expire_date|string|Domain name expiration date.|\r\n|domain_age|integer|Domain name age in day(s).|\r\n|whois_server|string|WHOIS server name.|\r\n|registrar.iana_id|string|Registrar IANA ID.|\r\n|registrar.name|string|Registrar name.|\r\n|registrar.url|string|Registrar URL.|\r\n|registrant.name|string|Registrant name.|\r\n|registrant.organization|string|Registrant organization.|\r\n|registrant.street_address|string|Registrant street address.|\r\n|registrant.city|string|Registrant city.|\r\n|registrant.region|string|Registrant region.|\r\n|registrant.zip_code|string|Registrant ZIP Code.|\r\n|registrant.country|string|Registrant country.|\r\n|registrant.phone|string|Registrant phone number.|\r\n|registrant.fax|string|Registrant fax number.|\r\n|registrant.email|string|Registrant email address.|\r\n|admin.name|string|Admin name.|\r\n|admin.organization|string|Admin organization.|\r\n|admin.street_address|string|Admin street address.|\r\n|admin.city|string|Admin city.|\r\n|admin.region|string|Admin region.|\r\n|admin.zip_code|string|Admin ZIP Code.|\r\n|admin.country|string|Admin country.|\r\n|admin.phone|string|Admin phone number.|\r\n|admin.fax|string|Admin fax number.|\r\n|admin.email|string|Admin email address.|\r\n|tech.name|string|Tech name.|\r\n|tech.organization|string|Tech organization.|\r\n|tech.street_address|string|Tech street address.|\r\n|tech.city|string|Tech city.|\r\n|tech.region|string|Tech region.|\r\n|tech.zip_code|string|Tech ZIP Code.|\r\n|tech.country|string|Tech country.|\r\n|tech.phone|string|Tech phone number.|\r\n|tech.fax|string|Tech fax number.|\r\n|tech.email|string|Tech email address.|\r\n|billing.name|string|Billing name.|\r\n|billing.organization|string|Billing organization.|\r\n|billing.street_address|string|Billing street address.|\r\n|billing.city|string|Billing city.|\r\n|billing.region|string|Billing region.|\r\n|billing.zip_code|string|Billing ZIP Code.|\r\n|billing.country|string|Billing country.|\r\n|billing.phone|string|Billing phone number.|\r\n|billing.fax|string|Billing fax number.|\r\n|billing.email|string|Billing email address.|\r\n|name_servers|array|Name servers|\r\n\r\n```python\r\n{'domain': 'example.com', 'domain_id': '2336799_DOMAIN_COM-VRSN', 'status': 'clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited', 'create_date': '1995-08-14T04:00:00Z', 'update_date': '2022-08-14T07:01:31Z', 'expire_date': '2023-08-13T04:00:00Z', 'domain_age': 10124, 'whois_server': 'whois.iana.org', 'registrar': {'iana_id': '376', 'name': 'RESERVED-Internet Assigned Numbers Authority', 'url': 'http://res-dom.iana.org'}, 'registrant': {'name': '', 'organization': '', 'street_address': '', 'city': '', 'region': '', 'zip_code': '', 'country': '', 'phone': '', 'fax': '', 'email': ''}, 'admin': {'name': '', 'organization': '', 'street_address': '', 'city': '', 'region': '', 'zip_code': '', 'country': '', 'phone': '', 'fax': '', 'email': ''}, 'tech': {'name': '', 'organization': '', 'street_address': '', 'city': '', 'region': '', 'zip_code': '', 'country': '', 'phone': '', 'fax': '', 'email': ''}, 'billing': {'name': '', 'organization': '', 'street_address': '', 'city': '', 'region': '', 'zip_code': '', 'country': '', 'phone': '', 'fax': '', 'email': ''}, 'nameservers': ['a.iana-servers.net', 'b.iana-servers.net']}\r\n```\r\n\r\n\r\nLICENCE\r\n=====================\r\nSee the LICENSE file.\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "IP2Location.io Python SDK to get geolocation info from IPv4 and IPv6 address.",
    "version": "1.0.0",
    "project_urls": {
        "Homepage": "https://github.com/ip2location/ip2location-io-python"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7d1ecae95a0091c0ec0fc28adb1723d01a1912ac46253bada5e7039693e354cf",
                "md5": "e0855c49379b1b074ae8e382e76f53f4",
                "sha256": "61080fb1bdb98f2a411368c70d59835a722cdea1b59d2ae295a72f16d9ad9c74"
            },
            "downloads": -1,
            "filename": "ip2locationio-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e0855c49379b1b074ae8e382e76f53f4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 16469,
            "upload_time": "2023-05-03T08:47:36",
            "upload_time_iso_8601": "2023-05-03T08:47:36.006888Z",
            "url": "https://files.pythonhosted.org/packages/7d/1e/cae95a0091c0ec0fc28adb1723d01a1912ac46253bada5e7039693e354cf/ip2locationio-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0574f3b05c36f408bac3787cf35de60e23930ee06f23f9dc48a399189bd65b9a",
                "md5": "910121d36352cc1a07a68a010d6b5ce5",
                "sha256": "c055c311480e1afec75591b6bcbc235e2e0279be777c275c6b9d5f15fff91f85"
            },
            "downloads": -1,
            "filename": "ip2locationio-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "910121d36352cc1a07a68a010d6b5ce5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 20068,
            "upload_time": "2023-05-03T08:47:38",
            "upload_time_iso_8601": "2023-05-03T08:47:38.641140Z",
            "url": "https://files.pythonhosted.org/packages/05/74/f3b05c36f408bac3787cf35de60e23930ee06f23f9dc48a399189bd65b9a/ip2locationio-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-03 08:47:38",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ip2location",
    "github_project": "ip2location-io-python",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "ip2locationio"
}
        
Elapsed time: 0.07452s