1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "items": [
9 "2026-10-19",
10 {
11 "operation": "hijriToGregorian",
12 "date": "1448-09-01",
13 },
14 {
15 "operation": "businessDays",
16 "start": "2026-03-18",
17 "addBusinessDays": 5,
18 },
19 {
20 "operation": "businessDays",
21 "start": "2026-03-01",
22 "end": "2026-03-31",
23 },
24 {
25 "operation": "normalizeText",
26 "text": "إِنَّ الْمُعَلِّمَــــةَ فِي الْمَدْرَسَةِ الأُولَى ١٢٣",
27 },
28 {
29 "operation": "transliterate",
30 "text": "محمد بن عبد العزيز القحطاني",
31 },
32 {
33 "operation": "amountToWords",
34 "amount": "15,750.25",
35 },
36 {
37 "operation": "dateNames",
38 "date": "2026-09-23",
39 },
40 ] }
41
42
43run = client.actor("dodiabak/arabic-hijri-toolkit").call(run_input=run_input)
44
45
46print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
47for item in client.dataset(run.default_dataset_id).iterate_items():
48 print(item)
49
50