My favorites | Sign in
Project Home Source
Project Information
Members
Links

Subreg API

A python wrapper around the subreg.cz API

Author: Jaromir Fojtu <paiti@sychrovnet.cz>

Introduction

This library provides a pure python interfcace for the subreg.cz (domain registrar) API. Currenty, only few functions are implemented, but it will be extend to use all functions soon.

Installing/Building

Since this python wrapper is just two Python (.py) files, no fancy installer or setup tools are provided. Just copy it to your project folder and you are good to go.

Getting the code

View the trunk at: http://subreg-api.googlecode.com/svn/trunk/

Check out the latest development version anonymously with:

$ svn checkout http://subreg-api.googlecode.com/svn/trunk/ subreg-api

Using

from sapi import SubregService
subreg = SubregService()
subreg.login(username="SUBREG_USERNAME", password="SUBREG_PASSWORD")

print subreg.get_domain_list()

print subreg.check_cz_domains(['foobar.cz', 'barfoo.cz'])

subreg.get_domain_authid('foobar.cz')

Notes

subreg-api doesn't implement all API functions documented at https://subreg.cz/cz/api/manual/ for now. The naming convention si similar to it.

Licence

Complete info about BSD License: http://www.opensource.org/licenses/bsd-license.php
Powered by Google Project Hosting