Skip to main content

desec.io python client

Project description

desec-python

A desec.io API client for python.

Installation

pip3 install desec

Usage

import desec

desec_token = "xxxx"

client = desec.Client(token=desec_token)
# Get info about a domain
result = client.get_domain("example.com")
print(result)
# Get all recordsets of a domain
results = client.get_rrsets("example.com")
print(results)

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

desec-0.0.3.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

desec-0.0.3-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

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