OCS免费题库配置
2026-04-18 15:57:23 120
本站提供免费的OCS题库配置,可以搭配OCS网课助手实现自动答题和考试,无需注册登录,直接复制使用;
免费接口的题库缓存数量有限,对于搜不到的题目,请登录后获取题库配置信息,免费密钥的每日配额为:20次/IP,正式密钥无限制。
下方配置信息可直接复制到你的OCS配置项中:
[
{
"name": "TopQA 题库",
"homepage": "https://tk.top2189.cn",
"url": "https://api.top2189.cn/api/search",
"method": "get",
"type": "GM_xmlhttpRequest",
"contentType": "json",
"data": {
"sign": "aa06b89ed71d644aa313b48411a72178",
"question": "${title}",
"options": "${options}",
"method": "ocs"
},
"handler": "return (res)=> res.code === 200 ? res.data.map(r=>([r.question,r.answer])) : undefined"
}
]
对于其他非OCS网课助手的浏览器脚本,请按照下方对接接口实现:
接口地址:https://api.top2189.cn/api/search
请求方式:GET
请求参数:
| 参数名 | 类型 | 必传 | 说明 |
|---|---|---|---|
| sign | string | 是 | 接口鉴权签名(固定值:aa06b89ed71d644aa313b48411a72178) |
| question | string | 是 | 待查询的题目标题(动态变量:${title}) |
| options | string | 是 | 题目选项内容(动态变量:${options}) |
| method | string | 是 | 查询模式(固定值:ocs) |