I know you can get information in a certain range in a Google Sheets like so
data = sheets.values().get(spreadsheetId=SHEET_ID, range=SHEET_RANGE).execute()
But when I print data, it doesn't include all the information within the sheets. More specifically, I also want to know about the text format, like the size of the text for example, as well as the size of the columns and rows, the background of the cells, etc.
How do I get all of this information?
Suggestion: Use
spreadsheets.get()The
spreadsheets.values().get()method only returns the values of the indicated range. To retrieve other data, like the cells' formatting, I recommend usingspreadsheets.get()instead.Try calling the Spreadsheets API using the following:
Reference: