.. pywhoisxmlapi documentation master file, created by sphinx-quickstart on Mon Feb 5 18:25:39 2018. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. =========================== pywhoisxmlapi documentation =========================== |Build Status| An unofficial client for WhoisXMLAPI Features ======== - Python 2 and 3 support - ``whois.py`` CLI utility for common queries with JSON and CSV output - Pythonic access to every WhoisXMLAPI service CLI help ======== :: whois.py - A CLI for WhoisXMLAPI Usage: whois.py balances whois.py [-d | --debug] [--verbose] [-o | --output=] whois.py bulk [-d | --debug] [--csv] [ -o | --output=] whois.py reverse [-d | --debug] [-p | --purchase] [--historic] ... [--exclude ... --since= --days-back= [-o | --output=]] whois.py history [-d | --debug] [-p | --purchase] [--since= [-o | --output=]] whois.py brand [-d | --debug] [-p | --purchase] ... [--exclude ... --since= [--csv] [-o | --output=]] whois.py registrant [-d | --debug] [-p | --purchase] ... [--exclude ... --since= [--csv] [-o |--output=]] whois.py reverse-ip [-d | --debug] [--verbose] [--csv] [-o | --output=] whois.py reverse-mx [-d | --debug] [--verbose] [--csv] [-o | --output=] whois.py reverse-ns [-d | --debug] [--verbose] [--csv] [-o | --output=] whois.py -h | --help whois.py --version Options: -h --help Show this screen -d --debug Enable debug output A path to a file containing one domain per line -o --output= Output to a file with this file name; the file extension is added automatically -p --purchase Purchase the results with Domain Research Suite (DRS) credits --since= Only include results since this date YYY-MM-DD format --days-back= Search back through this number of days (12 maximum) --historic Include historic results --csv Output in CSV format --verbose Return verbose data --version Show version .. note:: The ``whois.py`` CLI utility expects the API key to be stored in an environment variable called ``WHOIS_KEY``. Installation ============ On Debian or Ubuntu systems, run: .. code-block:: bash sudo apt-get install python3-pip On CentOS systems, run: .. code-block:: bash sudo yum install -y python34-setuptools sudo easy_install-3.4 pip Python 3 installers for Windows and macOS can be found at https://www.python.org/downloads/ To install or upgrade to the latest stable release of ``pywhoisxmlapi`` on macOS or Linux, run .. code-block:: bash sudo -H pip3 install -U pywhoisxmlapi Or, install the latest development release directly from GitHub: .. code-block:: bash sudo -H pip3 install -U git+https://github.com/seanthegeek/pywhoisxmlapi.git .. note:: On Windows, ``pip3`` is ``pip``, even with Python 3. So on Windows, substitute ``pip`` as an administrator in place of ``sudo pip3``, in the above commands. API === .. automodule:: pywhoisxmlapi :members: .. toctree:: :maxdepth: 2 :caption: Contents: Indices and tables ================== * :ref:`genindex` * :ref:`modindex` * :ref:`search` .. |Build Status| image:: https://travis-ci.org/seanthegeek/pywhoisxmlapi.svg?branch=master :target: https://travis-ci.org/seanthegeek/pywhoisxmlapi