Repository navigation
Sources office
BlueSkyXN edited this page May 4, 2026
·
2 revisions
事实来源:主仓
pr-88@a312645。1 个内置 office 源。
1. 唯一源:feishu_drive
| 字段 | 值 |
|---|---|
| 接入 | official_api |
| 鉴权 | required |
| 凭据 |
feishu_app_id + feishu_app_secret
|
| 稳定性 | 稳定 |
| Capability |
search(搜索云文档/电子表格/知识库) |
- 在 飞书开放平台 创建自建应用。
- 开启 "云文档" / "知识库" / "云空间" 相关权限。
- 获取 App ID + App Secret。
feishu_app_id: cli_xxxxxxxx
feishu_app_secret: xxxxxxxxxxxxxxx飞书与海外 Lark 共用同一套 OAuth 模型;账号区分由 App 注册区域决定。
souwen search web "项目计划" -e feishu_drive -n 10from souwen.facade import search
resp = await search("Q3 OKR", domain="office", sources=["feishu_drive"])-
app_id 配了,secret 没配:
auth_requirement="required"+credential_fields=("feishu_app_id","feishu_app_secret"),两个都得有。 - App 没开权限:飞书后台没启用相应 scope,调用返 403。
Last calibrated:2026-05-04 · 主仓 pr-88 @ a312645`
Home · Quick Start · Architecture · FAQ · Troubleshooting · Coverage Manifest · Contributing
权威技术文档以主仓 docs/ 与 src/ 为准。本项目仅供 Python 学习与技术研究使用,禁止用于违反法律法规或第三方服务条款的用途。