python - Find cell by value with google api v4 (google sheets) -


can find cell value using google api v4 ?, in task want change background color if cell_value == my_value.

i know 1 variant it`s:

  1. using gspread can find cell coordinates
  2. using google api v4 can change background color

but want use google api v4, because find cell value using gspread slowly.

getting value of cell using sheets api supported. check sheets api reading guide. code samples reading found in basic reading.

read single range

the following spreadsheets.values.get request reads values stored in range sheet1!a1:d5 , returns them in response. empty trailing rows , columns omitted.

the request protocol shown below. reading , writing values guide shows how implement reads in different languages using google api client libraries.

get https://sheets.googleapis.com/v4/spreadsheets/spreadsheetid/values/sheet1!a1:d5 

Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -