1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "currentItems": [
10 {
11 "id": "creator1",
12 "name": "Creator Alpha",
13 "followers": 420000,
14 "engagementRate": 5.8,
15 "growthPct": 22,
16 "verified": True,
17 "brandFitScore": 88,
18 },
19 {
20 "id": "creator2",
21 "name": "Creator Beta",
22 "followers": 68000,
23 "engagementRate": 1.9,
24 "growthPct": 3,
25 "verified": False,
26 "brandFitScore": 62,
27 },
28 ],
29 "previousItems": [{
30 "id": "creator1",
31 "name": "Creator Alpha",
32 "followers": 360000,
33 "engagementRate": 4.9,
34 "growthPct": 14,
35 "verified": True,
36 "brandFitScore": 82,
37 }],
38}
39
40
41run = client.actor("quanmatrix/x-creator-influence-authenticity-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