企业微信文档接口, 包括文档的创建, 删除, 以及表格的操作
Project description
企业微信文档接口
可以完成简单的在线表格增删改查
案例
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 页
- 读取总行数
- 读取总列数
- 读取单元格内容, 行, 列, 区域
- 设置单元格内容, 行, 列, 区域
联系我
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wedoc-0.1.23.tar.gz
(13.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wedoc-0.1.23.tar.gz.
File metadata
- Download URL: wedoc-0.1.23.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.6 Linux/5.15.90.1-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8aa05338eb44837cf43dc333d2cacf47c15a9cce003811e349c305af59794376
|
|
| MD5 |
123e2ca0c9d8b7e54aa8d21cf9e82514
|
|
| BLAKE2b-256 |
4fccd40eb88e96b9ac3073ff1baa4b4900797d8eda781d43c0b750be41d8f108
|
File details
Details for the file wedoc-0.1.23-py3-none-any.whl.
File metadata
- Download URL: wedoc-0.1.23-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.6 Linux/5.15.90.1-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33bcaba342686f6198c211b7d81ebb2c8f467eca1d4dfb0c42c6c4e99c51bd7e
|
|
| MD5 |
8b8eaeb60f6ee5bbee3b0a65e9bb6492
|
|
| BLAKE2b-256 |
27917ca9654d35c0eb2893202b8d2e1bbb657ce84d4cbab47becd63da19268c7
|