Metadata-Version: 2.1
Name: wedoc
Version: 0.1.23
Summary: 企业微信文档接口, 包括文档的创建, 删除, 以及表格的操作
Home-page: https://wedoc.woni.link/
License: MIT
Keywords: wework,sheet
Author: wn
Author-email: 320753691@qq.com
Requires-Python: >=3.7,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
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: Programming Language :: Python :: 3.11
Requires-Dist: requests (>=2.28.2,<3.0.0)
Project-URL: Bug Tracker, https://github.com/wn0x00/wedoc/issues
Project-URL: Documentation, https://wedoc.woni.link/
Project-URL: Repository, https://github.com/wn0x00/wedoc
Description-Content-Type: text/markdown

# 企业微信文档接口

> 可以完成简单的在线表格增删改查

[文档](https://wedoc.woni.link)

[PYPI](https://pypi.org/project/wedoc)


## 案例

```python
from wedoc import WedocClient


if __name__ =="__main__":
    corpid = "xxxxxxxxxxxxx"
    corpsecret = "xxxxxxxxxxxxx"

    docid = "xxxxxxxxxxxxxxxxxxxxxx"
    client = WedocClient(corpid, corpsecret)
    res = client.access_token
    print(res)
    doc_type = 4
    doc_name = "物料"
    res = client.doc.create_doc(doc_name, doc_type)
    print(res)
    res = client.workbook.get_sheet_properties(docid)
    print(res)

```

## 文档接口

- 创建文档
- 重命名文档
- 删除文档
- 获取文档基础信息

## 表格接口

- 获取表格行列信息
- 获取表格数据
- 编辑表格内容
- 创建 sheet 页
- 删除 sheet 页
- 读取总行数
- 读取总列数
- 读取单元格内容, 行, 列, 区域
- 设置单元格内容, 行, 列, 区域

## 联系我

![](./docs/imgs/Snipaste_2023-02-28_01-34-44.png)

