1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "reviews": [
9 {
10 "id": "r1",
11 "text": "The app keeps crashing whenever I upload a photo.",
12 "rating": 1,
13 "date": "2026-06-01",
14 "version": "4.1",
15 },
16 {
17 "id": "r2",
18 "text": "Still crashes after the latest update and support never replies.",
19 "rating": 1,
20 "date": "2026-06-15",
21 "version": "4.2",
22 },
23 {
24 "id": "r3",
25 "text": "Photo upload is slow and sometimes shows an error.",
26 "rating": 2,
27 "date": "2026-07-01",
28 "version": "4.2",
29 },
30 {
31 "id": "r4",
32 "text": "I was charged after cancelling my subscription.",
33 "rating": 1,
34 "date": "2026-07-05",
35 "version": "4.2",
36 },
37 {
38 "id": "r5",
39 "text": "Please add an export button. The navigation is confusing.",
40 "rating": 3,
41 "date": "2026-07-08",
42 "version": "4.2",
43 },
44 {
45 "id": "r6",
46 "text": "The app crashes on startup and I cannot login.",
47 "rating": 1,
48 "date": "2026-07-10",
49 "version": "4.2",
50 },
51 ] }
52
53
54run = client.actor("webdata_labs/review-pain-miner-api").call(run_input=run_input)
55
56
57print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
58for item in client.dataset(run["defaultDatasetId"]).iterate_items():
59 print(item)
60
61