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
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.2.tar.gz
(9.1 kB
view hashes)
Built Distribution
Close
Hashes for whois_history-1.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4247be41a3454090bdd3543a3a6db31cac34425b99cf4c7ce405b7da5fa41426 |
|
MD5 | c4383efab141dc06bef0c78a5c943c64 |
|
BLAKE2b-256 | 2ed81a2c1ab18928f537dd6f77e9023d1e8c758805d59e98ee24b6fc432f19bf |