CtheSky / namecom

A python library that wraps v4 api of name.com. https://namecom.readthedocs.io/
MIT License
3 stars 0 forks source link

Overview

.. image:: https://circleci.com/gh/CtheSky/namecom.svg?style=svg :target: https://circleci.com/gh/CtheSky/namecom .. image:: https://codecov.io/gh/CtheSky/namecom/branch/master/graph/badge.svg :target: https://codecov.io/gh/CtheSky/namecom .. image:: https://img.shields.io/badge/python-2.7%2B%2C%203.4%2B-brightgreen.svg :target: https://github.com/CtheSky/namecom .. image:: https://img.shields.io/badge/pypi-v0.1.3-brightgreen.svg :target: https://pypi.org/project/pynamecom/

namecom is a python library that wraps v4 api of name.com <https://www.name.com>_, a domain name registrar.

Installation

If you haven't already, start by installing it with pip::

pip install --upgrade pynamecom

Quick Start

Use DnsApi to create a dns record:

.. sourcecode:: python

from namecom import Auth, DnsApi

auth = Auth('username', 'access_token')
api = DnsApi(domainName='example.org', auth=auth)

result = api.create_record(host='test', type='A', answer='10.0.0.1')

Documentation

Read more about this project at readthedocs <https://namecom.readthedocs.io/en/latest/>_: