Overview
The client library for Reverse Whois API in Python language.
The minimum Python version is 3.6.
Installation
pip install reverse-whois
Examples
Full API documentation available here
Create a new client
from reversewhois import *
client = Client('Your API key')
Make basic requests
# Get the number of domains.
terms = {
'include': ['blog']
}
result = client.preview(basic_terms=terms)
print(result.domains_count)
# Get raw API response
raw_result = client.raw_data(
basic_terms=terms,
response_format=Client.XML_FORMAT,
mode=Client.PREVIEW_MODE)
# Get list of registered/dropped domains (up to 10,000)
result = client.purchase(
basic_terms=terms
)
Advanced usage
Extra request parameters
advanced_terms = [{
'field': Fields.domain_name,
'term': "whoisxmlapi.*"
}]
updated_date = datetime.date(2020, 1, 1)
result = client.purchase(
advanced_terms=advanced_terms,
updated_date_from=updated_date,
include_audit_dates=True,
punycode=False)
#Next page
response = client.purchase(
basic_terms=terms
)
if response.has_next():
next_page = client.next_page(
current_page=response,
basic_terms=terms
)
#Iterating
for page in client.iterate_pages(basic_terms=terms):
print(page)
Changelog
1.0.0 (2021-05-25)
First release
Metadata
Release files for reverse-whois 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| reverse-whois-1.0.0.tar.gz | 11.9 kB | Without provenance | Details for reverse-whois-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| reverse_whois-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for reverse_whois-1.0.0-py3-none-any.whl |
Total release size: 24.4 kB
Release files / reverse-whois-1.0.0.tar.gz
| Download URL | reverse-whois-1.0.0.tar.gz |
|---|---|
| Size | 11.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2d49122acb4659d8f34f21c85624e3cd04b68522bf0e7b2d181f6876286d06b5
|
|
BLAKE2b-256 checksum How to use checksums |
40f52d39a64a041ffa975ee0e738410b1787e56e5fa44ec06c84f81e3dcfe0d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5
|
Release files / reverse_whois-1.0.0-py3-none-any.whl
| Download URL | reverse_whois-1.0.0-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
95c1266169c02cb0a655fd9dbce5ce8d9bb3b7860fcc073ad88f7bfe367d887f
|
|
BLAKE2b-256 checksum How to use checksums |
cf1d405c9988878d15c4eb46f14d3a964fac650200a68b385ae5c321673a1065
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5
|
Security for reverse-whois 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.