{"id":21740907,"url":"https://github.com/whois-api-llc/domain-availability-py","last_synced_at":"2026-01-07T19:05:17.728Z","repository":{"id":57423556,"uuid":"362026421","full_name":"whois-api-llc/domain-availability-py","owner":"whois-api-llc","description":"Domain Availability API client library for Python","archived":false,"fork":false,"pushed_at":"2023-05-23T01:11:32.000Z","size":10,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-04T19:13:54.660Z","etag":null,"topics":["domain-availability","domain-availability-checker","python","whoisxmlapi"],"latest_commit_sha":null,"homepage":"https://domain-availability.whoisxmlapi.com/api","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/whois-api-llc.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-27T07:50:11.000Z","updated_at":"2024-08-12T20:12:31.000Z","dependencies_parsed_at":"2022-08-30T03:11:28.635Z","dependency_job_id":null,"html_url":"https://github.com/whois-api-llc/domain-availability-py","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whois-api-llc%2Fdomain-availability-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whois-api-llc%2Fdomain-availability-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whois-api-llc%2Fdomain-availability-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whois-api-llc%2Fdomain-availability-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whois-api-llc","download_url":"https://codeload.github.com/whois-api-llc/domain-availability-py/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246223324,"owners_count":20743168,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["domain-availability","domain-availability-checker","python","whoisxmlapi"],"created_at":"2024-11-26T06:15:51.838Z","updated_at":"2026-01-07T19:05:17.675Z","avatar_url":"https://github.com/whois-api-llc.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":".. image:: https://img.shields.io/badge/License-MIT-green.svg\n    :alt: domain-availability-py license\n    :target: https://opensource.org/licenses/MIT\n\n.. image:: https://img.shields.io/pypi/v/domain-availability.svg\n    :alt: domain-availability-py release\n    :target: https://pypi.org/project/domain-availability\n\n.. image:: https://github.com/whois-api-llc/domain-availability-py/workflows/Build/badge.svg\n    :alt: domain-availability-py build\n    :target: https://github.com/whois-api-llc/domain-availability-py/actions\n\n========\nOverview\n========\n\nThe client library for\n`Domain Availability API \u003chttps://domain-availability.whoisxmlapi.com/\u003e`_\nin Python language.\n\nThe minimum Python version is 3.6.\n\nInstallation\n============\n\n.. code-block:: shell\n\n    pip install domain-availability\n\nExamples\n========\n\nFull API documentation available `here \u003chttps://domain-availability.whoisxmlapi.com/api/documentation/making-requests\u003e`_\n\nCreate a new client\n-------------------\n\n.. code-block:: python\n\n    from domainavailability import *\n\n    client = Client('Your API key')\n\nMake basic requests\n-------------------\n\n.. code-block:: python\n\n    # Get parsed records as a model instance.\n    result = client.data('whoisxmlapi.com')\n    print(result.domain_availability)\n    if result.is_available() is True:\n        print('This domain name is available.')\n\n    # Get raw API response\n    raw_result = client.raw_data('whoisxmlapi.com')\n\nAdvanced usage\n-------------------\n\nExtra request parameters\n\n.. code-block:: python\n\n    result = client.data(\n        'whoisxmlapi.com',\n        mode=Client.DNS_AND_WHOIS_MODE,\n        credits_type=Client.DOMAIN_AVAILABILITY_CREDITS)\n\n    raw_result = client.raw_data(\n        'whoisxmlapi.com',\n        mode=Client.DNS_ONLY_MODE,\n        credits_type=Client.WHOIS_CREDITS,\n        output_format=Client.XML_FORMAT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhois-api-llc%2Fdomain-availability-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhois-api-llc%2Fdomain-availability-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhois-api-llc%2Fdomain-availability-py/lists"}