Getting Organized with the Tasks API

Wednesday, May 11, 2011 | 10:06 AM

Labels:

Google Tasks helps many of us to remember all those things that keep us busy. Towards the end of last year we asked our users what they wanted to see improved with Google Tasks and an overwhelming request was for the ability to access tasks from anywhere — be it on the move, on the desktop, or through their favorite Web apps.

Today, we’re checking off a big to-do from our list and are inviting you to try out the new Google Tasks API. Using the Google Tasks API, developers can — for the very first time — create rich applications which integrate directly with Google Tasks.

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, RESTful interface and supports all basic operations required to query, 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 JSONUsing Google API Client Library for Java
POST /tasks/v1/lists/<list-ID>/tasks
Content-Type: application/json
...
{ title: "Publish blog post" }
Task task = new Task();
task.setTitle(
"Publish blog post");
client.tasks.insert(
"list-ID",
task).execute();
Client libraries 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 for your project through the API Console. Get started today by trying the Tasks API yourself using the API Explorer and taking a look at the documentation.


If you want to see the API in action check out the Google Tasks Chrome Extension. If you are at Google I/O we invite you to come along and hear the Google Tasks team talk about the new API today.

We thank the early adopters that have worked with us and built their own Google Tasks integrations over the last weeks. We’d like to highlight a few of them:
  • Producteev is a task management platform that lets teams and individuals access their to-dos from a lot of different locations (web, mobile, email, calendars...). You will now have all your Producteev's tasks available in Google Tasks and vice versa!
  • Mavenlink's project collaboration suite allows you to communicate, share files, track time, invoice, and make or receive payments in one place. With its Google Tasks integration, your Mavenlink project tasks & Google Tasks always stay in sync.
  • Manymoon is the top installed social task and project management app in the Google Apps Marketplace and makes it simple to get work done online with co-workers, partners, and customers. Manymoon's users can now create and view tasks with Gmail and Google Calendar through Google Tasks.
  • Zoho offers a suite of online business, collaboration and productivity applications for small businesses. So far they have integrated Zoho CRM & Zoho Projects with the Tasks API.


Get Started with the Google Tasks API today!

Want to weigh in on this topic? Discuss on Buzz




Posted by Fabian Schlup & Nicolas Garnier
Google Tasks API Team

49 comments:

Daniel Bryant said...

FINALLY!!!!

René Wuttke said...

Remember the Milk would be great ...

Actually you Google guys should just go ahead and buy them.

Anonymous said...

Awesome, thank you Google! Been waiting for ages!

Nodge said...

I wrote a simple extension for Google Chrome to test it. You can download it here.

anton said...

you rock! молодцы!

Franco Laiuppa said...

AWESOME!!! Finally we got it!! Thanks google!!!!!!!!!!!!!!!!!

Lord Bharath Bhushan Lohray. said...

Thanks !

J. Alan Atherton said...

Woohoo! Thank you!

Eduardo said...

cool!!!

Ege said...

I <3 Google!

ThatNateGuy said...

Fantastic! Thank you!

Anonymous said...

Finally is right! Now I can finally get around to accomplishing things instead of complaining...

Isabell said...

About time! Great work, albeit very slow...

eye69 said...

About time! Great work, albeit a bit slow...

Jonas said...

Fantastic news! Wow this took a while. Can't wait to see it used!

Jonas said...

Fantastic! Wow this took a while. Cant wait to see it implemented on apps!

me said...

wow, that took some time - very happy it got released though :)

Glacialheart said...

Excellent! I have been wanting this for some time.

Kirill said...

Thank you. Will you integrate Tasks Sync, as well?

Scott said...

Looking forward to when iCal supports this too.

mxttie said...

finally indeed, thank you!

Brian D. said...

Seriously! This is awesome.

Gooseus said...

NIIIIICE, though it's been so long that I almost forget what project I was going to use this API for...

Taylor said...

Stoked!

Check out the Chrome Extension

http://www.chromeextensions.org/other/google-tasks/

Anonymous said...

4 years and many days ago google didnt have a tasks api now we do hear ye hear ye

DC said...

Thanks! I have this will result in Tasks being integrated with the MS exchange syncing functionality that works so well with Google Calendar.

Guillermo Ferrero Ferri said...

No CalDav :(

winterlightning said...

This is awesome, is there a link to the python client? I could not find it

Nicolas said...

Winterlightning > Here is the link to the Python client lib project: http://code.google.com/p/google-api-python-client/ also, use the command "hg clone https://google-api-python-client.googlecode.com/hg/ google-api-python-client" to download it.

soccerkingpilot said...

Awesome...so helpful

raphkun said...

Finally ! Goodbye RTM !

itay said...

Finally, thank you!

Llewellyn said...

Many thanks - long time coming - now for a great GTD / Android App!!!

Daniel Barron said...

Now the 2nd half of the requirement please - make Outlook tasks sync with Google tasks! A business must!

Daniel Barron said...

And now for the 2nd half of the requirement - make Outlook tasks sync with Google tasks. A business must!

jjd said...

whaoooooo!!
yes, excellent, just whats needed to put old bloatware outlook to sleep.

yeah nice one.

Anonymous said...

Yesss!!! Thanks Google!!!

Menez said...

Yipppy! Finally.

Anonymous said...

Hahaha eat an apple! :P

Anonymous said...

FINALLY!

Now to wait for people to create apps and addons for syncing Google Tasks with my iPod Touch and with Thunderbird + Lightning.

Anonymous said...

Why don't you guys just release a simple Google Tasks Apps for my Nexus One phone ?

id said...

The documentation mentions src/contrib/apiTasksService.php but it's not on the svn, can you please fix this? Thanks!

Nicolas said...

id > Check the forum the question has been asked and the file is available there. Cheers!

Daniel Antonio said...

This is fantastic news! It shouldn't be long before the next Mozilla Lightning upgrade will allow us to fully synchronize with Google Calendar.

Thanks a lot guys, you make new reasons to replace our Microsoft software every day! :-)

Yann said...

Great news! Looking forward to the Lightning implementation. : )

Toto said...

Thanks to add this API :)

If you want sync Lightning and Google Tasks, you can use Memotoo: http://www.memotoo.com/?syncType=51

Joakim said...

What about adding the ability for tags to the tasks? Is that a planned feature?

Timbo said...

What about support for gmail labels. Fundamental !!

Balakrishna said...

Hello ,

I want to get the My Gmail Account Task list/Details. Pl let me know how i can do this with just simple Java Standalone code without using Auth and without Android API and without Registering my Project with Google (Means Simple one Java file). or else Pl ltell how can i get the instance of a Task Object.