随机视频,天气查询

This commit is contained in:
muzihuaner
2026-03-18 13:16:49 +08:00
parent cf64fdc6f5
commit a5a679b69b
4 changed files with 298 additions and 0 deletions

View File

@@ -297,6 +297,58 @@
"description": "返回格式[json|text]默认为json。json返回视频信息text返回格式化文本"
}
]
},
{
"name": "ICP备案查询",
"description": "查询网站的ICP备案信息返回主办单位、网站名称、备案号等信息",
"path": "/api/icp/index.php",
"method": "GET",
"params": [
{
"name": "url",
"type": "string",
"required": true,
"description": "要查询的网站URL或域名"
},
{
"name": "type",
"type": "string",
"required": false,
"description": "返回格式[json|text]默认为json。json返回完整备案数据text返回格式化文本"
}
]
},
{
"name": "天气查询",
"description": "查询指定城市的天气信息支持返回3天天气预报包含温度、天气状况、风力等信息",
"path": "/api/tq/index.php",
"method": "GET",
"params": [
{
"name": "msg",
"type": "string",
"required": true,
"description": "城市名称或地名"
},
{
"name": "b",
"type": "integer",
"required": false,
"description": "选择第几个城市结果当搜索结果多于1个时不提供则返回所有搜索结果列表"
},
{
"name": "num",
"type": "integer",
"required": false,
"description": "返回结果数量默认为10"
},
{
"name": "type",
"type": "string",
"required": false,
"description": "返回格式[json|text]默认为json"
}
]
}
]
}