Insert new rows into Google Spreadsheet via cURL/PHP - HOW?

后端 未结 1 1192
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-09 07:06

Is there a script or tutorial on how to do this? How to implement inserting of data from my PHP application into a Google Spreadsheet?

I\'ve looked at the API (https

1条回答
  •  遥遥无期
    2020-12-09 07:21

    I don't think I can use the Google Apps Script as I don't see how I can code and trigger from a PHP script

    Sure you can. You can create a web service using Google Apps Script, that can receive and process service requests. It's simple to pass parameters to the web service, this could be done using cURL, for instance.

    The following example is for a simple spreadsheet with two columns. You can add further rows by:

    curl -L 
    
                                     
                  
提交回复
热议问题