SDK Reference

Updated at:

This topic provides version information, download links, and instructions for installing and using the Phone Number Protection service SDK for major programming languages.

SDK version guide

The Alibaba Cloud Phone Number Protection service OpenAPI portal provides both the V1.0 SDK and the V2.0 SDK. The V2.0 SDK offers improved robustness and a better user experience without changing any API features. The V1.0 SDK for the Phone Number Protection service is no longer maintained. We strongly recommend that you use the V2.0 SDK.

Note

The V1.0 SDK is the original version, and the V2.0 SDK is the upgraded version. For more information about the differences between them, see V2.0 SDK and V1.0 SDK.

Download SDKs for different languages

The source code for the Phone Number Protection service V2.0 SDK is hosted on GitHub and in major dependency repositories. You can install the SDK using the standard dependency management tool for your preferred language. You can also make calls using the CommonRequest method. For more information about the CommonRequest call method, see Generalized and specialized calls. You can find more sample code in the OpenAPI Developer Portal.

Major languages

GitHub address

Latest SDK download link

Java

java-dyplsapi-20170525

Download Java SDK

Python

python-dyplsapi-20170525

Download Python SDK

PHP

php-dyplsapi-20170525

Download PHP SDK

Go

go-dyplsapi-20170525

Download Go SDK

Node.js

nodejs-dyplsapi-20170525

Download Node.js SDK

C++

cpp-dyplsapi-20170525

Download C++ SDK

C#

csharp-dyplsapi-20170525

Download C# SDK

Swift

swift-dyplsapi-20170525

Download Swift SDK

Usage example

This scenario demonstrates how to use the Python SDK to attach an AXB number binding. For more information, see Python SDK call example.