更新
This commit is contained in:
@@ -299,54 +299,28 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ICP备案查询",
|
||||
"description": "查询网站的ICP备案信息,支持多个数据源查询,返回ICP备案号、主办单位、网站名称、审核时间等详细信息",
|
||||
"path": "/api/icp/index.php",
|
||||
"method": "GET",
|
||||
"params": [
|
||||
{
|
||||
"name": "domain",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "要查询的域名(支持带http://或https://前缀,会自动清理)"
|
||||
},
|
||||
{
|
||||
"name": "type",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "返回格式[json|text],默认为json。json返回JSON格式备案数据,text返回格式化纯文本"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "天气查询",
|
||||
"description": "查询指定城市的天气信息,支持返回3天天气预报,包含温度、天气状况、风力等信息",
|
||||
"name": "实时天气查询",
|
||||
"description": "查询实时天气信息,支持国内天气数据源(wttr.in、心知天气、和风天气),返回温度、风速、湿度、气压、紫外线指数等详细气象数据,支持中英文双语",
|
||||
"path": "/api/tq/index.php",
|
||||
"method": "GET",
|
||||
"params": [
|
||||
{
|
||||
"name": "msg",
|
||||
"name": "city",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "城市名称或地名"
|
||||
},
|
||||
{
|
||||
"name": "b",
|
||||
"type": "integer",
|
||||
"required": false,
|
||||
"description": "选择第几个城市结果(当搜索结果多于1个时),不提供则返回所有搜索结果列表"
|
||||
},
|
||||
{
|
||||
"name": "num",
|
||||
"type": "integer",
|
||||
"required": false,
|
||||
"description": "返回结果数量,默认为10"
|
||||
"description": "城市名称,如:北京、上海、深圳、杭州等中文城市名称"
|
||||
},
|
||||
{
|
||||
"name": "type",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "返回格式[json|text],默认为json"
|
||||
"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