我正在使用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
(以及其他一些在这里没有帮助的方法)。
答案 0 :(得分:0)
请参阅Google sheets API 4: How to append to the end of the row with PHP,提出同样的问题。 PHP客户端库已过期,缺少append方法。当它被修复时,我会报告其他SO线程。对不起!