I am using Google spreadsheets API v4. I want to delete some rows via python script. i tried their example code and i got the following error
Invalid valu
In your script, sheetId is used for "sheetId": sheetId, and spreadsheetId=sheetId.
sheetId at "sheetId": sheetId, is gid of URL. Please check here. https://developers.google.com/sheets/api/guides/concepts#sheet_id
sheetId at spreadsheetId=sheetId is Spreadsheet ID. Please check here. https://developers.google.com/sheets/api/guides/concepts#spreadsheet_id
Each sheetId is different. So please modify them.