Get Google Sheets Last Edit date using Sheets API v4 (Java) -
i'm using google sheets api v4 in android.
https://developers.google.com/sheets/api/quickstart/android
i need know when last modification sheet made (including user); need guy:
i'd this:
spreadsheet spreadsheet = sheetsservice.spreadsheets().get(spreadsheetid).setincludegriddata(true).execute(); date date = spreadsheet.getproperties().getlasteditdate();
but, of course, no such getlasteditdate()
property method exists. there parameter or api method call data?
even better modified date each cell... i'd settle date of entire spreadsheet or sheet.
this not available in sheets api, may able use drive api's files.get method, includes 'modifiedtime' in response. (note default not include modified time, have explicitly ask in 'fields' parameter.)
Comments
Post a Comment