Questions tagged [google-tasks]

Google Tasks API allow developers to search, read and update Tasks resources stored by Google Tasks service.

120 questions
2
votes
1 answer

What timezone does Google Tasks use?

I am prototyping a Google Tasks app using the Quickstart and the API reference. No problem retrieving the tasks. The question is what timezone the Due Date is stored in? I retrieve the Due Date as a DateTime per the doc, and then convert it to a…
Opus1217
  • 723
  • 4
  • 17
2
votes
1 answer

Getting "Extra args block must be a javascript object literal." error when trying to move a Google Task

I am trying to change the parent of a new Google task created using Google Scripts. Since the parent must be changed using "move," I'm trying the following: var oldtask = Tasks.Tasks.get(TASK_LIST_ID, TASK_ID); var newtask =…
2
votes
0 answers

Can I access and create the reminders in Google Calendar?

These are the ones I'm talking about: Google Reminders Or alternatively can I see my reminders from the Google Tasks API in my Google Calendar?
Jakkra
  • 641
  • 8
  • 25
2
votes
1 answer

How to insert task in google task?

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
2
votes
3 answers

How to create a child task in Google Apps Script Tasks API

I have been experimenting with the Google Apps Script Tasks API to create new tasks from emails. I have successfully created TasksList, and Tasks within these lists using both of the following approaches. However, I have been trying to create a…
Aurovrata
  • 2,000
  • 27
  • 45
2
votes
1 answer

Open Google tasks page in webview inside app

In my app I want to open Google tasks page in WebView. (https://mail.google.com/tasks/android or https://mail.google.com/tasks/canvas (second link most relevant for me, cause I use tablet)). But when I load url: wv.loadUrl(url); My app open native…
jimpanzer
  • 3,470
  • 4
  • 44
  • 84
2
votes
2 answers

Google tasks API. What parameters to use in TasksRequest.setFields(String fields) method?

I'm building a Android app that sync tasks to google tasks. And i used the Google Tasks APIs. My question is what parameters can I use in TasksRequest.setFields(String fields)? I see the sample code uses "items/title". What if i want to get other…
Chris.Zou
  • 4,506
  • 6
  • 31
  • 38
2
votes
1 answer

Tasks API using Google Apps Script (complete task)

I am trying to set the status of a task as completed using Tasks API. It shows that the code has completed successfully, but the task is not being marked as completed. Also, when I try to get the status of the task after update, it shows status as…
Cartman
  • 498
  • 8
  • 10
1
vote
1 answer

I need help to solve for app script creating duplicate Google Tasks

I am new to coding and have put together some code to reference Google Sheet values to create Google Tasks. However, when I run the script it doesn't seem to check the existing task title and dueDate and creates duplicate tasks. I don't know if I…
Roe
  • 43
  • 5
1
vote
3 answers

Why do I keep getting 'Bad Request' when I try to post a task in Java using the Google Task API?

I'm building an app coded in Java/Android and using the Google Task API but I have hit a major problem. I try to enter a Due or Completed date the Task API returns a 'Bad Request' error. I have however managed to post tasks successfully when I don't…
1
vote
1 answer

Is there a way to dispatch a task only after the previous task is completed, while using google cloud tasks?

I am trying to build a realtime bid matching engine, where the bid matching logic resides inside a firebase cloud function, and i want the cloud function to have only one instance running at any point of time to prevent data contentions…
1
vote
1 answer

How to set MAX_ATTEMPTS from code to Google Cloud Task?

How to set MAX_ATTEMPT of the tasks in google cloud queue in code? When I create new task, I want to set how many repetitions of a given task should be, can I do it from the code below? I have google cloud queue like here: const {CloudTasksClient} =…
1
vote
0 answers

Authentication Flow for Google Tasks API

I am trying to access the Google Tasks API from my Raspberry Pi to synchronize Tasks. Now comes a bit of a rant: Because it should run on my headless Raspberry Pi, I cannot use a webbrowser there. In the Tasks API Docs it says I can use an API key.…
1
vote
2 answers

Google task api due field

I am using google task list api and getting list from server. I created three task with different due time and date. I am getting date for every task but getting same due time. Can you please elaborate why this is happening? Output: { "kind":…
1
vote
1 answer

Is it possible to add some meta information to Google Tasks?

I'd like to add some meta information to Google Tasks when creating a new task via API, is it possible? All I can see is a "notes" field which can be read by users, it's not what I need.