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

py3whoisxm1

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

py3whoisxm1

A wrapper for the WhoisXML API service

  • 1.2
  • PyPI
  • Socket score

Maintainers
1

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

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