企业微信文档接口
可以完成简单的在线表格增删改查
案例
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 页
- 读取总行数
- 读取总列数
- 读取单元格内容, 行, 列, 区域
- 设置单元格内容, 行, 列, 区域
联系我
Metadata
Release files for wedoc 0.1.23
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| wedoc-0.1.23.tar.gz | 13.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wedoc-0.1.23-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.2 kB
Release files / wedoc-0.1.23.tar.gz
| Download URL | wedoc-0.1.23.tar.gz |
|---|---|
| Size | 13.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8aa05338eb44837cf43dc333d2cacf47c15a9cce003811e349c305af59794376
|
|
BLAKE2b-256 checksum How to use checksums |
4fccd40eb88e96b9ac3073ff1baa4b4900797d8eda781d43c0b750be41d8f108
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.10.6 Linux/5.15.90.1-microsoft-standard-WSL2
|
Release files / wedoc-0.1.23-py3-none-any.whl
| Download URL | wedoc-0.1.23-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
33bcaba342686f6198c211b7d81ebb2c8f467eca1d4dfb0c42c6c4e99c51bd7e
|
|
BLAKE2b-256 checksum How to use checksums |
27917ca9654d35c0eb2893202b8d2e1bbb657ce84d4cbab47becd63da19268c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.10.6 Linux/5.15.90.1-microsoft-standard-WSL2
|
Security for wedoc 0.1.23
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.