Skip to main content

Overview

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.
resp = client.purchase('whoisxmlapi.com')

for r in resp:
    print(r.registrar_name)

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

Metadata

Release files for whois-history 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for whois-history 1.0.3
File Size Uploaded Provenance Actions
whois-history-1.0.3.tar.gz 9.2 kB Without provenance Details for whois-history-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for whois-history 1.0.3
File Interpreter ABI Platform Actions
whois_history-1.0.3-py2.py3-none-any.whl Python 3, Python 2 none any Details for whois_history-1.0.3-py2.py3-none-any.whl

Total release size: 17.8 kB

Release files / whois-history-1.0.3.tar.gz

Download URL whois-history-1.0.3.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d70e380bc1619648aa71747d7966787b0d6f1196cd72e5547fd6357386d5583c
BLAKE2b-256 checksum
How to use checksums
1a1aff0a3fc55ea7bc0553febe519d417ed8bc9cbfcec950563ba429bc2d64f5
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / whois_history-1.0.3-py2.py3-none-any.whl

Download URL whois_history-1.0.3-py2.py3-none-any.whl
Size 8.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
5bbff991d8eafd61772ec407bd43fa0db7e025b360f02e98c598282c8d5eb70d
BLAKE2b-256 checksum
How to use checksums
50eee4e9fb59b6f77653e244e0846554975a11641921134ce1b0bc82e32695b0
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for whois-history 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page