This commit is contained in:
muzihuaner
2026-03-18 13:39:49 +08:00
parent d7177eaacc
commit cbc2fee7f0
3 changed files with 270 additions and 442 deletions

View File

@@ -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返回英文"
}
]
}