A dnspod api 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())
Metadata
Release files for dnspod-sdk 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| dnspod-sdk-0.0.2.tar.gz | 1.9 kB | Without provenance | Details |
Release files / dnspod-sdk-0.0.2.tar.gz
| Download URL | dnspod-sdk-0.0.2.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f7ffbaf2f416965b09b19fa32fc5930d8ed067e4bbaeddc74685e923202bf42f
|
|
BLAKE2b-256 checksum How to use checksums |
f39814e689f60e85e5abbac594e0af4a4e7978933e246b5c755bbac15abec8e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5
|
Security for dnspod-sdk 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.