Loading...
Loading...
Compare original and translation side by side
pip install feishu-docxfeishu-docx config set --app-id YOUR_APP_ID --app-secret YOUR_APP_SECRETpip install feishu-docxfeishu-docx config set --app-id YOUR_APP_ID --app-secret YOUR_APP_SECRET
3. Authorize with OAuth (opens browser):
```bash
feishu-docx auth
3. 通过OAuth授权(将打开浏览器):
```bash
feishu-docx authfeishu-docx export "<FEISHU_URL>" -o ./outputfeishu-docx export "<FEISHU_URL>" -o ./outputfeishu-docx export "https://xxx.feishu.cn/wiki/ABC123" -o ./docsfeishu-docx export "https://xxx.feishu.cn/wiki/ABC123" -o ./docsfeishu-docx export "https://xxx.feishu.cn/docx/XYZ789" -o ./docs -n meeting_notesfeishu-docx export "https://xxx.feishu.cn/docx/XYZ789" -o ./docs -n meeting_notesfeishu-docx export "https://xxx.feishu.cn/sheets/DEF456" --table mdfeishu-docx export "https://xxx.feishu.cn/sheets/DEF456" --table mdundefinedundefinedundefinedundefinedfrom feishu_docx import FeishuExporter
exporter = FeishuExporter(app_id="xxx", app_secret="xxx")
content = exporter.export_content("https://xxx.feishu.cn/wiki/xxx")
print(content)from feishu_docx import FeishuExporter
exporter = FeishuExporter(app_id="xxx", app_secret="xxx")
content = exporter.export_content("https://xxx.feishu.cn/wiki/xxx")
print(content)| Command | Description |
|---|---|
| Export document to Markdown |
| OAuth authorization |
| Set credentials |
| Show current config |
| Clear token cache |
| 命令 | 描述 |
|---|---|
| 将文档导出为Markdown格式 |
| OAuth授权 |
| 设置凭证 |
| 查看当前配置 |
| 清除令牌缓存 |
--table md--lark--table md--lark