1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "appIdOrUrl": "com.spotify.music",
10 "maxReviews": 20,
11 "sort": "HELPFULNESS",
12 "language": "en",
13 "country": "us",
14 "includeKeywords": "",
15 "excludeKeywords": "",
16 "enableRagEnrichment": True,
17 "outputFormat": "JSON",
18}
19
20
21run = client.actor("trusted_tech_spot/google-play-store-apps-reviews-scraper").call(run_input=run_input)
22
23
24print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
25for item in client.dataset(run.default_dataset_id).iterate_items():
26 print(item)
27
28