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: 3 months ago
JSON representation
GoDaddy API implementation with cached auth token and protected.
- Host: GitHub
- URL: https://github.com/gamikun/gopapi
- Owner: gamikun
- License: mit
- Created: 2018-01-22T21:43:14.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-22T18:53:49.000Z (about 1 year ago)
- Last Synced: 2025-04-19T12:26:01.635Z (3 months ago)
- Topics: api, cli, godaddy, python
- Language: Python
- Size: 12.7 KB
- Stars: 5
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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