New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pydnspod2

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pydnspod2

pydnspod - a dnspod api sdk

  • 0.1.0
  • PyPI
  • Socket score

Maintainers
1

pydnspod

pydnspod 是一个 DNSPod 国内版 API 的 Python SDK.

DNSPod API Docs

Installation

pip install pydnspod2

特性

  • 支持自定义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")

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc