Thursday, 1 December 2016

Node.Js with Google Sheets . Only display recent row

I am setting up my Magicmirror/ Raspberry Pi for my office. I am an Aquatic Safety Coordinator and I usually check the chemical logs every 30 minutes. The Lifeguards on duty will log that information using google forms and the data gets store on a google spreadsheet hereThe code I have Displays the first three Columns of each row` for (var i = 0; i < rows.length; i++) { var row = rows[i];console.log('%s, %s', row[0], row[1], row[2]); ` How would I make it only display the most recent row submitted ?

Submitted December 01, 2016 at 08:09PM by rb26dett26

No comments:

Post a Comment