A command line GoDaddy API Implementation (in Python)

Words
144
Reading
1 min
Listen
Play
9y

cli_py_—_godaddy.png

  • What is the project about?
    Implementation of GoDaddy API.
  • Technology Stack
    Python 2.7/3.x and "requests" module for http requests to GoDaddy API.
  • Roadmap
    For now there are two methods: list dns records and add a dns record. There are lot of missing API endpoints, but for now it's stable.
  • How to contribute?
    I need to implement other GoDaddy methods. I will be validating and accepting pull requests from your forks or I may give you access depending on how interested are you in working in this project.

Security

The auth key and secret are stored and ciphered with AES encryption in a file, given a password to protect it.

Installation

pip install gopapi

Some examples:

Listing a domain DNS records

gopapi domain yourdomain.com records

Adding a dns records

gopapi domain yourdomain.com add-record CNAME asubdomain another.domain.com
# where another.domain.com is the domain this CNAME record will point.

References

GoDaddy API DOCS

Extras

Papi stands for "daddy" in spanish.



Posted on Utopian.io - Rewarding Open Source Contributors

A command line GoDaddy API Implementation (in Python) | Ecency