Help Center/ IoT/ API Reference/ Northbound Python SDK API Reference/ SDK Demo Architecture and Usage Guide
Updated on 2022-02-24 GMT+08:00

SDK Demo Architecture and Usage Guide

  • The demo code is the sample code used for calling SDK APIs, including initializing and calling each API. The demo code is for your reference only.
  • The Python SDK uses Python methods to call northbound RESTful APIs provided by the IoT platform to communicate with the platform.
  • The message push callback uses Python code to implement the callback API, which is called by the IoT platform to push messages to application servers. An application inherits the PushMessageReceiver class and rewrites the methods in the class to receive the content of a push message.
  • The test API tests whether the basic functions between the SDK and IoT platform are available and generates test results. During the test, the internal test certificate and the certificate set by developers are used.