A Python SDK to communicate with DNSDB API v1
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dnsdb_sdk
tests
.gitignore
.travis.yml
LICENSE
README.rst
requirements.txt
setup.cfg
setup.py

README.rst

DnsDB Python SDK

https://coveralls.io/repos/github/dnsdb-team/dnsdb-python-sdk/badge.svg?branch=master

dnsdb-python-sdkDNSDB 为开发者提供的python SDK。使用该SDK,您可以方便的将DNSDB的查询服务集成到您的python应用中,您也可以利用它来导出查询结果。查看教程

Install

pip install --upgrade dnsdb-python-sdk

How to use

from dnsdb_sdk.api import APIClient

api_id = "your API ID"
api_key = "your API key"
client = APIClient(api_id, api_key)
result = client.search_dns(domain='github.com')
for record in result:
    print(record)

更多使用方法请 查看教程

Links