Function: Spreadsheet()
Spreadsheet(
sheetsId,globalOptions):TSpreadsheet
Define a spreadsheet corresponded to a Google Sheets document.
Parameters
| Parameter | Type | Description |
|---|---|---|
sheetsId | string | Google Sheets ID can be found from the URL docs.google.com/spreadsheets/d/{sheetsId}/ |
globalOptions | SheetOptions | SheetOptions which will be applied in every .get call |
Returns
A spreadsheet object
Example
ts
const sheets = Spreadsheet('google-sheets-id');