NS1 Python SDK
Python
Latest commit a095e03 Sep 30, 2016 @jyuan0 jyuan0 Bumps the version to 0.9.7

README.rst

NSONE Python SDK

Info:A Python SDK for accessing NSONE, the Data Driven DNS platform.
https://travis-ci.org/ns1/nsone-python.svg?branch=master

https://readthedocs.org/projects/nsone/badge/?version=latest

About

This package provides a python SDK for accessing the NSONE DNS platform and includes both a simple NSONE REST API wrapper as well as a higher level interface for managing zones, records, data feeds, and more. It supports synchronous and asynchronous transports.

Both python 2.7 and 3.3 are supported.

Installation

$ pip install nsone

Dependencies

None, but supports different transport backends. Currently supported:

  • requests (synchronous, the default if available)
  • urllib (synchronous, the default if requests isn't available)
  • twisted (asynchronous)

Other transports are easy to add, see transport

Examples

See the examples directory

Documentation

If you don't yet have an NSONE account, signup here (free)

You'll need an API Key. To create one, login to the portal and click on the Account button in the top right. Select Settings & Users, then add a new API Key at the bottom.

Contributions

We welcome contributions! Please fork on GitHub and submit a Pull Request.