1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "appName": "Acme Mobile",
12 "releases": [
13 {
14 "version": "2.0.0",
15 "releaseDate": "2026-08-01",
16 "releaseNotes": "New sync engine and redesigned login."
17 }
18 ],
19 "reviews": [
20 {
21 "text": "Stable and fast.",
22 "rating": 5,
23 "date": "2026-07-28",
24 "version": "1.9.0"
25 },
26 {
27 "text": "Crashes after the new update.",
28 "rating": 1,
29 "date": "2026-08-03",
30 "version": "2.0.0"
31 }
32 ]
33};
34
35
36const run = await client.actor("egeusta/app-release-customer-reaction-monitor").call(input);
37
38
39console.log('Results from dataset');
40console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
41const { items } = await client.dataset(run.defaultDatasetId).listItems();
42items.forEach((item) => {
43 console.dir(item);
44});
45
46