Skip to main content

Client to connect to and manage DNS entries registered with VentraIP

Project description

A Python 3.6 compatible library which can manage DNS entries registered with VentraIP

Installation

Install the latest production release:

pip install ventraip-vip-client

Install the latest development release:

git clone git@github.com:cmbrad/ventraip-vip-client.git
python setup.py install

Examples

from ventraip import VipClient
vip_client = VipClient()
vip_client.login(email='your email/username', password='your password')

# Fetch all domains associated with the account
domains = vip_client.domains()
for domain in domains:
    # Fetch all records associated with the domain
    dns_records = vip_client.dns_records(domain.internal_id)

    # For each record, delete it (DANGEROUS!!!)
    for dns_record in dns_records:
        vip_client.remove_dns_record(domain_id=domain.internal_id, dns_record_id=dns_record.internal_id)

TODO

  • Add unit tests

  • Publish to pypi

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

ventraip-vip-client-0.1.0.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file ventraip-vip-client-0.1.0.tar.gz.

File metadata

File hashes

Hashes for ventraip-vip-client-0.1.0.tar.gz
Algorithm Hash digest
SHA256 438a540710e2a9dabf020ee9c3a8107ec71472150a7f3ac5e8e97173d0c2c94d
MD5 e59ea89560368bc1b412c9d7d5a74b51
BLAKE2b-256 1dd32105587f82a9acb6740f95340e05d53187599dadcb9218b583ed40b92ef2

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