Skip to main content

Python wrapper around the SOAP API

Project description

Python wrapper around the SOAP API


pip install python-subreg


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('')
    >>> print domain_info
  • Get DNS Zone for domain

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

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

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

  • Subreg API documentation

Project details

Download files

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

Files for python-subreg, version 0.0.7
Filename, size File type Python version Upload date Hashes
Filename, size python-subreg-0.0.7.tar.gz (7.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page