1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "mode": "search",
10 "searchTerms": [
11 "podcast player",
12 "habit tracker",
13 ],
14 "appIds": [
15 "org.videolan.vlc",
16 "com.duolingo",
17 ],
18 "chartCollection": "top-free",
19 "chartCategory": "APPLICATION",
20 "maxResults": 10,
21 "country": "us",
22 "language": "en",
23 "reviewSort": "newest",
24}
25
26
27run = client.actor("karamelo/google-play-store-scraper").call(run_input=run_input)
28
29
30print(f"๐พ Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
31for item in client.dataset(run.default_dataset_id).iterate_items():
32 print(item)
33
34