View Source Sheetex (Sheetex v0.2.0)
For when you just want to fetch some rows from a Google Sheet.
See fetch_rows/2
for more information.
Summary
Functions
Fetch rows from a Google Sheet.
Similar to fetch_rows/2
, but raises an exception on failure.
Types
Functions
Fetch rows from a Google Sheet.
For this to work, you need an API key or an OAuth token that will be passed to the Google Sheets API. See Google’s official authorization docs.
Options
You must provide either key
OR oauth_token
for authorization.
key
– API key.oauth_token
– OAuth token.range
– Use this option if you want to fetch a specific range from a spreadsheet using the A1 notation.
Output
- The output will include rows up to the last non-empty row in the sheet (or from within the specified range).
- For each non-empty row, the output will contain a list of cell values up to the rightmost non-empty cell.
Similar to fetch_rows/2
, but raises an exception on failure.