1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "emailRecipients": [],
10 "actorNameInclude": [],
11 "taskNameInclude": [],
12 "emailSections": {
13 "showCostBreakdown": True,
14 "showSchemaChanges": True,
15 "showTrendAnalysis": True,
16 "showAnomalyDetection": True,
17 "showBuildChanges": True,
18 "showRunLinks": True,
19 "showFieldDiscovery": True,
20 },
21 "excludeFields": [],
22}
23
24
25run = client.actor("hamza.alwan/monitoring-actor").call(run_input=run_input)
26
27
28print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
29for item in client.dataset(run.default_dataset_id).iterate_items():
30 print(item)
31
32