Metadata-Version: 2.1
Name: guolei-py3-qywx
Version: 1.0.3
Summary: 企业微信 API
Home-page: https://github.com/guolei19850528/guolei_py3_qywx
Author: guolei
Author-email: 174000902@qq.com
License: MIT
Requires-Python: >=3.0
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: addict
Requires-Dist: retrying
Requires-Dist: pydantic
Requires-Dist: guolei-py3-requests
Requires-Dist: redis
Requires-Dist: diskcache

## 介绍

**企业微信 API**

## 软件架构

~python 3.*

## 安装教程

```shell
pip install guolei-py3-qywx
```

## 目录说明

### Webhook Api 示例

[官方文档](https://developer.work.weixin.qq.com/document/path/91770#%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%E7%BE%A4%E6%9C%BA%E5%99%A8%E4%BA%BA)

```python
from guolei_py3_qywx.webhook import Api as WebhookApi

webhook_api = WebhookApi(
    base_url="https://qyapi.weixin.qq.com/cgi-bin/webhook",
    key="your key"
)

# 发送文本信息
state = webhook_api.send_text(content="测试发送")
if state:
    print("发送成功")
```
