What is Google Task API and how to make an app

Google Tasks helps many of us to remember all those things that keep us busy. Using the Google Tasks API, developers can, for the very first time, create rich applications which integrate directly with Google Tasks.

Google Tasks is built on two basic concepts:

Task List
A list containing tasks. Users can have more than one task list to manage their tasks the way they want.
A single task containing information such as the title of the task, notes, the due date, and the completed date

The Google Tasks API provides developers with a powerful set of API endpoints for retrieving and modifying Google Tasks content and metadata. It offers a simple and restful interface and supports all basic operations required make an app, manage and sync a user’s tasks and task lists. The API uses JSON for data representation and works with multiple authentication mechanisms including OAuth 2.0.

Plain HTTP using JSON

POST /tasks/v1/lists/
Content-Type: application/json
{ title: "Publish blog post" }

Google API Client Library for Java

Task task = new Task();
"Publish blog post");

Client libraries and samples are provided for several major programming environments and should help you get up and running quickly.

The API is available in Labs and can be activated if you want to make an app, through the API Console.You can also see the API in action by checking out the Google Tasks Chrome Extension.

If you’re unfamiliar with Google Tasks API concepts, read this Getting Started Guide and experiment with the user interface before starting to code.

Leave a Reply