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
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 details)
File details
Details for the file py3whoisxm1-1.2.tar.gz
.
File metadata
- Download URL: py3whoisxm1-1.2.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90f2d9e1c9d432c31b4eb53ad59d4c75a36d83197dbeda4da5372740efc5f22e |
|
MD5 | fc9bd3ceb7c55d8163f8b4f596db2daf |
|
BLAKE2b-256 | 4da85cde19ec0c44d374000375bf1c4eca4af8cdbb0680a02c5a51f94e220d1d |