1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "mode": "search",
10 "searchTerms": ["fitness tracker"],
11 "appIds": [
12 "com.whatsapp",
13 "https://play.google.com/store/apps/details?id=com.spotify.music",
14 ],
15 "developers": [
16 "WhatsApp LLC",
17 "https://play.google.com/store/apps/dev?id=5700313618786177705",
18 ],
19 "chartCollections": ["top-free"],
20 "chartCategories": ["APPLICATION"],
21 "maxResults": 20,
22 "maxReviews": 100,
23 "country": "us",
24 "language": "en",
25 "proxyConfiguration": { "useApifyProxy": False },
26}
27
28
29run = client.actor("alkausari_mujahid/google-play-store-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