土壤温湿度接口

From CaiyunWiki
Revision as of 06:02, 23 December 2021 by Ringsaturn (talk | contribs) (返回结构)
Jump to: navigation, search

本接口施工中

授权与认证

请先至彩云开放平台注册,注册后可以获得 token 。

使用本接口,开发者token需要额外开通权限,请联系商务:api@caiyunapp.com

API 地址

http://api.caiyunapp.com/v1/soil?token=TOKEN&lng=116&lat=39

参数说明

目前仅支持中国区域实况数据,逐小时更新

返回结构

 1 {
 2   "status":"ok",
 3   "result":[
 4     {
 5       "depth":"0-0.1",
 6       "tsoil":-4.649993896484375,
 7       "soliw":0.287109375
 8     },
 9     {
10       "depth":"0.1-0.4",
11       "tsoil":-2.649993896484375,
12       "soliw":0.256103515625
13     }
14   ]
15 }