是否可以使用应用程序脚本调用Google API?在Apps脚本中使用Google API?
我看到这个例子:
var url = 'https://gdata.youtube.com/feeds/api/videos?'
+ 'q=skateboarding+dog'
+ '&start-index=21'
+ '&max-results=10'
+ '&v=2';
var response = UrlFetchApp.fetch(url);
Logger.log(response);
但我想是获得在应用程序域中的所有已删除的用户使用此:
GET https://www.googleapis.com/admin/directory/v1/users
?domain=primary domain name&pageToken=token for next results page
&maxResults=max number of results per page
&showDeleted=true
是否有可能,我是否需要添加之前的oAuth设置,应该如何?
现在,高级服务是aviv,我可以使用ADMIN SDK应该有可能吗?但是,我如何格式化GET代码?
Yeye我知道,但我需要取消删除所有已删除的用户,并且在应用程序脚本中没有内容,因为我看到它。我需要使用完整的API? – user3432918