stuffcarlcodes / ns1-cli

NS1 Command Line Interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NS1 Command Line Interface (CLI)

Travis Build Status

ns1 is a both a command line program and REPL for accessing NS1, the Data Driven DNS platform.

Command Line

$ ns1 -h
usage: ns1 [-h] [-v ...] [-e <server>] [-k <key>] [-f <format>]
           [-t <transport>] [--ignore-ssl-errors] [--version]
           [<command>] [<args>...]

Options:
   -v                           Increase verbosity level. Can be used more
                                than once
   -k, --key <key>              Use the specified API Key
   -e, --endpoint <server>      Use the specified server endpoint
   -f, --format <format>        Output format: 'text'/'json'
                                [default: 'text']
   -t, --transport <transport>  Backend transport: 'basic'/'requests'/'twisted'
                                [default: 'requests'] if installed, O/W 'basic'
   --ignore-ssl-errors          Ignore SSL certificate errors
   -h, --help                   Show main usage help

If no command is specified, the NS1 console is opened to accept interactive
commands.

Commands:
   record    Create, retrieve, update, and delete records in a zone
   config    View and manipulate configuration settings
   help      Get help on a command
   zone      Create, retrieve, update, and delete zone SOA data
   qps       Retrieve real time queries per second

See 'ns1 help <command>' for more information on a specific command.

REPL

asciicast

Installation

$ pip install ns1cli

Documentation

http://ns1.com/api/

About

NS1 Command Line Interface

License:MIT License


Languages

Language:Python 100.0%