List worker schedules
workers.schedules.list(strworker_id) -> ScheduleListResponse
GET/api/workers/{workerId}/schedules
List worker schedules
import os
from handinger import Handinger
client = Handinger(
api_key=os.environ.get("HANDINGER_API_KEY"), # This is the default and can be omitted
)
schedules = client.workers.schedules.list(
"t_org_123_w_01HZY2ZJQ8G7K42W2D7WF6V4GM",
)
print(schedules.schedules){
"schedules": [
{
"id": "id",
"budget": "low",
"input": "input",
"nextRunAt": "2019-12-27T18:11:19.117Z",
"type": "scheduled"
}
],
"workerId": "workerId"
}Returns Examples
{
"schedules": [
{
"id": "id",
"budget": "low",
"input": "input",
"nextRunAt": "2019-12-27T18:11:19.117Z",
"type": "scheduled"
}
],
"workerId": "workerId"
}