Questions tagged [google-tasks-api]

The Google Tasks API provides developers with a powerful set of API endpoints for searching, reading, and updating Google Tasks content and metadata.

The home page for the API can be found here.

The API reference is here.

187 questions
0
votes
2 answers

How to find if the tasks for a particular date in a tasklist using google app-script

I am using an installed edit trigger of Google Sheets to create Google Tasks. However, when a row containing a task that has already been created as a Task is edited, a duplicate Task is created for the same day. I'd like to find all the Tasks in a…
Sheils
  • 323
  • 2
  • 22
0
votes
1 answer

Dismiss Google payment sheet

I have unique business logic requirement where I need to cancel or stop user from proceeding with Google pay if timer that is running in the background runs out. Suppose user clicked Google pay button, then we use…
geniushkg
  • 706
  • 9
  • 21
0
votes
1 answer

Node App Engine task getting Deadline Exceeded when launched from Cloud Tasks

I have a Node JS App Engine app that uses Request Promises Native to fetch external URLs. App Engine scripts launched from Cloud Tasks are supposed to have up to a 24 hour deadline, but all my tasks are being killed after 60 seconds. I know other…
0
votes
1 answer

Specify Google Task ID on insert

I am working with Google Tasks, using the PHP library: https://developers.google.com/tasks/v1/reference/tasks I am trying to insert a task with a custom ID. I found this topic: Setting id to task using Google Task API returns 400 invalid value which…
Jon
  • 21
  • 4
0
votes
1 answer

Add a row to google spreadsheet when a google tasks is completed

I want Google apps script that should read the google tasks completed and add them as a row to google spreadsheet.. Can anyone help me
0
votes
1 answer

Request scopes with GoogleSignInOptions for Tasks API

I've achieved to set up a Google Sign In in my Android application. According to Google Developers, requesting the scope for an API should be as easy as: if (!GoogleSignIn.hasPermissions( GoogleSignIn.getLastSignedInAccount(getActivity()), …
miquelvir
  • 1,748
  • 1
  • 7
  • 21
0
votes
2 answers

Date comparisons with formatDate in Google Apps Script are 1 day behind

Writing a Google Apps Script that looks at tasks via the Google Tasks API (as an Advanced Service) and checks their due date to see if they are overdue. If they are, it should then move them to the current day. Completed Project I used this code to…
0
votes
1 answer

Unit test stops after addOnCompleteListener of the Firebase Task API

I've implemented my first testcase for my App. Before every testcase, I need to login using Firebase. I've programmed everything in my Firebase class using the Tasks API. The Firebase class is asynchronuous but sends back a Task, and the result can…
0
votes
0 answers

Google Apps Scripts: Insert additional text into a text file

I'm trying to develop a method for adding Google Tasks to my running task list named todo.txt and is housed in Google Drive. I've found a way to grab the tasks. Of course, the data will nee to be manipulated as well (e.g., concatenate date formats…
Drew
  • 19
  • 2
0
votes
1 answer

How to call Google Tasks API from javascript?

I amtrying to call Google Tasks API for a app I'm building.When I make the call using Google's client libraries, it succeeds and return what is expected. function getAllTasks() { gapi.client.tasks.tasks.list({ tasklist:…
Abhishek Ranjan
  • 498
  • 3
  • 17
0
votes
2 answers

Multiple async calls best practices in Android

I need a shorter & cleaner solution for Example 1. So multiple async calls need to be finished before a certain Activity/Fragment can start. Example 1 is very messy and ugly with member bools, but works. I was considering using the Google Tasks…
Jim Clermonts
  • 1,694
  • 8
  • 39
  • 94
0
votes
1 answer

Setting id to task using Google Task API returns 400 invalid value

I am using Google's Java API for an project. Strangely, inserting a task without setting an id works fine. However, inserting a task with a id returns a 400 invalid value error. The id is to be used for syncing local data with Google Tasks I'm…
0
votes
1 answer

How to convert Google API DateTime timestamp between Cloud and local time

//Push Insert a Task: Calendar calendar = Calendar.getInstance(); long timestampToDB = calendar.getTimeInMillis(); com.google.api.services.tasks.model.Task newTask = new com.google.api.services.tasks.model.Task(); …
Joyofio987
  • 191
  • 1
  • 12
0
votes
0 answers

maxResult is not working when doing a tasks.tasklists.list

First of all the documentation is wrong. It says that the default value for MaxResult is 100, but if I do a query ( on my account with 31 lists) on the Tasks API explorer without setting the MaxResult parameter, I always get 20 items back with a…
onthemoon
  • 3,302
  • 3
  • 17
  • 24
0
votes
1 answer

403 forbidden error on while accessing google task api

I am trying to sync with google tasks. I got the tasks list from default list. Now I want to insert a task in default list. I followed the documentation for this. https://developers.google.com/google-apps/tasks/v1/reference/tasks/insert Also I have…
Sid
  • 2,792
  • 9
  • 55
  • 111