Как я могу увидеть предыдущие версии листа Google при его обновлении через API? ⇐ Python
Как я могу увидеть предыдущие версии листа Google при его обновлении через API?
I am updating a Google sheet via the api, Python code snippet that I'm using here (this works fine):
sheet = service.spreadsheets() result = ( sheet.values() .update( spreadsheetId=SPREADSHEET_ID, range="Sheet1!A1:A4", valueInputOption='RAW', body=dict( majorDimension='COLUMNS', values= [ ["Item 3", "Wheel 3", "Door 3", "Engine 3"] ] ) ).execute() ) But when I call that repeatedly (with different values, so it is changing the sheet), and I look at the version history for the sheet, there are no versions. How can I make it so I can see all the past versions that I've updated?
Источник: https://stackoverflow.com/questions/780 ... ia-the-api
I am updating a Google sheet via the api, Python code snippet that I'm using here (this works fine):
sheet = service.spreadsheets() result = ( sheet.values() .update( spreadsheetId=SPREADSHEET_ID, range="Sheet1!A1:A4", valueInputOption='RAW', body=dict( majorDimension='COLUMNS', values= [ ["Item 3", "Wheel 3", "Door 3", "Engine 3"] ] ) ).execute() ) But when I call that repeatedly (with different values, so it is changing the sheet), and I look at the version history for the sheet, there are no versions. How can I make it so I can see all the past versions that I've updated?
Источник: https://stackoverflow.com/questions/780 ... ia-the-api
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение