使用PHP库附加行

时间:2016-09-08 21:57:16

标签: google-sheets-api

我正在使用Google PHP库https://github.com/google/google-api-php-client,并且正在尝试追加数据。根据文档,https://developers.google.com/sheets/samples/writing#append_values,这是可能的。问题是主要表单服务Google_Service_Sheets_Resource_SpreadsheetsValues()没有append方法,只有update(以及其他一些在这里没有帮助的方法)。

1 个答案:

答案 0 :(得分:0)

请参阅Google sheets API 4: How to append to the end of the row with PHP,提出同样的问题。 PHP客户端库已过期,缺少append方法。当它被修复时,我会报告其他SO线程。对不起!