Sign-in

LiquidPlanner
30-day free trial
30-second sign-up

API Guide > Convenience Methods > Starting and Stopping Timers

Developer Forum - Ask the LiquidPlanner development team questions. Note that the LP iPhone app uses this same API.

API Sample Code – See the API in action then give it a try.


Enter a search term or try the Dev Forums for more answers.

LiquidPlanner uses a RESTful web service API. You can download the API Guide (PDF) for offline reference. Most actions that you can perform within the application can be automated using the API -- for example, you can create a task, comment on the task, track time against it, and then mark it done.

NEED HELP? Please post API questions in the API forums


You can request a list of your timers in a given workspace:

GET /api/workspaces/:workspace_id/timers

and to access your timer for a particular task:

GET /api/workspaces/:workspace_id/tasks/:task_id/timer

This will always return a timer object (either a running/stopped timer, or a newly created “stub” timer – but never nil).

To start, stop, or clear a timer:

POST /api/workspaces/:workspace_id/tasks/:task_id/timer/start
POST /api/workspaces/:workspace_id/tasks/:task_id/timer/stop
POST /api/workspaces/:workspace_id/tasks/:task_id/timer/clear

On success, each of these calls returns the affected timer.