No project description provided
Project description
godaddy-api
Table of Contents
API environmental variables
API Key, Secret and URL are passed as environmental variables.
GODADDY_API_KEY
for API KeyGODADDY_API_SECRET
for API SecretGODADDY_API_URL
for API URL (https://api.ote-godaddy.com/
andhttps://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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
godaddy_api-0.0.1.tar.gz
(8.0 kB
view hashes)
Built Distribution
Close
Hashes for godaddy_api-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5f0de5902de8c44e0a3eaed53f1ca30df7d1ffc9c0e95d86ff98696d0b1a2dd |
|
MD5 | 8f960e8956f5f0e86b193e0585276481 |
|
BLAKE2b-256 | d843af2b989970d271360a378e16daf63c44e2fbb1ada3784fc20da20f480295 |