DnsDB Python SDK

build-status-image pypi-version python-version license

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)

相关链接