from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.tasks.update_screen_time(
task_id="taskId",
additional_screen_time=1,
)
print(response)
"null"
Adds a specified duration to the total screen time recorded for a task. This is typically used for tasks involving user interaction.
from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.tasks.update_screen_time(
task_id="taskId",
additional_screen_time=1,
)
print(response)
"null"
The unique identifier of the task for which to update screen time.
Screen time updated successfully. No content returned.
null