menu Kinoko‘s API
color_lens
location_on
IP类
keyboard_arrow_down
face
QQ类
keyboard_arrow_down
photo_size_select_actual
图片类
keyboard_arrow_down
ondemand_video
视频类
keyboard_arrow_down
videogame_asset
游戏类
keyboard_arrow_down
brightness_7
生活类
keyboard_arrow_down
settings
工具类
keyboard_arrow_down
web
网站类
keyboard_arrow_down

城市天气获取

使用教程

请求地址: https://api.amogu.cn/api/wether

返回格式:json

Example

调用效果:


{
    "data": {
        "yesterday": {
            "date": "6日星期日",
            "high": "高温 33℃",
            "fx": "南风",
            "low": "低温 21℃",
            "fl": "",
            "type": "晴"
        },
        "city": "南京",
        "forecast": [
            {
                "date": "7日星期一",
                "high": "高温 34℃",
                "fengli": "",
                "low": "低温 21℃",
                "fengxiang": "东南风",
                "type": "阴"
            },
            {
                "date": "8日星期二",
                "high": "高温 32℃",
                "fengli": "",
                "low": "低温 22℃",
                "fengxiang": "东南风",
                "type": "阴"
            },
            {
                "date": "9日星期三",
                "high": "高温 31℃",
                "fengli": "",
                "low": "低温 24℃",
                "fengxiang": "东南风",
                "type": "阴"
            },
            {
                "date": "10日星期四",
                "high": "高温 25℃",
                "fengli": "",
                "low": "低温 23℃",
                "fengxiang": "东北风",
                "type": "小雨"
            },
            {
                "date": "11日星期五",
                "high": "高温 27℃",
                "fengli": "",
                "low": "低温 23℃",
                "fengxiang": "西北风",
                "type": "多云"
            }
        ],
        "ganmao": "感冒易发期,外出请适当调整衣物,注意补充水分。",
        "wendu": "23"
    },
    "status": 1000,
    "desc": "OK"
}

				https://api.amogu.cn/api/wether/?city=南京
			

请求参数

名称必填类型说明
citystring要查询的城市名
设置文档主题

主题色

主色

强调色