📖 API调用说明
你可以通过API程序化管理频道和搜索:
获取状态
curl -X POST https://your-domain.com/qqpd/867aa7adfca204fe330c22bd70d0758b3e56d2f323c4f1183e3b18a93b5ebeb4 \
-H "Content-Type: application/json" \
-d '{"action": "get_status"}'
设置频道列表
curl -X POST https://your-domain.com/qqpd/867aa7adfca204fe330c22bd70d0758b3e56d2f323c4f1183e3b18a93b5ebeb4 \
-H "Content-Type: application/json" \
-d '{"action": "set_channels", "channels": ["pd97631607", "kuake12345"]}'
测试搜索
curl -X POST https://your-domain.com/qqpd/867aa7adfca204fe330c22bd70d0758b3e56d2f323c4f1183e3b18a93b5ebeb4 \
-H "Content-Type: application/json" \
-d '{"action": "test_search", "keyword": "遮天"}'