是否可以使用應用程序腳本調用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