Skip to main content

Python wrapper around the subreg.cz SOAP API

Project description

Python wrapper around the subreg.cz SOAP API

Install

pip install python-subreg

Using

First import module and instance class

>>> from subreg import Api
>>> subreg = Api('username', 'password')
  • Get informations about a single domain from your account

    >>> domain_info = subreg.info_domain('example.com')
    >>> print domain_info
    
  • Get DNS Zone for domain

    >>> records = subreg.get_dns_zone('example.com')
    
  • Add DNS record to domain DNS zone

    >>> record = dict(name='', type='TXT', content='content')
    >>> record_id = subreg.add_dns_record('example.com', record)
    >>> print record_id
    
  • Set Google MX records

    >>> subreg.set_google_mx_records('example.com')
    
  • python-subreg documentation

  • Subreg API documentation

Project details


Release history Release notifications

This version
History Node

0.0.7

History Node

0.0.6

History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

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
python-subreg-0.0.7.tar.gz (7.5 kB) Copy SHA256 hash SHA256 Source None Jan 10, 2014

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