Skip to main content

3rd Party Client Library for Manipulating Go Daddy DNS Records.

Project description

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

0.2.0 (2015-03-11)

  • Added logging messages to add, delete, edit, save, and update methods

0.1.9 (2015-03-11)

  • Fix _split_hostname() method (thanks to @artoleus and @sjpengelly)

0.1.8 (2015-02-28)

  • Fix “.co.uk” type of domain (thanks to @sjpengelly)

0.1.7 (2015-02-02)

  • Fix CSRF (thanks to @DanChianucci)

0.1.1-0.1.6 (2013-07-12)

  • Fix a lot pypi stuff

0.1.0 (2013-07-12)

  • Birth!

0.0.1 (2011-07-12)

  • Frustration

  • Conception

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

pygodaddy-0.2.2.tar.gz (5.4 kB view details)

Uploaded Source

File details

Details for the file pygodaddy-0.2.2.tar.gz.

File metadata

  • Download URL: pygodaddy-0.2.2.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pygodaddy-0.2.2.tar.gz
Algorithm Hash digest
SHA256 de48ec307ddecee00a366b04fe721137a62bd1e4513cf85949205bbbc793ed62
MD5 e99157dd67fc36a7a381cce7f2457f83
BLAKE2b-256 0c47fb9827bef41d19bf6d3cba5efb66dd8d186cc9793fef586d624ea6b7068b

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