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)
print(l.data)
print(l.balance)
Email Verification API
from pywhoisxml.email_verification import EmailVerification
e =EmailVerification('<API KEY>','test@gmail.com')
print(e.format_check)
IP Geolocation API
from pywhoisxml.ip_geo import IpGeo
e =IpGeo('<API KEY>', '<IP> ')
print(e.region)
print(e.country)