Client to connect to and manage DNS entries registered with VentraIP
Project description
# ventraip-vip-client
This is a small Python 3.6 compatible library which
## Installation
Install the latest production release:
```bash
pip install ventraip-vip-client
```
Install the latest development release:
```bash
git clone git@github.com:cmbrad/ventraip-vip-client.git
python setup.py install
```
## Examples
```python
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
This is a small Python 3.6 compatible library which
## Installation
Install the latest production release:
```bash
pip install ventraip-vip-client
```
Install the latest development release:
```bash
git clone git@github.com:cmbrad/ventraip-vip-client.git
python setup.py install
```
## Examples
```python
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
Close
Hashes for ventraip-vip-client-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5c10e71cb1d8a5ab4323ffaa6b231528ea10541c7194fe9dfdc85894d2055a2 |
|
MD5 | 6c587290fd65ef9f33eb736bff2cc16c |
|
BLAKE2b-256 | b61589e29ae103f0ee9daffc13e5673d4a1ef18efdc7ff33b05d1b72789ee75b |