Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gandi-api-livedns

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gandi-api-livedns

Gandi.net live DNS client Api

  • 0.3.0
  • PyPI
  • Socket score

Maintainers
1

Gandi.net live DNS API Client Python Library

PyPI version

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)

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc