如何获取所有标记为“完成”的 Google 日历目标和提醒

Jin*_*nov 6 javascript php google-calendar-api google-api google-tasks-api

Google 日历中,您可以:

1.) 将目标标记为“做到了”:

目标

2.) 将提醒标记为“标记为完成”:

提醒

3.) 将任务标记为“标记完成”:

任务

我知道可以使用Google Tasks API通过检查字符串属性并将其与以下各项进行比较来获取标记为“完成”的所有任务的列表:task.status"completed"

https://developers.google.com/tasks/v1/reference/tasks

Google Calendar API 中,我只找到了“事件”——从未提到过目标,而提醒仅作为事件的“电子邮件/短信/弹出”提醒被提及(这不是我想要的)

https://developers.google.com/calendar/v3/reference/

我找不到Google Keep API

如何获得标记为“完成”的所有目标和提醒的列表?

我愿意使用任何东西:Google Calendar / Google Tasks / Google Keep

我会在 Javascript 或 PHP 中使用任何官方或非官方/开源 API。

我将不胜感激任何答案或建议,谢谢!

Jin*_*nov 2

在 GitHub 上,我找到了一个用于 Google 提醒的 Python 库:

https://github.com/jonahar/google-reminders-cli

Reminder 类有一个 bool 变量“done”,这正是我想要的。

这就是我将 Python 库移植到 JavaScript 和 PHP 的原因:

https://github.com/Jinjinov/google-reminders-js

https://github.com/Jinjinov/google-reminders-php