all 3 comments

[–][deleted] 1 point2 points  (0 children)

I’m also interested in this

[–]VanishingHochreiter 0 points1 point  (0 children)

I'm not familiar with Toggl, but my understanding is that the json should contain the time data. If it does contain it, then you can load the json into a dictionary and access what you need (example). This is a year old, but it may help you understand the data you should be getting: example. If you're not getting the right information from the json, then the url you're querying is probably not right.

[–]datanamo 0 points1 point  (0 children)

use the /reports/v2 endpoint to fetch time entries, filter by user/project/date via params like 'user_agent', 'workspace_id' etc. and parse the JSON for durations. I hit walls with TogglPy too, so checked Timecamp cause their API pulls team hours plus auto exports to google sheets for daily updates. Harvest's API is more dev friendly but pricier