1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "currentItems": [
10 {
11 "id": "p1",
12 "name": "VP Procurement",
13 "seniorityScore": 96,
14 "roleFit": 94,
15 "influenceScore": 91,
16 "contactabilityScore": 82,
17 "companyHeadcount": 4200,
18 },
19 {
20 "id": "p2",
21 "name": "Analyst",
22 "seniorityScore": 38,
23 "roleFit": 52,
24 "influenceScore": 31,
25 "contactabilityScore": 76,
26 "companyHeadcount": 4200,
27 },
28 ],
29 "previousItems": [{
30 "id": "p1",
31 "name": "VP Procurement",
32 "seniorityScore": 90,
33 "roleFit": 88,
34 "influenceScore": 82,
35 "contactabilityScore": 70,
36 "companyHeadcount": 3900,
37 }],
38}
39
40
41run = client.actor("quanmatrix/linkedin-buyer-committee-intelligence").call(run_input=run_input)
42
43
44print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
45for item in client.dataset(run.default_dataset_id).iterate_items():
46 print(item)
47
48