Sample code for the DeyeCloud API v1 endpoints. Individual API features have folders where you can find examples of usage in Python.
- Create a DeyeCloud account (sign up here)
- Create a DeyeCloud application in the developer portal
To learn the basics of the DeyeCloud API concepts and usage, refer to the QuickStart Documentation
You will need to have Python 3 installed to run this code. The Python samples use requests==2.31.0
.
You can install this package as follows:
pip install requests
Find your AppId & AppSecret in the Application of the developer portal
In order to run the samples in this repository you will need to obtain access token firstly through obtain_token.py
-
For general questions related to the API and its features, please send the email to cloudservice@deye.com.cn
-
If there's a bug or issue with the sample code itself, please create a new issue on GitHub
We welcome pull requests that add meaningful additions to these code samples