Skip to main content

Python client to communicate with ANX DNS API

Project description

ANX API Client

This is an unofficial pythonic implementation of ANX's API, described here API documentation


This is alpha state software, and I haven't bothered with documentation yet.

Command line client

usage: [-h] [-k APIKEY] [-d DOMAIN] [-v]
               {get,g,add,a,update,u,delete,d,del} ...

optional arguments:
  -h, --help            show this help message and exit
  -k APIKEY, --apikey APIKEY
                        API key used in request header
  -d DOMAIN, --domain DOMAIN
                        Domain name
  -v, --verbose         Verbose

                        Action to perform
    get (g)             Get records
    add (a)             Add record
    update (u)          Update record
    delete (d, del)     Delete record

Client requires two parameters APIKEY and DOMAIN. These can be provided as ENV or arguments in the call.

export ANXDNS_APIKEY=keygoeshere


./bin/anxdnsclient -d --apikey keygoeshere


Get all records

./bin/anxdnsclient -d --apikey keygoeshere get

Get records by name

./bin/anxdnsapi get -n -d --apikey keygoeshere

Get TXT records by txt

./bin/anxdnsapi get -t txtrecord -d --apikey keygoeshere


  • Update of names
  • Test cases


Version 0.1

Released 10nd August 2019

  • Initial release

Project details

Release history Release notifications | RSS feed

This version


Download files

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

Files for pyanxdns, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size pyanxdns-0.2.tar.gz (9.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page