如何在新的Google表格API v4中获得最后一行的价值?
我使用它从一张纸上获得一个范围:
mService.spreadsheets().values().get("ID_SHEET", "Sheet1!A2:B50").execute();
Run Code Online (Sandbox Code Playgroud)
如何检测工作表中带有值的最后一行?
android google-sheets google-spreadsheet-api google-drive-api
我正在尝试使用适用于Android的Google Sheets API(v4),但找不到如何使用values().update()或batchUpdate()方法更新工作表的特定工作簿的方法。
有谁知道如何做到这一点?
编辑:澄清一下,我正在使用此API:(来自build.gradle)
compile('com.google.api-client:google-api-client-android:1.22.0') {
exclude group: 'org.apache.httpcomponents'
}
compile('com.google.apis:google-api-services-sheets:v4-rev28-1.22.0') {
exclude group: 'org.apache.httpcomponents'
}
Run Code Online (Sandbox Code Playgroud)