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


Download files

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

Source Distribution

python-subreg-0.0.7.tar.gz (7.5 kB view details)

Uploaded Source

File details

Details for the file python-subreg-0.0.7.tar.gz.

File metadata

  • Download URL: python-subreg-0.0.7.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for python-subreg-0.0.7.tar.gz
Algorithm Hash digest
SHA256 cd33865eda3d468e58f0d276ceccc56c15e782bda30888590f9c83f2ed187996
MD5 11554b90012335ce801b95da802f55f4
BLAKE2b-256 2c9c5191621cfd727ee2eebac2166b44e883fd435d8d242069525a11c58f5808

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page