8

In Google Calendar it is possible to:

1.) Mark a Goal as "Did it":

Goal

2.) Mark a Reminder as "Mark as done":

Reminder

3.) Mark a Task as "Mark complete":

Task

I know that it is possible to use Google Tasks API to get a list of all Tasks marked as "complete" by checking the task.status string property and comparing it to "completed":

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

In the Google Calendar API, I only found "Events" - Goals are never mentioned and Reminders are only mentioned as "email / sms / popup" reminders for the events (which is not what I want).

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

I can't find the Google Keep API.

How can I get a list of all Goals and Reminders marked as "done"?

I am willing to work with anything: Google Calendar / Google Tasks / Google Keep

I would use any official or unofficial / open source API in either Javascript or Php.

I would appreciate any answer or suggestion, thank you!

Community
  • 1
  • 1
Jinjinov
  • 2,554
  • 4
  • 26
  • 45
  • Two years old but still relevant: https://stackoverflow.com/questions/41294548/ In particular see https://issuetracker.google.com/issues/36760283 – Jeff May 20 '19 at 18:06

2 Answers2

2

On GitHub I found a Python library for Google Reminders:

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

The Reminder class has a bool variable "done", which is exactly what I wanted.

That is why I ported the Python library to JavaScript and to PHP:

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

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

Jinjinov
  • 2,554
  • 4
  • 26
  • 45
-1

I have checked this official reference of Google Tasks API.

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

in this API, there is a request parameter for showCompleted.

you can set it to true and other will be false.

Please let me know if you will face any other issue regarding this.