Skip to main content

A wrapper for the WhoisXML API service

Project description

pywhoisxml

This Library is a wrapper for Whois Xml
api service . It offers many helper methods to get the commonly used data's easily.

Installation

From PyPI

pip install py3whoisxml

Whois Lookup Usage

from pywhoisxml.lookup import Lookup
l =Lookup('<API KEY>','vishnurao.tech')
print(l.is_available)
#Returns False as the Domain is Unavailable 
print(l.data)
# Returns the JSON Response Received from the API
print(l.balance)
#Returns the balance no if requests you can make to the API 
#Eg : 498

Email Verification API

from pywhoisxml.email_verification import  EmailVerification
e =EmailVerification('<API KEY>','test@gmail.com')
print(e.format_check)
#Returns whether the above check is passed

IP Geolocation API

from pywhoisxml.ip_geo import IpGeo
 e =IpGeo('<API KEY>',  '<IP> ')
 print(e.region)
# Returns the region of the IP
print(e.country)
# Returns the Country of the  IP

Project details


Release history Release notifications | RSS feed

This version

1.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py3whoisxm1-1.2.tar.gz (4.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page