Metadata-Version: 2.1
Name: llama-index-readers-feishu-wiki
Version: 0.3.0
Summary: llama-index readers feishu_wiki integration
License: MIT
Author: Your Name
Author-email: you@example.com
Maintainer: zhourunlai
Requires-Python: >=3.9,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: llama-index-core (>=0.12.0,<0.13.0)
Requires-Dist: requests (>=2.31.0,<3.0.0)
Description-Content-Type: text/markdown

# Feishu Wiki Loader

This loader can traverse all feishu documents under the feishi space.

## Usage

To use this loader, you need to:

1. apply the permission(`wiki:wiki:readonly`) of the feishu app
2. add the feishu app as the admin of your feishu space, see [here](https://open.feishu.cn/document/server-docs/docs/wiki-v2/wiki-qa#b5da330b) for more help
3. finally, pass your feishu space id to this loader

```python
app_id = "xxx"
app_secret = "xxx"
space_id = "xxx"
FeishuWikiReader = download_loader("FeishuWikiReader")
loader = FeishuWikiReader(app_id, app_secret)
documents = loader.load_data(space_id=space_id)
```

This loader is designed to be used as a way to load data into [LlamaIndex](https://github.com/run-llama/llama_index/).

