Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gamikun/gopapi

GoDaddy API implementation with cached auth token and protected.
https://github.com/gamikun/gopapi

api cli godaddy python

Last synced: 5 days ago
JSON representation

GoDaddy API implementation with cached auth token and protected.

Awesome Lists containing this project

README

        

Papi stands for "daddy" in spanish.

# Authorization
API key and secret is ciphered with a AES using a password.

# Installation

pip install gopapi

# Usage

## Adding a DNS record to a domain

# A record
gopapi domain yourdomain.com add-record A subdomain 127.0.0.1
# Where A can also be CNAME
# 127.0.0.1 to be replaced with the actual IP

# CNAME
gopapi domain yourdomain.com add-record A subdomain 127.0.0.1
# Where A can also be CNAME
# 127.0.0.1 to be replaced with the actual IP

## Listing records of a domain

gopapi domain mydomain.com records
# and if you need to filter by record type
gopapi domain mydomain.com records -t cname

## Listing all domains in godaddy account

gopapi domains
# mydomain1.com
# mydomain2.com
# ...

## Check wether a domain is available to purchase or not

gopapi domain mexico.com check
# or with alias
gopapi domain mexico.com available