Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/whois-api-llc/whois-history-py
Whois History API client library for Python
https://github.com/whois-api-llc/whois-history-py
python whois whois-api whois-history whoisxmlapi
Last synced: 27 days ago
JSON representation
Whois History API client library for Python
- Host: GitHub
- URL: https://github.com/whois-api-llc/whois-history-py
- Owner: whois-api-llc
- License: mit
- Created: 2020-05-08T09:12:12.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-20T08:10:01.000Z (over 4 years ago)
- Last Synced: 2024-10-14T04:46:57.071Z (2 months ago)
- Topics: python, whois, whois-api, whois-history, whoisxmlapi
- Language: Python
- Homepage: https://whois-history.whoisxmlapi.com/api
- Size: 9.77 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.rst
- License: LICENSE
Awesome Lists containing this project
README
========
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,
)