Tabata Timer worked example
{
"work_seconds": 20,
"rest_seconds": 10,
"rounds": 8,
"sets": 1,
"set_rest_seconds": 60
}
{
"total_duration": 230,
"work_time": 160,
"rest_time": 70,
"timeline": [
{
"set": 1,
"round": 1,
"stage": "Work",
"seconds": 20
},
{
"set": 1,
"round": 1,
"stage": "Rest",
"seconds": 10
},
{
"set": 1,
"round": 2,
"stage": "Work",
"seconds": 20
},
{
"set": 1,
"round": 2,
"stage": "Rest",
"seconds": 10
},
{
"set": 1,
"round": 3,
"stage": "Work",
"seconds": 20
},
{
"set": 1,
"round": 3,
"stage": "Rest",
"seconds": 10
},
{
"set": 1,
"round": 4,
"stage": "Work",
"seconds": 20
},
{
"set": 1,
"round": 4,
"stage": "Rest",
"seconds": 10
}
]
}