1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "mode": "search",
10 "queries": ["Instagram"],
11 "urls": [
12 "https://play.google.com/store/apps/details?id=com.instagram.android&hl=en&gl=us",
13 "https://play.google.com/store/apps/details?id=com.instagram.android",
14 "https://play.google.com/store/apps/details?id=com.instagram.android&hl=de&gl=de",
15 "https://play.google.com/store/apps/details?id=com.instagram.android&reviewId=x",
16 "https://play.google.com/store/apps/details?id=com.instagram.android&showAllReviews=true",
17 "https://market.android.com/details?id=com.instagram.android",
18 "https://play.google.com/store/search?q=instagram&c=apps&hl=en&gl=us",
19 "https://play.google.com/store/apps/dev?id=5700313618786177705",
20 "https://play.google.com/store/apps/developer?id=Instagram",
21 "https://play.google.com/store/apps/category/SOCIAL",
22 "https://play.google.com/store/apps/collection/topselling_free",
23 ],
24 "countries": ["us"],
25 "proxy": { "useApifyProxy": True },
26}
27
28
29run = client.actor("abotapi/google-play-reviews-scraper").call(run_input=run_input)
30
31
32print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
33for item in client.dataset(run.default_dataset_id).iterate_items():
34 print(item)
35
36