Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/gamikun/gopapi
- Owner: gamikun
- License: mit
- Created: 2018-01-22T21:43:14.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-22T18:53:49.000Z (6 months ago)
- Last Synced: 2024-11-08T09:50:34.702Z (7 days ago)
- Topics: api, cli, godaddy, python
- Language: Python
- Size: 12.7 KB
- Stars: 4
- Watchers: 2
- 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