Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pyanxdns

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pyanxdns

Python client to communicate with ANX DNS API

  • 0.2.5
  • PyPI
  • Socket score

Maintainers
1

ANX API Client

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

Important information

PLEASE DON'T USE EARLIER VERSIONS THEN 0.2.5 SINCE IT INCLUDED A BAD DEPENDENCY

Documentation

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

Command line client

usage: main.py [-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

Actions:
  {get,g,add,a,update,u,delete,d,del}
                        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
export ANXDNS_DOMAIN=domain.se

or

./bin/anxdnsclient -d domain.se --apikey keygoeshere
Examples

Get all records

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

Get records by name

./bin/anxdnsapi get -n www.domain.se -d domain.se --apikey keygoeshere

Get TXT records by txt

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

TODO

  • Update of names
  • Test cases

Changelog

Version 0.2

Released 10nd August 2019

  • Initial release

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc