digicert / dnstrust-constellix-python-sdk

Constellix Python 3 SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python SDK for Constellix API v4

Setup

In order to get this SDK works for python, you need to get installed: PIP, setuptools and requests

To install dnsmesdk package locally, go to package root directory and execute the next command:

python2:

python setup.py install --old-and-unmanageable

python3:

python3 setup.py install --old-and-unmanageable

Usage Examples

Setting apikey and secretkey over environment variables

export CONSTELLIX_API_KEY=<api_key>
export CONSTELLIX_SECRET_KEY=<secret_key>
from constellixsdk import ConstellixApi
from sonarsdk import SonarApi

constellix = ConstellixApi()
sonar = SonarApi()

Passing apikey and secretkey to ConstellixApi and SonarApi objects

from constellixsdk import ConstellixApi
from sonarsdk import SonarApi

constellix = ConstellixApi("api_key", "secret_key")
sonar = SonarApi("api_key", "secret_key")

Please check examples folder for sample usages

About

Constellix Python 3 SDK


Languages

Language:Python 99.9%Language:Shell 0.1%