成功响应(200):
{
"code": 200,
"msg": "success",
"timestamp": 1646389200,
"data": {
"city": "北京市",
"location": {
"lat": "39.9042",
"lon": "116.4074"
},
"now": {
"temp": "12.5",
"feels_like": "11.2",
"weather": "晴",
"wind_dir": "东南风",
"wind_scale": "2级",
"humidity": "45%",
"precip": "0.0mm",
"pressure": "1018",
"vis": "15",
"cloud": "10",
"update_time": "2024-12-04T10:00:00+08:00"
},
"aqi": {
"aqi": 56,
"level": "良",
"primary": "PM2.5",
"pm10": 65,
"pm2_5": 38,
"no2": 25,
"so2": 8,
"co": 0.8,
"o3": 45,
"update_time": "2024-12-04T10:00:00+08:00",
"health_advice": "空气质量可接受,对极少数敏感人群有较弱影响。"
},
"forecast": [
{
"date": "2024-12-04",
"day_weather": "晴",
"night_weather": "多云",
"temp_max": "15",
"temp_min": "8",
"wind_dir": "东南风",
"wind_scale": "2级",
"humidity": "55%",
"precip": "0.0",
"uv_index": "4",
"sunrise": "07:12",
"sunset": "16:48"
},
{
"date": "2024-12-05",
"day_weather": "多云",
"night_weather": "阴",
"temp_max": "14",
"temp_min": "7",
"wind_dir": "北风",
"wind_scale": "1级",
"humidity": "60%",
"precip": "0.0",
"uv_index": "3",
"sunrise": "07:13",
"sunset": "16:48"
}
],
"source": "qweather",
"cached": false
}
}