Skip to main content

Python3 WhoisService data parser

Project description

Domain Availability API helps you check whether a domain name is available for registration quickly and accurately.

To get started you need a developer’s account with WhoisXmlApi.com. Authentication is required each time in order to use the API. The first 500 domain name availability lookups are complimentary when you register for a free developer account.

The maximum number of requests per second is 30. In case that the limit is breached, your subsequent requests will be rejected until the next second.

How do I get set up?

  • Install this script with:

    • pip3 py_whoisxmlapi –upgrade (or pip py_whoisxmlapi –upgrade )

  • ready to use it!

How do I use it

from py_whoisxmlapi import domainAvailability

usr = "user name"
pwd = "your Password"

domain = "google.com"

d = domainAvailability(usr, pwd)

data = d.getData(domain)

Output :

{"DomainInfo": {
  "domainAvailability": "UNAVAILABLE",
  "domainName": "google.com"
}}

Thats all!!

Who do I talk to?

License

Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)

You are free to:

  • Share — copy and redistribute the material in any medium or format

  • Adapt — remix, transform, and build upon the material

-The licensor cannot revoke these freedoms as long as you follow the license terms.-

Under the following terms:

  • Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.

  • NonCommercial — You may not use the material for commercial purposes.

  • ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.

Project details


Download files

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

Source Distribution

py_whoisxmlapi-0.1.4.tar.gz (3.0 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