我正在尝试使用google驱动api for Ruby 下载以前一个文件修订版的内容。Tempfile.create('file_revision-', encoding: 'ASCII-8BIT') do |temp_file| # work with the content我不断得到Google::Apis
我可以使用drive-api-php获取google文档的文件名,但无法在php变量中获取文件内容。提供我的工作代码,以获得一个php变量的谷歌文档文件的内容。我检查了api参考页面,但无法理解如何使用代码。对于php,给出了不明确的方法。require __DIR__ .'/vendor/autoload.php';
* Returns an authorized API client.* @return Google