Skip to content
/ gopapi Public

GoDaddy API implementation with cached auth token and protected.

License

Notifications You must be signed in to change notification settings

gamikun/gopapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

GoDaddy API implementation with cached auth token and protected.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages