GET /api/search
按名称搜索 SteamUI 条目,返回 JSON。
/api/search?name=黑神话&page=1&sort=update&filter=all
基于 Camoufox 的 SteamUI 抓取 API,支持名称搜索、AppID 详情、原始 info 文本抓取和本地缓存。
例如:/api/search?name=黑神话&page=1&sort=update&filter=all
| 参数 | 含义 |
|---|---|
name=黑神话 | 搜索关键词,按游戏名称、别名等字段匹配。 |
page=1 | 结果第 1 页,从 1 开始计数。 |
sort=update | 按更新时间排序。常见值:update、name、type。 |
filter=all | 不过滤类型。可选:all、game、dlc、application、tool、demo、music。 |
按名称搜索 SteamUI 条目,返回 JSON。
/api/search?name=黑神话&page=1&sort=update&filter=all
返回指定 AppID 的详情 JSON。
/api/games/2358720
默认直接返回与 SteamUI 原站一致的纯文本内容。
/api/games/2358720/info
如需旧版 JSON 包装,可显式使用 ?plain=false。
手动刷新 Cloudflare clearance 会话。
/api/session/refresh
/api/games/{appid}/info 现在默认输出纯文本,不再返回带转义换行的 JSON 字符串。