I want to add a new value from B3.
B1:E1 is from the first line of B to the first line of E.
B:E is from the beginning of B to the end of E.
I wonder what the difference is when the range is B:E, B1:E1.
When there is a value in column A, the new value is appended to the end of A.
https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/append
service = discovery.build('sheets', 'v4', credentials=credentials)
spreadsheet_id = 'my-spreadsheet-id
range_ = 'sheet1!B:E' vs'sheet1!B1:E1' # Questions
value_input_option = ''
insert_data_option = ''
value_range_body = {
}
request = service.spreadsheets().values().append(spreadsheetId=spreadsheet_id, range=range_, valueInputOption=value_input_option, insertDataOption=insert_data_option, body=value_range_body)
response = request.execute()
pprint(response)