Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method: Read data from a cell #1

Open
cyclops1982 opened this issue Nov 4, 2020 · 1 comment
Open

Method: Read data from a cell #1

cyclops1982 opened this issue Nov 4, 2020 · 1 comment
Assignees

Comments

@cyclops1982
Copy link
Member

cyclops1982 commented Nov 4, 2020

This should provide the ability for the value of a single cell to be returned.

Method Details

Property Value
Service Object Name Cell (See #5)
Service Object Method Name Get Cell Value
Service Object Method Description Read a value from a single given Cell.
Execution type Read
Input SpreadsheetId, Cell
Required Inputs SpreadsheetId, Cell
Output EffectiveValueBool, EffectiveValueString, EffectiveValueNumber, EffectiveValueFormula, EffectiveValueDateTime, EffectiveValueDate, EffectiveValueTime, FormattedValue, IsEmpty

Validation / Error handling

  1. If the sheet does not exist, then provide the error message: "Spreadsheet '{SpreadsheetId}' does not exist."
  2. Depending on the cell type, we would return the correct property filled in. The other properties would remain empty. A cell in a sheet has a type, and this would be mapped to one of the output properties. This allows us to have strongly typed outputs. The FormattedValue will always return the string representation of the cell, unless it is empty.
  3. The IsEmtpy is used to indicate if a cell is empty. If IsEmtpy is true, then all other properties should be ignored.
@cyclops1982 cyclops1982 self-assigned this Nov 6, 2020
@cyclops1982
Copy link
Member Author

Quick note:
For a cell, we want:

  • UserEnteredValue - as string
  • EffectiveValueNumber
  • EffectiveValueBool
  • EffectiveValueString
  • EffectiveValueFormula
  • EffectiveValueDateTime * nice to have
  • EffectiveValueTime * nice to have
  • EffectiveValueDate * nice to have
  • FormattedValue - as string

Read Cell
Write Cell
Read Column

@cyclops1982 cyclops1982 changed the title Retrieve a single cell from a google sheet Method: Retrieve a single cell from a google sheet Nov 12, 2020
@cyclops1982 cyclops1982 changed the title Method: Retrieve a single cell from a google sheet Method: Read data from a cell Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant