WakaTime Compatibility
Get status bar today
Returns the total coding time for today. Used by editor plugins to display the status bar widget.
get/api/hackatime/v1/users/{id}/statusbar/today
Path parameters
idstring required
User ID or "current"
Response
successful
Example response
{
"data": {
"grand_total": {
"total_seconds": 7200,
"text": "2h 30m / 4h goal"
},
"goal": {
"target_seconds": 14400,
"tracked_seconds": 9000,
"completion_percent": 62
}
}
}