Metadata-Version: 2.1
Name: PyFeishu
Version: 0.1.0
Summary: This is a msg-robot for FeiShu.
Home-page: https://github.com/liukecode/pyfeishu
License: MIT
Keywords: feishu,api,boy,robot
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: End Users/Desktop
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Communications
Classifier: Topic :: Office/Business
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: requests (==2.26.0)
Requires-Dist: tenacity (==8.0.1)

# PyFeishu

[![GitHub issues](https://img.shields.io/github/issues/liukecode/pyfeishu)](https://github.com/liukecode/pyfeishu/issues)
[![GitHub forks](https://img.shields.io/github/forks/liukecode/pyfeishu)](https://github.com/liukecode/pyfeishu/network)
[![GitHub stars](https://img.shields.io/github/stars/liukecode/pyfeishu)](https://github.com/liukecode/pyfeishu/stargazers)
[![GitHub license](https://img.shields.io/github/license/liukecode/pyfeishu)](https://github.com/liukecode/pyfeishu/blob/main/LICENSE)
[![contributors](https://img.shields.io/github/contributors/liukecode/pyfeishu)](https://github.com/liukecode/pyfeishu/graphs/contributors)
[![PyPI](https://img.shields.io/pypi/v/pyfeishu)](https://pypi.org/project/pyfeishu/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pyfeishu)](https://pypi.org/project/pyfeishu/)
[![Downloads](https://pepy.tech/badge/pyfeishu/month)](https://pepy.tech/project/pyfeishu)

This is a msg-robot for [feishu](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/introduction)

## Install
```
python -m pip install pyfeishu
```
## Getting Started
send text msg
```
import pyfeishu
bot = pyfeishu.FeishuBot(app_id, app_secret)
fs.send_text("test text"))
```

send image msg
```
image_key = bot.upload_image("img_path")
bot.send_image(image_key, groups='oc_foo')
```

## Features
- Automatically token management
- Cache embeded


## Contributing

Contributions are welcome.<br/>
If you've found a bug within this project, please open an issue to discuss what you would like to change.<br/>
If it's an issue with the API, please report any new issues at [pyfeishu issues](https://github.com/liukecode/pyfeishu)

