feishu-bot-0.0.5
توضیحات
SDK for interacting with Feishu(previously Lark)
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | feishu-bot-0.0.5 |
| نام | feishu-bot |
| نسخه کتابخانه | 0.0.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Yuanefi Zhu |
| ایمیل نویسنده | abovemoon@outlook.com |
| آدرس صفحه اصلی | https://github.com/yuanfeiz/feishu-bot |
| آدرس اینترنتی | https://pypi.org/project/feishu-bot/ |
| مجوز | - |
# Feishu Bot
## Install
```
pip install feishu_bot
```
## Getting Started
```
from feishu_bot import FeishuBot
bot = FeishuBot('your_app_id', 'your_app_secret')
await bot.send_text('test')
```
By default, the message will be sent to all groups where the bot joins. However the optional `groups` argument can be set to specify the recipient group(s).
```
image_key = await bot.upload_image('https://picsum.photos/200/300')
await bot.send_image(image_key, groups='oc_foo')
# If you'd like to send this image to multiple groups
await bot.send_image(image_key, groups=['oc_bar', ''oc_foo'])
```
Call `get_groups` manually to get all the groups visible to the bot:
```
await bot.get_groups()
```
## Features
- Automatically token management
- Cache embeded
نیازمندی
| مقدار | نام |
|---|---|
| - | aiohttp |
| - | tenacity |
| - | cachetools |
| - | asyncache |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl feishu-bot-0.0.5:
pip install feishu-bot-0.0.5.whl
نصب پکیج tar.gz feishu-bot-0.0.5:
pip install feishu-bot-0.0.5.tar.gz