Skip to content

Latest commit

 

History

History
59 lines (36 loc) · 1.23 KB

index.rst

File metadata and controls

59 lines (36 loc) · 1.23 KB

Welcome to pygodaddy's documentation!

.. toctree::
   :maxdepth: 2

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

Install

To install pygodaddy, simply:

pip install pygodaddy

Quick Start

First, import and initiate GoDaddyClient

from pygodaddy import GoDaddyClient
client = GoDaddyClient()

Then we can use login method to login, and update_dns_record method to update dns record (A-Record Only)

if client.login(username, password):
    client.update_dns_record('sub.example.com', '1.2.3.4')

A list of methods and be found in :ref:`api-documents` section below

API Documents

.. automodule:: pygodaddy.client
    :members:

Indices and tables