Skip to main content
domain-availability-py license domain-availability-py release domain-availability-py build

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)

Source distribution for domain-availability 1.0.0
File Size Uploaded
domain-availability-1.0.0.tar.gz 8.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for domain-availability 1.0.0
File Interpreter ABI Platform
domain_availability-1.0.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page