接口信息
城市天气获取:获取国内城市的天气信息
返回格式:JSON
请求方式:GET

返回数据
{
    "status": 0,
    "result": {
        "location": {
            "country": "中国",
            "province": "江西省",
            "city": "南昌市",
            "name": "南昌",
            "id": "360100"
        },
        "now": {
            "text": "多云",
            "temp": 9,
            "feels_like": 8,
            "rh": 41,
            "wind_class": "2级",
            "wind_dir": "北风",
            "uptime": "20241208184000"
        }
    },
    "message": "success"
}
调用示例
暂无示例
调用效果
暂无演示
松子字体库
松子字体库
生活优惠
请求参数说明
参数 参数值 必填 说明
city中文需要获取天气信息的城市名
每日心语~