Skip to main content

Python wrapper around the domai.nr API

Project description

PyDomainr is a python wrapper for the domai.nr JSON API http://domai.nr/api/docs/json. Don’t forget to star the project on GitHub ;) https://github.com/itsnauman/PyDomainr

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("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.1.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for pydomainr-1.1.tar.gz
Algorithm Hash digest
SHA256 0ccd29e1ba685175cbab2e4bc01da7c0eb1d721a3c79a3471e79fa804adb63ac
MD5 e09a4084a07fcd5d4c041e4f5b31b95a
BLAKE2b-256 1a3d252ec6c0ad2ff3448b714046b446b0b60d687cafff3d47b52811011a46ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pydomainr-1.1-py2-none-any.whl
Algorithm Hash digest
SHA256 34ab90889e7149e8fc455a2fb4e9c917a56e40ae5d18396243cffe81e8262fb7
MD5 bc9fbeeba8e87010b83d4b29dddff370
BLAKE2b-256 c7a46f376f4dffaf5ff15c3c981ec25e621aa732d581e971dc9b635ac10f0cdd

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