Gandi.net live DNS client Api
Project description
Gandi.net live DNS API Client Python Library
Easily search for trips!
Installation
Works on 3.x python.
pip install gandi-api-livedns
Usage
from gandi_api_livedns import GandiApiLiveDNS
# initialize API
gandiApiLiveDNS = GandiApiLiveDNS(api_key="__your_api_key_here__")
# set rrname and domain
gandiApiLiveDNS.rrname = 'dummy'
gandiApiLiveDNS.domain = 'mydomain.com'
# get real ip
RealIP = gandiApiLiveDNS.getRealIP()
pprint.pprint(RealIP)
# get registered dns record
DNSRecord = gandiApiLiveDNS.getDNSRecord()
pprint.pprint(DNSRecord)
# update dns record with detected ip
updateDNSRecord = gandiApiLiveDNS.updateDNSRecord()
pprint.pprint(updateDNSRecord)
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gandi-api-livedns-0.3.0.tar.gz.
File metadata
- Download URL: gandi-api-livedns-0.3.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
acf113fb1328d45ede0a473e3fed7b8a901308724e60f328eec7b2bcc78b5b50
|
|
| MD5 |
d49fc829db70ff4d1b940aa5ba35afa3
|
|
| BLAKE2b-256 |
f19394de6ca3eb630b8d82852683118c617e075024e066b28a51ad61f7095a49
|
File details
Details for the file gandi_api_livedns-0.3.0-py3-none-any.whl.
File metadata
- Download URL: gandi_api_livedns-0.3.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b216ff5e13792d30ab0562a2f2f3afbb7ea13718d152eeab8e79fcd30be6898d
|
|
| MD5 |
549398ffbf4b1626ca8978c9a41a7650
|
|
| BLAKE2b-256 |
82e5afa16171ab31fa15f6f670e7bf4d40e2500f7e306a5d1e9f9fcfb0e13aec
|