【问题标题】:Google Reporting API with oauth 2.0带有 oauth 2.0 的 Google Reporting API
【发布时间】:2023-04-08 20:18:02
【问题描述】:

我想使用 Google Reporting API 来获取用户的活动报告(上次登录等)。 我的应用程序使用 oauth 2.0 来访问其他 Google API。但似乎 Google Reporting API 不支持 oauth 2.0。有什么建议我应该怎么做?实现 oauth 1 或使用不同的 Google API(如果存在)来获取用户的活动报告?

【问题讨论】:

    标签: oauth oauth-2.0 google-reporting-api


    【解决方案1】:

    我认为您正在查看报告 API 的旧文档。

    对于全新的报告 API (https://developers.google.com/admin-sdk/reports/v1/guides/authorizing),建议使用 OAuth 2.0。

    请注意,旧的 API 称为报告 API,而刚刚在 IO 发布的新 API 称为报告 API。

    【讨论】:

      猜你喜欢
      • 2012-04-20
      • 2013-07-12
      • 1970-01-01
      • 2014-09-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-11-08
      • 2015-12-09
      相关资源
      最近更新 更多