1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "reviews": [
9 {
10 "reviewId": "ex-101",
11 "employer": { "shortName": "Northwind Labs (example)" },
12 "reviewDateTime": "2026-08-03T10:00:00.000",
13 "ratingOverall": 4,
14 "pros": "Fair pay and flexible hours.",
15 "cons": "Promotions are slow.",
16 },
17 {
18 "reviewId": "ex-102",
19 "employer": { "shortName": "Northwind Labs (example)" },
20 "reviewDateTime": "2026-08-09T10:00:00.000",
21 "ratingOverall": 4,
22 "pros": "Supportive manager, good benefits.",
23 "cons": "Too many meetings.",
24 },
25 {
26 "reviewId": "ex-103",
27 "employer": { "shortName": "Northwind Labs (example)" },
28 "reviewDateTime": "2026-08-14T10:00:00.000",
29 "ratingOverall": 5,
30 "pros": "Remote friendly, smart colleagues.",
31 "cons": "Career growth could be faster.",
32 },
33 {
34 "reviewId": "ex-104",
35 "employer": { "shortName": "Northwind Labs (example)" },
36 "reviewDateTime": "2026-08-20T10:00:00.000",
37 "ratingOverall": 3,
38 "pros": "Good benefits.",
39 "cons": "Pay is below market.",
40 },
41 {
42 "reviewId": "ex-105",
43 "employer": { "shortName": "Northwind Labs (example)" },
44 "reviewDateTime": "2026-08-25T10:00:00.000",
45 "ratingOverall": 4,
46 "pros": "Great culture.",
47 "cons": "Some processes are slow.",
48 },
49 {
50 "reviewId": "ex-106",
51 "employer": { "shortName": "Northwind Labs (example)" },
52 "reviewDateTime": "2026-08-29T10:00:00.000",
53 "ratingOverall": 4,
54 "pros": "Flexible schedule.",
55 "cons": "Not much training.",
56 },
57 {
58 "reviewId": "ex-107",
59 "employer": { "shortName": "Northwind Labs (example)" },
60 "reviewDateTime": "2026-09-02T10:00:00.000",
61 "ratingOverall": 2,
62 "pros": "Colleagues are still great.",
63 "cons": "Layoffs this month and nobody knows who is next.",
64 },
65 {
66 "reviewId": "ex-108",
67 "employer": { "shortName": "Northwind Labs (example)" },
68 "reviewDateTime": "2026-09-08T10:00:00.000",
69 "ratingOverall": 2,
70 "pros": "Benefits are fine.",
71 "cons": "After the reorg the workload doubled and there is no job security.",
72 },
73 {
74 "reviewId": "ex-109",
75 "employer": { "shortName": "Northwind Labs (example)" },
76 "reviewDateTime": "2026-09-12T10:00:00.000",
77 "ratingOverall": 3,
78 "pros": "Smart colleagues.",
79 "cons": "Return to office mandate with two weeks notice.",
80 },
81 {
82 "reviewId": "ex-110",
83 "employer": { "shortName": "Northwind Labs (example)" },
84 "reviewDateTime": "2026-09-17T10:00:00.000",
85 "ratingOverall": 2,
86 "pros": "Free snacks.",
87 "cons": "More layoffs announced and management does not communicate.",
88 },
89 {
90 "reviewId": "ex-111",
91 "employer": { "shortName": "Northwind Labs (example)" },
92 "reviewDateTime": "2026-09-22T10:00:00.000",
93 "ratingOverall": 3,
94 "pros": "Good pay.",
95 "cons": "Stress is high since the layoffs.",
96 },
97 {
98 "reviewId": "ex-112",
99 "employer": { "shortName": "Northwind Labs (example)" },
100 "reviewDateTime": "2026-09-27T10:00:00.000",
101 "ratingOverall": 2,
102 "pros": "Nice office.",
103 "cons": "Leadership has no clear direction.",
104 },
105 ] }
106
107
108run = client.actor("ntriqpro/glassdoor-reviews-change-insights").call(run_input=run_input)
109
110
111print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
112for item in client.dataset(run.default_dataset_id).iterate_items():
113 print(item)
114
115