Skip to main content

Python client library for Whois History API.

Project description

The client library for Whois History API in Python language.

The minimum Python version is 3.6.

Installation

pip install whois-history

Examples

Full API documentation available here

Create a new client

from whoishistory import ApiClient

client = ApiClient('Your API key')

Make basic requests

# Check how many records available. It doesn't deduct credits.
print(client.preview('whoisxmlapi.com'))

# Get actual list of records.
print(client.purchase('whoisxmlapi.com'))

Additional options

You can specify search options for these methods.

import datetime

d = datetime.date(2017, 1, 1)

print(client.preview('whoisxmlapi.com'),
      sinceDate=d,
      createdDateFrom=d,
      createdDateTo=d,
      updatedDateFrom=d,
      updatedDateTo=d,
      expiredDateFrom=d,
      expiredDateTo=d,
)

Changelog

1.0.0 (2020-05-01)

  • First release

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

whois-history-1.0.2.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

whois_history-1.0.2-py2.py3-none-any.whl (8.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file whois-history-1.0.2.tar.gz.

File metadata

  • Download URL: whois-history-1.0.2.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3rc1

File hashes

Hashes for whois-history-1.0.2.tar.gz
Algorithm Hash digest
SHA256 bc79b66ffa27417b7693d370796365e7984a54b12580743f0c03983c2b8c3cb2
MD5 ee771ad9ba1e0339c3f6c0d28d7ff1a4
BLAKE2b-256 7d5f9771912668170d95f2c3e3e2c156c9d855dc1efe6897910db8f90af87901

See more details on using hashes here.

File details

Details for the file whois_history-1.0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: whois_history-1.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3rc1

File hashes

Hashes for whois_history-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4247be41a3454090bdd3543a3a6db31cac34425b99cf4c7ce405b7da5fa41426
MD5 c4383efab141dc06bef0c78a5c943c64
BLAKE2b-256 2ed81a2c1ab18928f537dd6f77e9023d1e8c758805d59e98ee24b6fc432f19bf

See more details on using hashes here.

Supported by

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