【发布时间】:2021-06-14 20:42:44
【问题描述】:
我正在使用 simple-smartsheet 库从 Smartsheet 中的工作表中读取数据,并下载工作表每一行的现有附件。
我已经可以读取每一行的数据,但是我无法下载现有附件。
import config
from simple_smartsheet import Smartsheet
sheet = smartsheet.sheets.get(id=config.SHEET_ID)
for row in sheet.rows:
attachments = row.attachments
print(attachments)
执行上述命令时,我得到的结果是:
[]
我使用 simple-smartsheet 库,因为它是唯一支持 python 3.6+ 版本的库
我的 python 版本 3.7.5
【问题讨论】:
标签: python api smartsheet-api