Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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

Release History

This version
History Node

1.3

History Node

1.2

History Node

1.1

History Node

1.0

History Node

0.1

Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
pydomainr-1.3-py2-none-any.whl
(2.9 kB) Copy SHA256 Hash SHA256
Wheel py2 Jun 19, 2014
pydomainr-1.3.tar.gz
(2.0 kB) Copy SHA256 Hash SHA256
Source None Jun 19, 2014

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting