SDK reference
Learn about Cell Phone Number Service SDK versions, and how to download, install, and use the SDKs for popular languages.
SDK version guide
The Cell Phone Number Service OpenAPI Portal provides both V1.0 SDK and V2.0 SDK. The V2.0 SDK improves robustness and usability without changing any API features. The V1.0 SDK is no longer maintained. We recommend that you use the V2.0 SDK.
The V1.0 SDK is the original version, and the V2.0 SDK is the upgraded version. For more information, see V2.0 SDK and V1.0 SDK.
SDK downloads for each language
The Cell Phone Number Service V2.0 SDK source code is hosted on GitHub and in popular dependency repositories. You can install the SDK by using the standard dependency management tool for your language, or make calls by using the CommonRequest method. For more information, see Generalized and specialized calls. For more code samples, visit the OpenAPI Developer Portal.
|
Major languages |
GitHub address |
Latest SDK download address |
|
Java |
||
|
Python |
||
|
PHP |
||
|
Go |
||
|
Node.js |
||
|
C++ |
||
|
C# |
||
|
Swift |
Usage example
The following example shows how to use the Python SDK to query the status of a number. For more information, see Python SDK call example.