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. 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
Project details
Release history Release notifications | RSS feed
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.3.tar.gz
(9.2 kB
view details)
Built Distribution
File details
Details for the file whois-history-1.0.3.tar.gz
.
File metadata
- Download URL: whois-history-1.0.3.tar.gz
- Upload date:
- Size: 9.2 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | d70e380bc1619648aa71747d7966787b0d6f1196cd72e5547fd6357386d5583c |
|
MD5 | 91a2f1aa47491a1bd573884f14f84080 |
|
BLAKE2b-256 | 1a1aff0a3fc55ea7bc0553febe519d417ed8bc9cbfcec950563ba429bc2d64f5 |
File details
Details for the file whois_history-1.0.3-py2.py3-none-any.whl
.
File metadata
- Download URL: whois_history-1.0.3-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bbff991d8eafd61772ec407bd43fa0db7e025b360f02e98c598282c8d5eb70d |
|
MD5 | be63c9e75bd5b7c5716e89c8628cd1ee |
|
BLAKE2b-256 | 50eee4e9fb59b6f77653e244e0846554975a11641921134ce1b0bc82e32695b0 |