Skip to main content

DingTalk Connection Platform Connection Flow SDK

Project description

概述

Version Python Version

xmes-dingtalk-connectflow-sdk 是钉钉连接平台自建连接流SDK(向美而生),通过该工具可以方便快捷的调用钉钉的连接流。

安装使用

pip install xmes-dingtalk-connectflow-sdk

功能特征

  • 支持连接流 多维表CURD_241217

使用方法

ComplexTable

该工具提供了连接流 多维表CURD_241217 的操作调用工具。

from DingtalkConnectflowSDK import ComplexTable, GetterFilter, Updater

# 初始化ComplexTable对象
complextable = ComplexTable(flow_url='<连接流的同步协调URL>')

# 获取 Table 对象
table = complextable.get_table(did='<文档ID>', tid='<数据表ID>')

# 查询数据
filters = [
    GetterFilter(field='来源', operator='equal', value=['SDK', 'API'])
]
resp = table.get(size=10, fillters=filters)

# 新增数据
records = [
    {'标题': 'Test Record 1', '来源': 'SDK},
    {'标题': 'Test Record 2', '来源': 'SDK},
]
resp = table.add(records)

# 更新数据
records = [
    Updater(record_id='<记录ID>', fields={'来源': 'API'}),
    Updater(record_id='<记录ID>', fields={'来源': 'API'}),
]
resp = table.update(records)

# 删除数据
record_ids = ['<记录ID>', '<记录ID>']
resp = table.delete(record_ids)

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

xmes_dingtalk_connectflow_sdk-1.0.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xmes_dingtalk_connectflow_sdk-1.0.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file xmes_dingtalk_connectflow_sdk-1.0.0.tar.gz.

File metadata

File hashes

Hashes for xmes_dingtalk_connectflow_sdk-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5ff32be074195daa7c41a4d736df015e526fcda494ef3f4900e2e364df1a47f0
MD5 620f7535c158093bb845834a8d9635eb
BLAKE2b-256 e17bac64c16d79fe90df1ce15d7b2ad52ccedc4b4c86146a0ed23293e1f661af

See more details on using hashes here.

File details

Details for the file xmes_dingtalk_connectflow_sdk-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for xmes_dingtalk_connectflow_sdk-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fbd1e8fc8cf1ef08533aeaa3cd24d99eeaf7d02025b15db38278a497c19f6827
MD5 e28314658841a2340569321038b25f86
BLAKE2b-256 041b59d2cb4fc5ce1c0f4e040b0bf8c324896cd0cc9415f6241c28d4740be700

See more details on using hashes here.

Supported by

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