A dnspod api sdk
Project description
dnspod sdk
安装
pip install dnspod-sdk
使用
from dnspod_sdk import DnspodClient
token_id = 0
token = "<your token>"
user_agent = "程序英文名称/版本(联系邮箱))"
dc = DnspodClient(token_id, token, user_agent)
r = dc.post("/Info.Version")
print(r.json())
r = dc.post("/Domain.List", data={"type": "all", "length": 1})
print(r.json())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dnspod-sdk-0.0.1.tar.gz
(1.9 kB
view hashes)