Skip to content

Tag: google-sheets-api

Get Cell Format from Google Sheet API

I’d like to retrieve the format/type of the cell that set in google sheet, for example Plain text, Number, Date, Time and etc from the Google Sheet API. Google Sheet format screenshot here. Google Sheet Sample I’m using the API from this Srijan’s reference, it only able to pull out the value…

Changing Cell Colour With Google Sheets API (PHP)

I’m trying to change a ranges colour via the Google Sheets API in PHP. I have done around an hour of researchig. The code below is as far as I’ve got. If I take out this: Then the code works to update the sheets title. However, I can’t seem to update a ranges colour. Any advice would be grea…

Google sheets API range issue

I have a google sheet like this. Those values are just place holders at the moment for my headers When I run my PHP script with $range = ‘Sheet!F2:L2’; to insert records into the google sheet via API/service account and I only want to start inserting at ROW F for all attempts, it inserts fine on t…