Overview
The client library for Domain Availability API in Python language.
The minimum Python version is 3.6.
Installation
pip install domain-availability
Examples
Full API documentation available here
Create a new client
from domainavailability import *
client = Client('Your API key')
Make basic requests
# Get parsed records as a model instance.
result = client.data('whoisxmlapi.com')
print(result.domain_availability)
if result.is_available() is True:
print('This domain name is available.')
# Get raw API response
raw_result = client.raw_data('whoisxmlapi.com')
Advanced usage
Extra request parameters
result = client.data(
'whoisxmlapi.com',
mode=Client.DNS_AND_WHOIS_MODE,
credits_type=Client.DOMAIN_AVAILABILITY_CREDITS)
raw_result = client.raw_data(
'whoisxmlapi.com',
mode=Client.DNS_ONLY_MODE,
credits_type=Client.WHOIS_CREDITS,
output_format=Client.XML_FORMAT)
Changelog
1.0.0 (2021-04-26)
First release
Metadata
Release files for domain-availability 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 |
|---|---|---|---|---|
| domain-availability-1.0.0.tar.gz | 8.5 kB | Without provenance | Details for domain-availability-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| domain_availability-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for domain_availability-1.0.0-py3-none-any.whl |
Total release size: 17.9 kB
Release files / domain-availability-1.0.0.tar.gz
| Download URL | domain-availability-1.0.0.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f9224ccec78ef6005001510e789b0681debf6f1a9b81949468a319ad8a71687e
|
|
BLAKE2b-256 checksum How to use checksums |
2d62429185e962ba12d148c7a8ab85d0954f3c2b7cd920b074ef11e65ea2af2f
|
| 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 / domain_availability-1.0.0-py3-none-any.whl
| Download URL | domain_availability-1.0.0-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aaa9112824540dea6151c7de4b0aa52f876fa71bfe911e1db76d16fb49316638
|
|
BLAKE2b-256 checksum How to use checksums |
96d3aed3771769d57089e0a69174f92aad1ccc171fa87e78ffec06d7c588d2a6
|
| 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 domain-availability 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.