semvec/pypi-packages huggingface dataset:
pydomainr 1.3
Python wrapper around the domai.nr API
License: MIT

**PyDomainr**
=============

PyDomainr is a python wrapper around the domai.nr JSON API.

Installation:
~~~~~~~~~~~~~

.. code:: python

    pip install pydomainr

Usage:
~~~~~~

1. Check For Availability Of Domain:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The URL of the domain is passed in the construct

.. code:: python

    from pydomainr import PyDomainr
    dom = PyDomainr(CLIENTID, "naumanahm.ad")
    print dom.is_available

2. Get Whois URL:
^^^^^^^^^^^^^^^^^

This will return the Whois URL of the domain

.. code:: python

    from pydomainr import PyDomainr
    dom = PyDomainr(CLIENT_ID, "naumanahm.ad")
    print dom.whois_url

3. Get A List Of Available Domains
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This method will return the list of domains available

.. code:: python

    from pydomainr import PyDomainr
    dom = PyDomainr(CLIENTID, "naumanahm.ad")
    for each_domain in dom.available_domains():
          print each_domain

4. Get A list Of Domains That Are Taken
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

A List of taken lists are returned

.. code:: python

    from pydomainr import PyDomainr
    dom = PyDomainr(CLIENTID, "naumanahm.ad")
    for each_domain in dom.taken_domains():
          print each_domain