1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "startUrls": [
10 "https://play.google.com/store/apps/details?id=com.tinybuildgames.helloneighbor&hl=tr&gl=US",
11 "https://play.google.com/store/search?q=hello&c=apps&hl=tr&gl=US",
12 "https://play.google.com/store/apps/developer?id=Supercell",
13 ],
14 "search": "workout",
15 "country": "US",
16 "lang": "en",
17 "maxReviewPages": 2,
18 "maxItems": 1000,
19 "customMapFunction": "(object) => { return {...object} }",
20}
21
22
23run = client.actor("epctex/google-play-scraper").call(run_input=run_input)
24
25
26print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
27for item in client.dataset(run.default_dataset_id).iterate_items():
28 print(item)
29
30