Google Drive API - 更新电子表格数据 [英] Google Drive API - Update Spreadsheet data
问题描述
我想将数据从我的网络应用程序发送到谷歌驱动器电子表格,这样其他人会更容易看到数据.所以我有一个电子表格,每当有新数据时我想在其中添加行.
I want to send data from my web application to a google drive spreadsheet, so it will be easier for other people see data. So I have one spreadsheet and I want to add lines to it whenever there is new data.
我的问题是,是否可以选择只在电子表格中添加一行?
My question is, is there an option to just add a line to a spreadsheet?
如果不是,那么我想完成此操作的唯一方法是获取文件,添加行,然后再次上传?
If not, then I suppose the only way to accomplish this is by getting the file, adding the line, and than uploading again?
推荐答案
Google Drive API 用于通用文件/文件夹交互.对于直接修改 Google 电子表格数据,Google Sheets API 会是更好的选择.
The Google Drive API is meant for generic file / folder interactions. For directly modifying Google Spreadsheet data, the Google Sheets API would be the better choice.
这篇关于Google Drive API - 更新电子表格数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!