Logo GenPRES

Web Module

Reads the rows of a sheet of the Google spreadsheet that the environment variable GENPRES_URL_ID names. Returns an empty array when the download fails and raises an InvalidOperationException when GENPRES_URL_ID is not set.

Functions and values

Function or value Description

getDataFromGenPres sheet

Full Usage: getDataFromGenPres sheet

Parameters:
    sheet : string

Returns: string array array The rows as string arrays, or an empty array when the download fails.

Reads a sheet of the Google spreadsheet that GENPRES_URL_ID names.

sheet : string
Returns: string array array

The rows as string arrays, or an empty array when the download fails.

System.InvalidOperationException When GENPRES_URL_ID is not set.

Type something to start searching.