OpenAPI Explorer can automatically generate Java, Python, PHP and Node.js SDK examples based on your API request.
Note
The CommonRequest
calling method is used in the SDK examples. For more information, see Use CommonRequest.
Procedure
Log on to OpenAPI Explorer.
In the top navigation bar, click Select a cloud service. In the panel that appears, select the cloud service that you use.
Go to the homepage of the cloud service. In the top navigation bar, click API Debugging. On the page that appears, click the SDK Sample Code tab.
On the SDK Sample Code tab, Java, Python, PHP and Node.js SDK examples can be automatically generated based on your API request.