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.1.tar.gz (4.7 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.1-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for xmes_dingtalk_connectflow_sdk-1.0.1.tar.gz
Algorithm Hash digest
SHA256 30be686d9abe1f0df22cdc6c9f09ddee15bf8f54fded9291a48fcec0123c0753
MD5 3b734ff1ecfc7cd251287c86f6c04c12
BLAKE2b-256 dc8da75daf4557108ef914e899e443b7bc3ecf05cd11174a62597ff6c8cb60d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for xmes_dingtalk_connectflow_sdk-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2ae67a5bb1a08076282330c45c2704cb15e1b271745540f1f8b34632e7fe101e
MD5 5b75ecdb489ee9b0359ace87913331ca
BLAKE2b-256 2c48b688f274e0f399649326468339fcc7ea2770c5811b212216d498a29bc090

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