Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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”)

Release History

Release History

This version
History Node

0.0.2

History Node

0.0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pydnspod-0.0.2.tar.gz (3.6 kB) Copy SHA256 Checksum SHA256 Source Jul 10, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting