Skip to main content

GoDaddy v1 API implementation with secured auth token.

Project description

gopappy

Inspo from here.

Installation

python -m pip install gopappy

Usage

Adding a DNS record to a domain

# A record
gopappy add-record $DOMAIN -t A -n subdomain 127.0.0.1

# CNAME
gopappy add-record $DOMAIN -t CNAME -n www -d $DOMAIN

# TXT
gopappy add-record $DOMAIN -t TXT -n subdomain -d "some text here"

Deleting a DNS record from a domain

gopappy delete-record $DOMAIN -t A -n subdomain

Listing records of a domain

# list all records
gopappy records $DOMAIN

# filter by record type
gopappy records $DOMAIN -t cname

Listing all domains in godaddy account

gopappy domains
# mydomain1.com
# mydomain2.com

Check whether a domain is available to purchase or not

gopappy check $DOMAIN 

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gopappy-1.6.2.tar.gz (5.7 kB view hashes)

Uploaded Source

Built Distribution

gopappy-1.6.2-py3-none-any.whl (6.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page