If I use curl to authenticate using an API token to the Toggl API, it returns a blob of JSON that includes my user ID.
If I authenticate using node-toggl-api and a username and password and call the authenticate() method, I get a blob of data back with my user ID.
But if I call authenticate() when using an API Token, I get an error Error: No need to authenticate thus you use apiToken and I don't see a way to get my user ID. Am I missing something?
If I use curl to authenticate using an API token to the Toggl API, it returns a blob of JSON that includes my user ID.
If I authenticate using node-toggl-api and a username and password and call the
authenticate()method, I get a blob of data back with my user ID.But if I call
authenticate()when using an API Token, I get an errorError: No need to authenticate thus you use apiTokenand I don't see a way to get my user ID. Am I missing something?