小编Poo*_*oom的帖子

google-sheets api 未触发 google 表格中的 onEdit 功能

我正在使用 php 将数据写入谷歌表格。但是,当数据从 php.ini 写入时,Google Sheets 上的触发器 onEdit 函数不会触发。这是我用来写下数据的代码:

$body = new Google_Service_Sheets_ValueRange(array('values' => $resultArrayGen));
$params = array('valueInputOption' => $valueInputOption);
$range = 'Main!F2:K';
$result = $service->spreadsheets_values->update($spreadsheetId, $range, $body, $params);
Run Code Online (Sandbox Code Playgroud)

无论如何,有没有使用谷歌服务表API来触发谷歌电子表格中的onEdit功能?

谢谢

php google-sheets google-sheets-api

5
推荐指数
1
解决办法
1562
查看次数

标签 统计

google-sheets ×1

google-sheets-api ×1

php ×1