Closed JoeyStrandnes closed 2 years ago
Hello @JoeyStrandnes!
Thank you for submitting your issue. Unfortunately this repository is largely unmaintained, which means issues remain unseen and do not get dealt with in a respectable manner. We're sorry for not getting back to you sooner.
This issue has been around for a long time so we will close it for now, but please let our excellent 24/5 support staff know you if you have any unresolved issues with our platform, documentation or APIs. They're also really good at noting down feature requests for our development teams. Please find them on our support page by clicking the little icon in the bottom right corner of the screen.
Kind regards, Joeri from Toggl
This is the response from "Get running time entry"
The timer duration is in the epoch time format and the start time is in the ISO 8601 time format.
I'm using your API for embedded systems and don't natively have access to "real time", I'm not able to easily calculate the timer duration since the two time format differ. To solve this I first have to request the current time from worldtimeapi.org then request your "Get running time entry" and then calculate the difference resulting in the timer duration in seconds.
This works fine but results in much longer "processing" time and unnecessary API calls to other services for a simple function.
Could you add a "startepoch"entry to the returned JSON document that just returns the start time in the epoch time format. Exactly like the regular "start" but in epoch time.
Thanks
//Joey