Skip to main content

企业微信文档接口, 包括文档的创建, 删除, 以及表格的操作

Project description

企业微信文档接口

目前仍属于 beta 阶段, 生产环境使用请谨慎

文档

PYPI

案例

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


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.18.tar.gz (8.2 kB view hashes)

Uploaded Source

Built Distribution

wedoc-0.1.18-py3-none-any.whl (7.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page