godaddyapi 0.0.1
godaddy-api
Table of Contents
Installation
License
API environmental variables
API Key, Secret and URL are passed as environmental variables.
GODADDY_API_KEY for API Key
GODADDY_API_SECRET for API Secret
GODADDY_API_URL for API URL (https://api.ote-godaddy.com/ and https://api.godaddy.com/ at the time of writing)
Example:
export GODADDY_API_KEY='xxx'
export GODADDY_API_SECRET='yyy'
export GODADDY_API_URL='https://api.godaddy.com/'
CLI utility
Included CLI utility allows you to easily set A record. You still need to set API environmental variables.
Example for entire-domain.com:
export GODADDY_API_KEY='xxx'
export GODADDY_API_SECRET='yyy'
export GODADDY_API_URL='https://api.godaddy.com/'
python -m godaddy_api "entire-domain.com" "@" "123.123.123.123"
Example for subdomain.entire-domain.com:
export GODADDY_API_KEY='xxx'
export GODADDY_API_SECRET='yyy'
export GODADDY_API_URL='https://api.godaddy.com/'
python -m godaddy_api "entire-domain.com" "subdomain" "123.123.123.123"
Installation
pip install godaddy-api
License
godaddy-api is distributed under the terms of the Apache-2.0 license.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.