![](/img/trans.png)
[英]How to use Apps Script Execution API to pull data from a Google Sheet
[英]How to use google API in Apps Scripts on Google Sheet?
我知道我的问题听起来有点拗口,所以让我明确一点:我需要做一些事情,比如将数据从 Google Sheet 带到 AWS(即 Athena),反之亦然。
然而,因为谷歌 API 无论如何都需要,我惊讶地发现require()
在这种 JS 的双胞胎语言中甚至不是 function 。 因此,我们如何在其上使用任何第三方库?
示例( github 回购):
const {google} = require('googleapis');
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.