Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/292.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 使用Google Sheets API列出所有电子表格_Php_Google Sheets Api - Fatal编程技术网

Php 使用Google Sheets API列出所有电子表格

Php 使用Google Sheets API列出所有电子表格,php,google-sheets-api,Php,Google Sheets Api,我正在尝试使用Google Sheets API和PHP来列出用户X帐户中文件名与特定模式匹配的所有电子表格,例如“company_abc_052017_en”。Google Sheets API和PHP是否可以实现这一点 谢谢, Z如果电子表格位于您的Google Drive中,您当然可以使用where you search for MiMEType of type获取所有电子表格 application/vnd.google-apps.spreadsheet 如果您正在使用Sheetsv

我正在尝试使用Google Sheets API和PHP来列出用户X帐户中文件名与特定模式匹配的所有电子表格,例如“company_abc_052017_en”。Google Sheets API和PHP是否可以实现这一点

谢谢,
Z

如果电子表格位于您的Google Drive中,您当然可以使用where you search for MiMEType of type获取所有电子表格

 application/vnd.google-apps.spreadsheet
如果您正在使用Sheetsv4 API本身执行此操作,则没有方法执行此操作,这与Sheets v3中的方法不同:

GET https://spreadsheets.google.com/feeds/spreadsheets/private/full

如果电子表格位于您的Google驱动器中,您当然可以使用where you search for MiMEType of type获取所有电子表格

 application/vnd.google-apps.spreadsheet
如果您正在使用Sheetsv4 API本身执行此操作,则没有方法执行此操作,这与Sheets v3中的方法不同:

GET https://spreadsheets.google.com/feeds/spreadsheets/private/full