感谢使用本 API,如果您想捐赠站长,请 戳我赞助→
天气服务由和风天气驱动
curl --location -g --request GET 'https://common-api.liuzhen932.top/weather?city={% mock '\''province'\'' %}'
{
"code": 200,
"msg": "本 API 已缓存, 请不要滥用, 谢谢! 如有能力请支持作者",
"id": "101201009",
"city": "湖北省",
"time": "2024-05-07T20:32+08:00",
"text": "多云",
"temp": "23",
"ref": {
"sources": [
"QWeather"
],
"license": [
"CC BY-SA 4.0"
]
},
"raw": {
"code": "200",
"updateTime": "2024-05-07T20:34+08:00"
}
}