OAuth access token
Execution context
Can be used with offline access token, to refresh it.
Inserts given values as uninterrupted sequence of cells in a new row at end of the specified worksheet.
Inserts given values as uninterrupted sequence of cells in a new row at end of the specified worksheet.
Spreadsheet ID (SpreadsheetInfo.id)
Worksheet ID (SpreadsheetInfo.id)
Uninterrupted sequence of cell values
Inserts given values as cells in a new row at end of the specified worksheet (after the last row containing a cell with some content).
Inserts given values as cells in a new row at end of the specified worksheet (after the last row containing a cell with some content).
Spreadsheet ID (SpreadsheetInfo.id)
Worksheet ID (SpreadsheetInfo.id)
Cell values with associated positions (first = 1)
Returns matching cells, if any.
Returns matching cells, if any.
Spreadsheet ID (SpreadsheetInfo.id)
Worksheet ID (WorksheetInfo.id)
Optional row range
Optional column range
cells("spreadsheetId", "worksheetId", None, None)
Returns matching cells, if any.
Returns matching cells, if any.
Spreadsheet ID
Worksheet index (first = 0)
Optional row range
Optional column range
cells("spreadsheetId", 0, None, None) // all cells of first worksheet
Returns list of cells from given URI (WorksheetInfo.cellsUri).
Returns list of cells from given URI (WorksheetInfo.cellsUri).
Cells URI
Row range
Column range
Changes cell in specified worksheet.
Changes cell in specified worksheet.
Spreadsheet ID (SpreadsheetInfo.id)
Worksheet ID (WorksheetInfo.id)
List of cells to be created
List of version URIs for each created cell
// Put "A" as content of cell at first row second column, // first worksheet of specified spreadsheet change("spreadsheetId", "worksheetId", List(CellValue(1, 2, "A")))
Changes cell in specified worksheet.
Changes cell in specified worksheet.
Spreadsheet ID
Worksheet index (first = 0)
List of cells to be created
List of version URIs for each created cell
// Put "A" as content of cell at first row second column, // first worksheet of specified spreadsheet change("spreadsheetId", 0, List(CellValue(1, 2, "A")))
Changes cells.
Changes cells. Any existing content will be overwrited .
Cells URI (WorksheetInfo.cellsUri)
List of cells to be created
List of version URI for each created cell
Returns last row of specified worksheet, if any.
Returns last row of specified worksheet, if any.
Spreadsheet ID (SpreadsheetInfo.id)
Worksheet ID (WorksheetInfo.id)
lastRow("spreadsheetId", "worksheetId")
Returns list of all available spreadsheets.
Returns information for matching spreadsheet, if any.
Returns information for matching spreadsheet, if any.
Spreadsheet ID (SpreadsheetInfo.id)
Processes worksheets found for specified spreadsheet (SpreadsheetInfo.worksheetsUri).
Processes worksheets found for specified spreadsheet (SpreadsheetInfo.worksheetsUri).
Spreadsheet ID
Initial value for function f
Function given current state and extracted information. Must return either a final value at Left
if must not look at other worksheets, or updated value at Right
to go on processing worksheets.
// api: Spreadsheet // Will find the second worksheet... val second: Future[Option[WorksheetInfo]] = api.worksheet("spreadsheetId")(1 -> None) { (st, w) => val (i, _) = st if (i == 2) /* found some, so no next step */ Left(2 -> Some(w)) else Right(i+1 -> None) } map (_._2)
Returns worksheet matching given ID.
Returns worksheet matching given ID.
Spreadsheet ID (SpreadsheetInfo.id)
Worksheet ID (WorksheetInfo.id)
Returns worksheet from specified worksheet whose index in feed is given one, if any.
Returns worksheet from specified worksheet whose index in feed is given one, if any.
Spreadsheet ID (SpreadsheetInfo.id)
Worksheet index in underlying feed (first = 0)
val first: Future[Option[WorksheetInfo]] = worksheet("spreadsheetId", 0)
Returns list of worksheets from given URI (SpreadsheetInfo.worksheetsUri).
Returns list of worksheets for specified spreadsheet
Returns list of worksheets for specified spreadsheet
Spreadsheet ID (SpreadsheetInfo.id)
Google spreadsheet DSL.