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 hashes)