How can I retrieve the time a spreadsheet was created? Using the Google Api Client. The spreadsheet properties of service.spreadsheets().get(spreadsheetId=sheet_id).execute()
does not seem to contain it.
CodePudding user response:
Google sheets api cannot retrieve metadata information about a file. Use Files:get of Google drive api instead:
service().files().get(fileId="sheet_id",fields="createdTime").execute()