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.a0ARW5m7702-Ib_bOq69krqD5iUx89SC2lxGPxRJoBjqvSBqE7uKghOyAjwrL7ebNf6xqPzwD4wQfZlFvBrb7QsWlw5PGW_SvkFr57Y8Js...";
Identifier = "1DoHoA-PGU3xsThA9Uh_rb_oHNpCXhKH0DkirmHTIo9I";
Result = OPI_GoogleSheets.GetSpreadsheet(Token, Identifier);
- Bash
- CMD/Bat
oint gsheets GetSpreadsheet \
--token "***" \
--spreadsheet "1hi4khP9WsocSCTV4SC2ZBjjFUQS15aF8hO_aXVhz3z4"
oint gsheets GetSpreadsheet ^
--token "***" ^
--spreadsheet "1hi4khP9WsocSCTV4SC2ZBjjFUQS15aF8hO_aXVhz3z4"