1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "apps": [
10 "https://apps.apple.com/us/app/spotify-music-and-podcasts/id324684580",
11 "https://play.google.com/store/apps/details?id=com.spotify.music",
12 "570060128",
13 "com.duolingo",
14 "1232780281",
15 "notion.id",
16 ],
17 "mode": "snapshot",
18 "countries": ["us"],
19 "language": "en",
20 "watch": [
21 "version",
22 "price",
23 "rating",
24 "listing",
25 "metadata",
26 ],
27 "ratingDeltaThreshold": 0.1,
28 "ratingCountDeltaPct": 5,
29 "emitUnchanged": False,
30 "includeDescription": True,
31 "includeReleaseNotes": True,
32 "includeScreenshots": False,
33 "stateStoreName": "app-store-monitor-state",
34 "maxApps": 500,
35 "maxConcurrency": 4,
36 "maxRunSecs": 240,
37 "proxyConfiguration": { "useApifyProxy": True },
38}
39
40
41run = client.actor("insight.solutions/app-store-monitor").call(run_input=run_input)
42
43
44print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
45for item in client.dataset(run.default_dataset_id).iterate_items():
46 print(item)
47
48