Poo*_*oom 5 php google-sheets google-sheets-api
我正在使用 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功能?
谢谢
| 归档时间: |
|
| 查看次数: |
1562 次 |
| 最近记录: |