Skip to main content

Python wrapper around the domai.nr API

Project description

PyDomainr is a python wrapper around the domai.nr JSON API.

Installation:

pip install pydomainr

Usage:

1. Check For Availability Of Domain:

The URL of the domain is passed in the construct

from pydomainr import PyDomainr
dom = PyDomainr(CLIENTID, "naumanahm.ad")
print dom.is_available

2. Get Whois URL:

This will return the Whois URL of the domain

from pydomainr import PyDomainr
dom = PyDomainr(CLIENT_ID, "naumanahm.ad")
print dom.whois_url

3. Get A List Of Available Domains

This method will return the list of domains available

from pydomainr import PyDomainr
dom = PyDomainr(CLIENTID, "naumanahm.ad")
for each_domain in dom.available_domains():
      print each_domain

4. Get A list Of Domains That Are Taken

A List of taken lists are returned

from pydomainr import PyDomainr
dom = PyDomainr(CLIENTID, "naumanahm.ad")
for each_domain in dom.taken_domains():
      print each_domain

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

pydomainr-1.3.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

pydomainr-1.3-py2-none-any.whl (2.9 kB view details)

Uploaded Python 2

File details

Details for the file pydomainr-1.3.tar.gz.

File metadata

  • Download URL: pydomainr-1.3.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pydomainr-1.3.tar.gz
Algorithm Hash digest
SHA256 9aaaf01f8cc30348d1fe510d9bda9b1ca9369f8ab38af10b913e9bb2b6b6e10f
MD5 8989da875b82629a01e8b58639231885
BLAKE2b-256 c1c00a6e92ba530e69b12fb80ce2a39e85e6add9c4e3c8c9a072e06ba229e49b

See more details on using hashes here.

File details

Details for the file pydomainr-1.3-py2-none-any.whl.

File metadata

File hashes

Hashes for pydomainr-1.3-py2-none-any.whl
Algorithm Hash digest
SHA256 8eb07d2c4e8cd2e3e91920331fc1331e013ef9f083771c694308003ed9a9f29b
MD5 589bdc81c8215c4b781956693503946b
BLAKE2b-256 c25bafa722cbe93549cb09943a43d054ece4d5af1a9f275af8e406d9c5582b56

See more details on using hashes here.

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