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'])
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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
OnlineNIC-0.1.2.zip
(9.2 kB
view details)
OnlineNIC-0.1.2.tar.gz
(6.6 kB
view details)
File details
Details for the file OnlineNIC-0.1.2.zip
.
File metadata
- Download URL: OnlineNIC-0.1.2.zip
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 948a819d6d5e5c484e700162b397f4e6d5af8f29cf6fdaea79f0017ec99cdc44 |
|
MD5 | 827b887a39c79a611a88612ab32fada6 |
|
BLAKE2b-256 | 8efdcd1b8887a18c5869e7565265f7b7abde68dd249b3ed644e7e1906737f76b |
File details
Details for the file OnlineNIC-0.1.2.tar.gz
.
File metadata
- Download URL: OnlineNIC-0.1.2.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bcbbad9706372d92eb96b5eae5228ab7e9a2889041a2be1433eae30080561e9 |
|
MD5 | 4d7f9011efb5dd5f21bd2404306be4a7 |
|
BLAKE2b-256 | 1a271ebbf782f56a0c3b01564a2bbc48b3327ed8380ec94152904984ed0afce3 |