1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "mode": "list",
10 "divisions": [
11 "england-and-wales",
12 "scotland",
13 "northern-ireland",
14 ],
15 "years": [2026],
16 "calculations": [
17 {
18 "id": "invoice-due",
19 "startDate": "2026-12-24",
20 "addBusinessDays": 10,
21 },
22 {
23 "id": "sla-window",
24 "startDate": "2026-11-27",
25 "endDate": "2026-12-04",
26 "division": "scotland",
27 },
28 ],
29}
30
31
32run = client.actor("cliqtomedia/uk-bank-holidays-business-days").call(run_input=run_input)
33
34
35print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
36for item in client.dataset(run.default_dataset_id).iterate_items():
37 print(item)
38
39