Skip to main content

Python wrapper for the domai.nr API

Project description

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

Installation:

pip install https://github.com/itsnauman/PyDomainr/archive/1.0.tar.gz

Usage:

1. Check For Availability Of Domain:

The URL of the domain is passed in the construct

from pydomainr import PyDomainr
dom = PyDomainr("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("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("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("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.0.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for pydomainr-1.0.tar.gz
Algorithm Hash digest
SHA256 d84c1e5aecec1508738e7d2bcc640308dc48264e37628d84fc78a3f5acb00ff3
MD5 47668299f63a35fe3aead47d100bff0d
BLAKE2b-256 992ed014d196d1079620b60b68c7f2516dc89b9887f37a4f9274645f05357c85

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pydomainr-1.0-py2-none-any.whl
Algorithm Hash digest
SHA256 fad30d8c4434f5ad5ac85aca992808a0f7ed485d778c16310365541086d1ea89
MD5 dc912b2b1ba50e29fab06b1ee61f03bc
BLAKE2b-256 15be6c17b45b1aa57dbb79a7eb2ea7054ef19f9c88feaaa71a24de11814b1d8e

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