Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

whois-history

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

whois-history

Python client library for Whois History API.

  • 1.0.3
  • PyPI
  • Socket score

Maintainers
1

======== 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.
resp = client.purchase('whoisxmlapi.com')

for r in resp:
    print(r.registrar_name)

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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc