Name | wedoc JSON |
Version |
0.1.18
JSON |
| download |
home_page | https://wedoc.woni.link/ |
Summary | 企业微信文档接口, 包括文档的创建, 删除, 以及表格的操作 |
upload_time | 2023-01-18 08:02:53 |
maintainer | |
docs_url | None |
author | wn |
requires_python | >=3.7,<4.0 |
license | MIT |
keywords |
wework
sheet
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 企业微信文档接口
> 目前仍属于 beta 阶段, 生产环境使用请谨慎
[文档](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 页
- 读取总行数
- 读取总列数
- 读取单元格内容
- 设置单元格内容
Raw data
{
"_id": null,
"home_page": "https://wedoc.woni.link/",
"name": "wedoc",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7,<4.0",
"maintainer_email": "",
"keywords": "wework,sheet",
"author": "wn",
"author_email": "320753691@qq.com",
"download_url": "https://files.pythonhosted.org/packages/62/99/95fdda3adda64e3372f130e6325ce0ad70b73abdd49ee5ae2480414e6b35/wedoc-0.1.18.tar.gz",
"platform": null,
"description": "# \u4f01\u4e1a\u5fae\u4fe1\u6587\u6863\u63a5\u53e3\n\n> \u76ee\u524d\u4ecd\u5c5e\u4e8e beta \u9636\u6bb5, \u751f\u4ea7\u73af\u5883\u4f7f\u7528\u8bf7\u8c28\u614e\n\n[\u6587\u6863](https://wedoc.woni.link)\n\n[PYPI](https://pypi.org/project/wedoc)\n\n\n## \u6848\u4f8b\n\n```python\nfrom wedoc import WedocClient\n\n\nif __name__ ==\"__main__\":\n corpid = \"xxxxxxxxxxxxx\"\n corpsecret = \"xxxxxxxxxxxxx\"\n\n docid = \"xxxxxxxxxxxxxxxxxxxxxx\"\n client = WedocClient(corpid, corpsecret)\n res = client.access_token\n print(res)\n doc_type = 4\n doc_name = \"\u7269\u6599\"\n res = client.doc.create_doc(doc_name, doc_type)\n print(res)\n res = client.workbook.get_sheet_properties(docid)\n print(res)\n\n```\n\n## \u6587\u6863\u63a5\u53e3\n\n- \u521b\u5efa\u6587\u6863\n- \u91cd\u547d\u540d\u6587\u6863\n- \u5220\u9664\u6587\u6863\n- \u83b7\u53d6\u6587\u6863\u57fa\u7840\u4fe1\u606f\n\n## \u8868\u683c\u63a5\u53e3\n\n- \u83b7\u53d6\u8868\u683c\u884c\u5217\u4fe1\u606f\n- \u83b7\u53d6\u8868\u683c\u6570\u636e\n- \u7f16\u8f91\u8868\u683c\u5185\u5bb9\n- \u521b\u5efa sheet \u9875\n- \u5220\u9664 sheet \u9875\n- \u8bfb\u53d6\u603b\u884c\u6570\n- \u8bfb\u53d6\u603b\u5217\u6570\n- \u8bfb\u53d6\u5355\u5143\u683c\u5185\u5bb9\n- \u8bbe\u7f6e\u5355\u5143\u683c\u5185\u5bb9\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "\u4f01\u4e1a\u5fae\u4fe1\u6587\u6863\u63a5\u53e3, \u5305\u62ec\u6587\u6863\u7684\u521b\u5efa, \u5220\u9664, \u4ee5\u53ca\u8868\u683c\u7684\u64cd\u4f5c",
"version": "0.1.18",
"split_keywords": [
"wework",
"sheet"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d47f1bb3d8fc31aa738337c92035e5227a1b8ed956db80431f82f14521c95a48",
"md5": "a068becf7c669ec8bf807fe1b7cc71a2",
"sha256": "48573b29748c45a07fa3b13f10042bbc919aba3fd81ce7ec1b5eadd0075980ba"
},
"downloads": -1,
"filename": "wedoc-0.1.18-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a068becf7c669ec8bf807fe1b7cc71a2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7,<4.0",
"size": 7550,
"upload_time": "2023-01-18T08:02:51",
"upload_time_iso_8601": "2023-01-18T08:02:51.892970Z",
"url": "https://files.pythonhosted.org/packages/d4/7f/1bb3d8fc31aa738337c92035e5227a1b8ed956db80431f82f14521c95a48/wedoc-0.1.18-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "629995fdda3adda64e3372f130e6325ce0ad70b73abdd49ee5ae2480414e6b35",
"md5": "d37857faf12d922ba32522d11bd2a960",
"sha256": "37f0fae1a6ed9025d06b44d07776b1ca103cc6695343930b64613e4fef230d9f"
},
"downloads": -1,
"filename": "wedoc-0.1.18.tar.gz",
"has_sig": false,
"md5_digest": "d37857faf12d922ba32522d11bd2a960",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7,<4.0",
"size": 8186,
"upload_time": "2023-01-18T08:02:53",
"upload_time_iso_8601": "2023-01-18T08:02:53.600395Z",
"url": "https://files.pythonhosted.org/packages/62/99/95fdda3adda64e3372f130e6325ce0ad70b73abdd49ee5ae2480414e6b35/wedoc-0.1.18.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-18 08:02:53",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "wedoc"
}