Logo GenPRES

Web Module

Downloads a sheet of a Google spreadsheet as rows of cells and writes the time taken to the console. A failed download gives an empty array.

Functions and values

Function or value Description

getDataFromSheet urlId sheet

Full Usage: getDataFromSheet urlId sheet

Parameters:
    urlId : string - The id of the spreadsheet.
    sheet : string - The name of the sheet.

Returns: string array array The rows of cells; an empty array when the download fails.

Downloads a sheet of a Google spreadsheet as rows of cells and writes the time it took to the console.

urlId : string

The id of the spreadsheet.

sheet : string

The name of the sheet.

Returns: string array array

The rows of cells; an empty array when the download fails.

Type something to start searching.