API


Get real-time data


Url
http://yunlink.027010.cn/OpenAPI/GetReal
Method
GET、POST
Parameter
sn:Account
pwd:Password
id:Device ID
Respone
JSON
Remarks
The data is refreshed every 10 seconds without frequent request.
Demo
http://yunlink.027010.cn/OpenAPI/GetReal?sn=70303453803&pwd=123456&id=1

Get real-time data of all devices


Url
http://yunlink.027010.cn/OpenAPI/GetAllReal
Method
GET、POST
Parameter
sn:Account
pwd:Password
 
Respone
JSON
Remarks
The data is refreshed every 10 seconds without frequent request.
Demo
http://yunlink.027010.cn/OpenAPI/GetAllReal?sn=70303453803&pwd=123456

Get historical data


Url
http://yunlink.027010.cn/OpenAPI/GetHistory
Method
GET、POST
Parameter
sn:Account
pwd:Password
id:Device ID
start:Start date(yyyy-MM-dd、yyyy-MM-dd HH:mm:ss)
end:End date(yyyy-MM-dd、yyyy-MM-dd HH:mm:ss)
Respone
JSON
Demo
http://yunlink.027010.cn/OpenAPI/GetHistory?sn=70303453803&pwd=123456&id=1&start=2023-10-1&end=2023-10-2

Download


Url
http://yunlink.027010.cn/OpenAPI/Download
Method
GET、POST
Parameter
sn:Account
pwd:Password
id:Device ID
start:Start date(yyyy-MM-dd、yyyy-MM-dd HH:mm:ss)
end:End date(yyyy-MM-dd、yyyy-MM-dd HH:mm:ss)
Respone
Excel file
Demo
http://yunlink.027010.cn/OpenAPI/Download?sn=70303453803&pwd=123456&id=1&start=2023-10-1&end=2023-10-2