1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "branches": [
10 {
11 "branchId": "BR-001",
12 "name": "Central Branch",
13 "region": "north",
14 "confirmedOn": "2026-10-20",
15 "hours": {
16 "monday": "09:00-18:00",
17 "tuesday": "09:00-18:00",
18 "wednesday": "09:00-18:00",
19 "thursday": "09:00-18:00",
20 "friday": "09:00-18:00",
21 "saturday": "10:00-16:00",
22 "sunday": "closed",
23 },
24 "specialHours": {
25 "2026-12-25": "closed",
26 "2026-12-31": "09:00-15:00",
27 },
28 },
29 {
30 "branchId": "BR-002",
31 "name": "Harbor Branch",
32 "region": "south",
33 "confirmedOn": "2026-05-02",
34 "hours": {
35 "monday": "09:00-18:00",
36 "tuesday": "09:00-17:00",
37 "wednesday": "09:00-18:00",
38 "thursday": "09:00-18:00",
39 "friday": "09:00-18:00",
40 "saturday": "10:00-16:00",
41 "sunday": "10:00-14:00",
42 },
43 "specialHours": { "2026-12-25": "10:00-14:00" },
44 },
45 {
46 "branchId": "BR-003",
47 "name": "Airport Kiosk",
48 "region": "south",
49 "hours": {
50 "monday": "09:00-18:00",
51 "tuesday": "09:00-18:00",
52 "wednesday": "09:00-18:00",
53 "thursday": "09:00-18:00",
54 "friday": "09:00-18:00",
55 "saturday": "10:00-16:00",
56 },
57 },
58 ],
59 "policy": {
60 "weeklyHours": {
61 "monday": "09:00-18:00",
62 "tuesday": "09:00-18:00",
63 "wednesday": "09:00-18:00",
64 "thursday": "09:00-18:00",
65 "friday": "09:00-18:00",
66 "saturday": "10:00-16:00",
67 "sunday": "closed",
68 },
69 "regionalWeeklyHours": {},
70 "holidays": [
71 {
72 "date": "2026-12-25",
73 "name": "Year-end closure",
74 "hours": "closed",
75 },
76 {
77 "date": "2026-12-31",
78 "name": "Short trading day",
79 "hours": "09:00-15:00",
80 },
81 ],
82 },
83 "asOfDate": "2026-11-05",
84}
85
86
87run = client.actor("practical_ai_lab_jp/pal-maps-branch-hours-policy-exception-audit").call(run_input=run_input)
88
89
90print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
91for item in client.dataset(run.default_dataset_id).iterate_items():
92 print(item)
93
94