Friday, May 3, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1720  / 1 Year ago, tue, april 11, 2023, 5:25:59

I am looking for an application to handle toggl (https://www.toggl.com/track#) commands. For instance one could write a bash script that starts and/or stops a task in toggl.



Searching the web didn't result in any package... Is their a package/repository available?



A use case: I work on a project so I write a script that first starts the project on toggle, then the IDE is started. When the user closes the IDE, the script is activated again and the task is turned of on toggl.


More From » command-line

 Answers
1

There's the toggl API (API documentation on github). Using it and curl allows for bash scripts doing basically anything toggl is capable of, see the examples in the chapters of the API documentation.


[#28337] Thursday, April 13, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
horicgly

Total Points: 36
Total Questions: 126
Total Answers: 104

Location: Iceland
Member since Thu, Dec 1, 2022
1 Year ago
;