jpillora/node-edit-google-spreadsheet — pull request #1 by simonmudd (2013-05-17 08:30:17+00:00)
Title: Created a read rows function

I have created a function which reads cells from the spreadsheet and groups them into rows. I have also added some handy variables to the rows object which include how many rows are filled out, the number of the last row filled out and the next free row.

The data from the cells is pretty raw and contains everything pulled from the spreadsheet.

An example of the returned is as follows:

{ '1':
[ { '@': [Object],
id: 'https://spreadsheets.google.com/feeds/cells/<%spreadsheet_id%>/1/R1C1',
updated: '2013-05-17T08:06:13.910Z',
'app:edited': [Object],
category: [Object],
title: 'A1',
content: 'blah',
link: [Object],
'gs:cell': [Object] }
],
total_rows: 8,
last_row: 9,
next_row: 10
}