1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "currentItems": [
10 {
11 "exhibitorId": "e1",
12 "event": "CloudWorld",
13 "company": "Acme AI",
14 "category": "AI Infrastructure",
15 "booth": "A12",
16 "score": 90,
17 },
18 {
19 "exhibitorId": "e2",
20 "event": "CloudWorld",
21 "company": "Beta Data",
22 "category": "Analytics",
23 "booth": "B10",
24 "score": 70,
25 },
26 {
27 "exhibitorId": "e3",
28 "event": "CloudWorld",
29 "company": "Gamma Security",
30 "category": "Security",
31 "booth": "C04",
32 "score": 80,
33 },
34 ],
35 "previousItems": [
36 {
37 "exhibitorId": "e1",
38 "event": "CloudWorld",
39 "company": "Acme AI",
40 "category": "AI Infrastructure",
41 "booth": "A08",
42 "score": 75,
43 },
44 {
45 "exhibitorId": "e4",
46 "event": "CloudWorld",
47 "company": "Delta Ops",
48 "category": "DevOps",
49 "booth": "D01",
50 "score": 60,
51 },
52 ],
53}
54
55
56run = client.actor("quanmatrix/conference-exhibitor-churn-intelligence").call(run_input=run_input)
57
58
59print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
60for item in client.dataset(run.default_dataset_id).iterate_items():
61 print(item)
62
63