This is a really simple web api that will help you to start a time entry on Toggl, or to stop the current running task. I wrote it to trigger my time tracker with a simple DO button or an IFTTT Recipe.
- api/toggl/start will start a new time entry
- api/toggl/stop will stop the running time entry
For the both action, you need to send in the body a json message (application/json) :
{"togglApiKey":"your-api-key"}
The api key can be found on bottom of the profile page.
Thanks to TogglAPI.net