1.1Kпросмотров
31 декабря 2023 г.
Score: 1.2K
Для входящего API добавлен метод getSpreadSheetRows для получения содержимого одного или нескольких листов Google Таблицы method: getSpreadSheetRows
params:
spreadsheet_id - string, id of spreadsheet
email - string, email for request
sheets_ids - string, ids of sheets with separator "," (without quotes) (default no set, get all sheets)
get_rows_cache_time - number, cache time of rows in seconds (default 5, max 86400)
get_sheets_cache_time - number, cache time of sheets in seconds (default 5, max 86400) success result:
code = 0, data = Array of spreadsheets objects [sheet_id, sheet_title, rows] error result:
code = 40, description = "No spreadsheet_id param!" | "No email param!"
code = 100, description = "Internal error!"
code = 215, description = "Wrong get_rows_cache_time param!"
code = 216, description = "Wrong get_sheets_cache_time param!"