pydnspod - a dnspod api sdk
Project description
# pydnspod
#关于
pydnspod是一个DNSPod国内版API的Python SDK.
#特性
支持自定义User-Agent
支持D令牌
发送请求前检查是否遗漏参数,避免无效请求
使用命名参数,可以单独指定特定api的返回结果的format、lang
#使用方法
from pydnspod import pydnspod
- if __name__ == “__main__”:
login_email = ‘’ login_password = ‘’ api = pydnspod.Api(login_email, login_password) print api.version()
user_manager=pydnspod.User(login_email, login_password) print user_manager.detail()
domain_manager = pydnspod.Domain(login_email, login_password) print domain_manager.create(domain=”domain.name”) print domain_manager.info(domain=”domain.name”)
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
pydnspod-0.0.2.tar.gz
(3.6 kB
view details)
File details
Details for the file pydnspod-0.0.2.tar.gz
.
File metadata
- Download URL: pydnspod-0.0.2.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62a829b70bfb7021d5f0f1f06e8dff4b37c0de5d7be190282a4d4538cd152e01 |
|
MD5 | b44761467bc2e28e60210331387af39b |
|
BLAKE2b-256 | b868c587ae51f493c8afd87335375b13bd6da227fd48f513e793151a98ba7aa0 |