Create a spreadsheet using default Properties using Google API PHP -


i trying updates of 4 year old code takes data database , creates reporting in google sheets. unfortunately have not kept code on years , trying use again, found new google api more complicated use to.

i have been able work out oauth process , have been able create new spreadsheets. life of me can not seem figure our how build new sheet , edit initial properties. simple thing updating title seems causing me trouble.

i using php library language of choice project. can point out should use build new sheet default properties? appreciated.

thanks

            $data = "{'properties': {'title': 'area52'}}";             $requestbody = new google_service_sheets_spreadsheet();             $response = $service->spreadsheets->create($requestbody);              $spreadsheetid = "<<hard coded value now>>";                         $requests = $data;             $requestbody = new google_service_sheets_batchupdatespreadsheetrequest();             $requestbody->setrequests($requests);             $response = $service->spreadsheets->batchupdate($spreadsheetid, $requestbody); 


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -