AuHau / toggl-cli

A simple command-line interface for toggl.com

Home Page:https://toggl.uhlir.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to find user for TimeEntry

dnishiyama opened this issue · comments

I'm sorry if I'm missing something simple, but I'm unable to find out which users completed a TimeEntry. I'm using the python API wrapper to call api.TimeEntry.objects.all_from_reports(start=start, stop=stop), but I'm not able to correlate those resulting TimeEntry objects to a user.

Here is the json output for each TimeEntry: {"time_entry": {"id": 2xxx, "wid": 5xxxx, "description": "resume invite system refactoring", "pid": 1xxx, "tid": null, "billable": null, "start": "2021-08-29T13:49:45Z", "stop": "2021-08-29T17:27:17Z", "duration": 13052, "created_with": "TogglCLI", "tags": ["Pxxx"]}}

I'd like to be able to see which of my WorkspaceUser objects created the TimeEntry. Is there something that I'm missing?

Hey,
sorry for late response. I am afraid this is not possible, Toggl API does not provide such information :-(
See their documentation here: https://github.com/toggl/toggl_api_docs/blob/master/chapters/time_entries.md