3rd Party Client Library for Manipulating Go Daddy DNS Records.
Clone or download
Latest commit 8add518 Mar 27, 2015
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs update docs Jul 16, 2013
pygodaddy Added Python3 support Mar 24, 2015
tests Added Python3 support Mar 24, 2015
.gitignore Added Python3 support Mar 24, 2015
.travis.yml Added Python3 support Mar 24, 2015
HISTORY.rst Addresses issue #4 - if no update was required, that is now logged by… Mar 11, 2015
LICENSE pump 0.1.3 Jul 12, 2013
MANIFEST.in pump to 0.1.1 Jul 12, 2013
README.rst added build result png Jul 14, 2013
requirements.txt Add dependency tldextract Mar 22, 2015
setup.py Added Python3 support Mar 24, 2015
tox.ini Added Python3 support Mar 24, 2015

README.rst

pygodaddy

https://travis-ci.org/observerss/pygodaddy.png?branch=master

PyGoDaddy is a 3rd-party client library, written in Python, for site admins(devs), to make GoDaddy suck less.

Currently, Only A-Record manipulation is supported

Features

  • Login with a USERNAME and a PASSWORD
  • CREATE, READ, UPDATE, DELETE your domain's DNS Records (A-Record only for now)

INSTALL

To install pygodaddy, simply:

pip install pygodaddy

QUICKSTART

from pygodaddy import GoDaddyClient
client = GoDaddyClient()
if client.login(username, password):
    print client.find_domains()
    client.update_dns_record('sub.example.com', '1.2.3.4')

DOCS

https://pygodaddy.readthedocs.org/

Or you can always refer to docstrings and tests

TESTING

Create a file in tests/accounts.py

Put settings in this file:

accounts = [
    {
        'username': 'USERNAME',
        'password': 'PASSWORD',
        'test_domain': 'DOMAIN.NAME',
    },
]

run nosetests tests in root directory