欢迎访问芯&API站点^-^
curl --location --request GET 'http://api.corexwear.com/tq/index.php?msg=北京'{
"code": 200,
"message": "success",
"data": {
"location": {
"name": "北京",
"full_name": "北京,北京,中国"
},
"days": [
{
"date": "2025-08-01",
"day_weather": {
"text": "多云",
"code": "4",
"icon": "https://s1.sencdn.com/web/icons/black/4@1x.png"
},
"night_weather": {
"text": "多云",
"code": "4",
"icon": "https://s1.sencdn.com/web/icons/black/4@1x.png"
},
"temperature": {
"high": "33",
"low": "22"
},
"wind": {
"direction": "东南",
"degree": "135",
"speed": "8.4",
"scale": "2"
},
"humidity": "84",
"rainfall": "0.00"
},
{
"date": "2025-08-02",
"day_weather": {
"text": "雷阵雨",
"code": "11",
"icon": "https://s1.sencdn.com/web/icons/black/11@1x.png"
},
"night_weather": {
"text": "雷阵雨",
"code": "11",
"icon": "https://s1.sencdn.com/web/icons/black/11@1x.png"
},
"temperature": {
"high": "33",
"low": "24"
},
"wind": {
"direction": "南",
"degree": "180",
"speed": "8.4",
"scale": "2"
},
"humidity": "84",
"rainfall": "3.87"
},
{
"date": "2025-08-03",
"day_weather": {
"text": "多云",
"code": "4",
"icon": "https://s1.sencdn.com/web/icons/black/4@1x.png"
},
"night_weather": {
"text": "雷阵雨",
"code": "11",
"icon": "https://s1.sencdn.com/web/icons/black/11@1x.png"
},
"temperature": {
"high": "32",
"low": "25"
},
"wind": {
"direction": "北",
"degree": "0",
"speed": "3.0",
"scale": "1"
},
"humidity": "89",
"rainfall": "29.50"
}
],
"update_time": "2025-08-01 08:00:00"
}
}
扫码加入芯&API交流群
芯&穿戴

扫码加入交流群