Skip to main content

This SDK provides users with the ability to perform IP geolocation lookup, domain WHOIS lookup and hosted domain information lookup through a web service.

Project description

IP2Location.io Python SDK

PyPI - Version PyPI - Python Version

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, fraud score 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.

There is also a Hosted Domain API that allowing users to get the list of hosted domain names by IP address in real time. The REST API supports both IPv4 and IPv6 address lookup.

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

Developer Documentation

To learn more about installation, usage, and code examples, please visit the developer documentation at https://ip2location-io-python.readthedocs.io/en/latest/index.html.

LICENCE

See the LICENSE file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ip2location_io-1.1.0.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ip2location_io-1.1.0-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file ip2location_io-1.1.0.tar.gz.

File metadata

  • Download URL: ip2location_io-1.1.0.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for ip2location_io-1.1.0.tar.gz
Algorithm Hash digest
SHA256 67fd560f8709a6ac799d2fa3363ca7063d7a099aa6414d29e1157a42fe46484f
MD5 69710de5580215d20a1e81e4c817f06c
BLAKE2b-256 f2eaba1e34742931c2a8e82be2c42c6f138085bf7cde53bab020ba4218d4b1ff

See more details on using hashes here.

File details

Details for the file ip2location_io-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: ip2location_io-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for ip2location_io-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0b703f51f86c76d158e2b1f3d93e5c6fc04a063f45e6f35eb8516cc952de1088
MD5 8c39b16219c75a6f41cf90bcd2abb077
BLAKE2b-256 d81fd07c9a5c9cb0de7f58db7b93991fa2bc23642c0ac3fb2894618b14a0cdce

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page