jpillora / node-edit-google-spreadsheet

A simple API for editing Google Spreadsheets
304 stars 101 forks source link

Added more functionality #77

Closed rudymalhi closed 1 year ago

rudymalhi commented 9 years ago

Add worksheet, use list feeds to add, get and update rows

jacobdr commented 9 years ago

Does this pull request include the ability to append to the sheet by any chance? Didn't see it in any of the commit comments or in the README modification, but was curious if your API changes exposed this functionality.

My use case it to write append-only (or at least after the known last row, since I know I can't write-protect data already in the sheet without a more complex call) to a sheet without having to first read in the entire sheet, use the info.lastRow property, and then read to that row.

rudymalhi commented 9 years ago

You can use the addRow method to append a row, but you need to have a header row and to know the names of the columns, you can get that information by using getRows.