—收录词条
—录入来源
—最近更新
命令行查询
curl mingan.ci/abba查看接口说明
GET /词条 直接返回 JSON。中文或特殊字符可使用 curl -sG https://mingan.ci/api/query --data-urlencode 'q=词条'。
也支持 POST /api/query,JSON 参数为 {"q":"词条","offset":0}。
{
"query": "abba",
"matched": true,
"total": 1,
"results": [{
"word": "xabbay",
"sources": [{
"name": "录入来源 · 文件名.txt",
"source": "录入来源",
"filename": "文件名.txt"
}]
}],
"limit": 50,
"offset": 0,
"has_more": false
}每页最多 50 个词条,使用 offset=50 获取下一页。未命中时 results 为空数组。结果仅代表当前词库。