Metadata-Version: 2.1
Name: whois-history
Version: 1.0.2
Summary: Python client library for Whois History API.
Home-page: https://github.com/whois-api-llc/whois-history-py
Author: WHOIS API, Inc
Author-email: support@whoisxmlapi.com
License: MIT
Keywords: whois,api,whois history,whoisxmlapi
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Unix
Classifier: Operating System :: POSIX
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Utilities
Requires-Python: ~=3.6
Requires-Dist: requests
Provides-Extra: dev
Requires-Dist: mock ; extra == 'dev'
Requires-Dist: tox ; extra == 'dev'

========
Overview
========

The client library for
`Whois History API <https://whois-history.whoisxmlapi.com/>`_
in Python language.

The minimum Python version is 3.6.

Installation
============
::

    pip install whois-history

Examples
========

Full API documentation available `here <https://whois-history.whoisxmlapi.com/api/documentation/making-requests>`_

Create a new client
-------------------

::

    from whoishistory import ApiClient

    client = ApiClient('Your API key')

Make basic requests
-------------------

::

    # Check how many records available. It doesn't deduct credits.
    print(client.preview('whoisxmlapi.com'))

    # Get actual list of records.
    print(client.purchase('whoisxmlapi.com'))


Additional options
-------------------
You can specify search options for these methods.


::

    import datetime

    d = datetime.date(2017, 1, 1)

    print(client.preview('whoisxmlapi.com'),
          sinceDate=d,
          createdDateFrom=d,
          createdDateTo=d,
          updatedDateFrom=d,
          updatedDateTo=d,
          expiredDateFrom=d,
          expiredDateTo=d,
    )



Changelog
=========

1.0.0 (2020-05-01)
------------------

* First release


