1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "currentItems": [
10 {
11 "id": "k1",
12 "skill": "Rust",
13 "role": "Backend Engineer",
14 "company": "Acme",
15 "mentions": 40,
16 },
17 {
18 "id": "k2",
19 "skill": "Python",
20 "role": "AI Engineer",
21 "company": "Beta",
22 "mentions": 80,
23 },
24 {
25 "id": "k3",
26 "skill": "COBOL",
27 "role": "Developer",
28 "company": "Gamma",
29 "mentions": 5,
30 },
31 ],
32 "previousItems": [
33 {
34 "id": "k1",
35 "skill": "Rust",
36 "role": "Backend Engineer",
37 "company": "Acme",
38 "mentions": 12,
39 },
40 {
41 "id": "k2",
42 "skill": "Python",
43 "role": "AI Engineer",
44 "company": "Beta",
45 "mentions": 65,
46 },
47 {
48 "id": "k3",
49 "skill": "COBOL",
50 "role": "Developer",
51 "company": "Gamma",
52 "mentions": 8,
53 },
54 ],
55}
56
57
58run = client.actor("quanmatrix/skills-demand-acceleration-intelligence").call(run_input=run_input)
59
60
61print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
62for item in client.dataset(run.default_dataset_id).iterate_items():
63 print(item)
64
65