【问题标题】:Google's preferred method for interacting with Calendar: API or GAS?Google 与日历交互的首选方法:API 还是 GAS?
【发布时间】:2017-02-14 10:02:17
【问题描述】:

要与我的 Google 日历交互,我似乎有两个选择:

API - https://developers.google.com/google-apps/calendar/

Google Apps 脚本 - https://developers.google.com/apps-script/reference/calendar/

我可以对每一个都做类似的事情 - 创建、删除和更新日历和事件。

Google 是否有首选方式让我们与日历(或通讯录或其他任何内容)进行交互? Google Apps 脚本或 API 的生命周期是否可能更长?选择一种与日历交互的方式比另一种更明智吗?

【问题讨论】:

    标签: google-apps-script google-api google-calendar-api


    【解决方案1】:

    API 用于与外部应用程序交互,并提供多种不同的编程语言。 Google Apps Scripts 使用起来更简单,但只能让一个 google 应用程序与另一个应用程序通信,并且仅以 javascript 提供。

    基本上,如果您想构建访问 Google 的程序,请使用 API。如果您想让您的日历与您的 Google 电子表格对话,请使用 Google-Apps-Script

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-06-30
      • 2023-01-11
      • 2012-05-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多