an example of updating a google sheet with an array.
more information can be found at ajaxray's blog http://ajaxray.com/blog/store-data-to-google-sheets-using-php/, this was pretty difficult to figure out how to leverage the google api without using the post method from https://gist.github.com/karlkranich/de225928665dc6b83667