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 hashes)
Built Distribution
Close
Hashes for whois_history-1.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bbff991d8eafd61772ec407bd43fa0db7e025b360f02e98c598282c8d5eb70d |
|
MD5 | be63c9e75bd5b7c5716e89c8628cd1ee |
|
BLAKE2b-256 | 50eee4e9fb59b6f77653e244e0846554975a11641921134ce1b0bc82e32695b0 |