更新
This commit is contained in:
@@ -297,32 +297,6 @@
|
||||
"description": "返回格式[json|text],默认为json。json返回视频信息,text返回格式化文本"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "实时天气查询",
|
||||
"description": "查询实时天气信息,支持国内天气数据源(wttr.in、心知天气、和风天气),返回温度、风速、湿度、气压、紫外线指数等详细气象数据,支持中英文双语",
|
||||
"path": "/api/tq/index.php",
|
||||
"method": "GET",
|
||||
"params": [
|
||||
{
|
||||
"name": "city",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "城市名称,如:北京、上海、深圳、杭州等中文城市名称"
|
||||
},
|
||||
{
|
||||
"name": "type",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "返回格式[json|xml],默认为json。json返回JSON格式数据,xml返回XML格式"
|
||||
},
|
||||
{
|
||||
"name": "lang",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "语言[zh|en],默认为zh(中文)。zh返回中文天气描述,en返回英文"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user