Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

A simple wrapper for the OnlineNIC API.

Project description

=========
OnlineNIC
=========

A simple wrapper for the `OnlineNIC`<http://www.onlinenic.com> API.

Usage
-----

Registering a domain name::

import onlinenic

on = onlinenic.OnlineNIC('135610', '654123')

result = on.create_contact(domaintype='0',
name='John Doe',
org='Widgets 'R Us, Inc.',
street='123 Main St',
city='Plainsville',
province='PA',
postalcode='12345',
country='US',
voice='+1.1234567890',
fax='+1.1234567890',
email='johndoe@whocares.com',
password='abc123')

contactid = result['data']['contactid']

result = on.create_domain(domain='somedomain.com',
period='1',
registrant=contactid,
admin=contactid,
tech=contactid,
billing=contactid,
password='abc123',
dns=['ns1.dnsprovider.com',
'ns2.dnsprovider.com'])

Project details


Release history Release notifications

This version
History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
OnlineNIC-0.1.2.tar.gz (6.6 kB) Copy SHA256 hash SHA256 Source None Oct 5, 2013
OnlineNIC-0.1.2.zip (9.2 kB) Copy SHA256 hash SHA256 Source None Oct 5, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page