1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "action": "scrapeReviews",
10 "scrapeReviews.appId": "com.rockstargames.gtasa",
11 "scrapeAppSearch.keywords": [
12 "trading",
13 "market",
14 "stocks",
15 "investing",
16 "crypto",
17 ],
18 "scrapeAppUrls.urls": ["https://play.google.com/store/apps/details?id=com.tradingview.tradingviewapp"],
19 "scrapeSimilarApps.urls": ["https://play.google.com/store/apps/details?id=com.tradingview.tradingviewapp"],
20 "count": 1000,
21}
22
23
24run = client.actor("curious_coder/google-play-scraper").call(run_input=run_input)
25
26
27print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
28for item in client.dataset(run["defaultDatasetId"]).iterate_items():
29 print(item)
30
31