Metadata-Version: 2.1
Name: auto-feishu
Version: 0.0.4
Summary: Automation tools for feishu
Author-email: Dragon-GCS <878173121@qq.com>
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Natural Language :: Chinese (Simplified)
Classifier: Topic :: Office/Business
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Utilities
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: httpx
Requires-Dist: pydantic
Provides-Extra: dev
Provides-Extra: pandas
Requires-Dist: pandas; extra == "pandas"

# AutoFeishu

飞书官方接口的Python封装， 需要自行注册飞书应用，将应用的`app_id`和`app_secret`填入到环境变量`FEISHU_APP_ID`和`FEISHU_APP_SECRET`中。

部分接口需要设置其他环境变量:

- `Contact`: 通过`FEISHU_PHONE`或`FEISHU_EMAIL`或`FEISHU_OPEN_ID`获取默认的用户信息，可以用于`Message`

> TODO: 文档`https://mkdocstrings.github.io/usage/`

## 当前接口

- `Approval`: 创建、同意、拒绝审批，获取审批详情
- `Contact`: 根据手机号或邮箱获取open_id
- `Message`: 向指定联系人或群发送文本、文件、图片、卡片
- `SpreadSheet`: 读写多维表格
