Get spreadsheet
Gets information about the spreadsheet by ID
Function GetSpreadsheet(Val Token, Val Identifier) Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
Token | --token | String | ✔ | Token |
Identifier | --spreadsheet | String | ✔ | Spreadsheet identifier |
Returns: Map Of KeyAndValue - serialized JSON response from Google
1C:Enterprise/OneScript code example
Token = "ya29.a0AcM612wmWdggP-K6tOc3UqW0KxYMjUi60_Uhu-ERltTaavHGbML0nRBXqkuiBcr0GNmR_1gHKowaF1Rd_4Q5Amc9O23DEBZ95sNEGnpR5...";
Identifier = "1fktk0k_rOszr4c3t89Z1KXXSsRWPU0fFPgLImiN-MzI";
Result = OPI_GoogleSheets.GetSpreadsheet(Token, Identifier);
- Bash
- CMD/Bat
oint gsheets GetSpreadsheet \
--token "***" \
--spreadsheet "1lNdwweEhK1C1fXq80MLl6-CWAj9y89EJYiUBziOrvhM"
oint gsheets GetSpreadsheet ^
--token "***" ^
--spreadsheet "1lNdwweEhK1C1fXq80MLl6-CWAj9y89EJYiUBziOrvhM"