综合
支持打包 realtime
, minutely
, hourly
, daily
及 alert
数据
bash
curl "https://api.caiyunapp.com/v2.5/TAkhjf8d1nlSlspN/116.3176,39.9760/weather?alert=true&dailysteps=1&hourlysteps=24"
json
{
"status": "ok",
"api_version": "v2.5",
"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": "未来两小时不会下雨,放心出门吧"
}
}