我正在大量使用Apps脚本来维护我们的Google Apps for Business帐户,而现在使用ContentService和HtmlService,我们正在将其范围扩展到可直接从公司内部网访问的某些功能 .
是否可以使用Apps脚本公开的Google Domain或Users API来检索用户 Profiles 图片 . 我可以使用python API这样做,但不想引入到AppEngine或其他托管服务的往返来实现相同的目的 .
可能?
单独使用Apps脚本是不可能的 . 但是,Apps Script和User Profiles API在理论上是可行的 . (https://developers.google.com/google-apps/profiles/#retrieving_photo) .
要结合这两者,您可以使用知名库页面中列出的OAuth服务(https://developers.google.com/apps-script/notable-script-libraries)
1 回答
单独使用Apps脚本是不可能的 . 但是,Apps Script和User Profiles API在理论上是可行的 . (https://developers.google.com/google-apps/profiles/#retrieving_photo) .
要结合这两者,您可以使用知名库页面中列出的OAuth服务(https://developers.google.com/apps-script/notable-script-libraries)