The SDK for domain names encapsulates domain name-related APIs to simplify the development process. Developers can call API operations provided by the SDK to create, query, update, transfer, and renew domain names. Developers can also perform Domain Name System (DNS) management.
SDK versions
The SDK versions for domain names include SDK V2.0 and SDK V1.0. SDK V2.0 is the latest release. Compared with SDK V1.0, SDK V2.0 is more robust and easier to use. This provides developers with a better experience during development.
We recommend that you use SDK V2.0.
SDK download URLs
SDK for domain names V2.0 supports multiple programming languages. You can install the SDK by using the method that is provided in OpenAPI Explorer. You can also view the source code and related installation guidelines on the open source platform GitHub. We recommend that you install the SDK by using mainstream dependency management tools of programming languages.
Programming language | SDK installation URL | GitHub address | References |
Java | |||
Python | |||
PHP | |||
Node.js | |||
Go | |||
C# |
Examples
The following example shows how to use the SDK for domain names to submit a task for registering a domain name.