Google Task Api Example. However, the same concepts are applicable to the Google Tasks AP