跳到主要内容
版本:v2.6

综合

支持打包 realtime, minutely, hourly, dailyalert 数据

curl "https://api.caiyunapp.com/v2.6/TAkhjf8d1nlSlspN/116.3176,39.9760/weather?alert=true&dailysteps=1&hourlysteps=24"
{  "status": "ok",  "api_version": "v2.6",  "api_status": "active",  "lang": "zh_CN",  "unit": "metric",  "tzshift": 28800,  "timezone": "Asia/Shanghai",  "server_time": 1640758065,  "location": [39.976, 116.3176],  "result": {    "alert": {      //    },    "realtime": {      //    },    "minutely": {      //    },    "hourly": {      //    },    "daily": {      //    },    "primary": 0,    "forecast_keypoint": "未来两小时不会下雨,放心出门吧"  }}