How do I fill in the @me parameter in Google Tasks API calls?

354 Views Asked by At

I am trying to make a call to the Google Tasks API (link). There is a parameter in the URL call @me but I am not sure how to fill it?

I went ahead and created a userID for a project where I enabled Google Tasks API, and I tried to use that userID, but it does not seem work.

1

There are 1 best solutions below

0
On

You don't have to replace the word me. When it should be done, as in the get method, it is indicated like this: {word}. In addition, it is indicated as: Path parameters.

For instance, GET: https://tasks.googleapis.com/tasks/v1/users/@me/lists/{tasklist}.