Skip to main content

No project description provided

Project description

godaddy-api

PyPI - Version PyPI - Python Version


Table of Contents

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.

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

godaddy_api-0.0.1.tar.gz (8.0 kB view hashes)

Uploaded Source

Built Distribution

godaddy_api-0.0.1-py3-none-any.whl (9.0 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