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
whois-history-1.0.3.tar.gz 9.2 kB Details

Built distribution (wheel)

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

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

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

2 release files

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