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/chatgpt/id6448311069",
11 "https://play.google.com/store/apps/details?id=com.openai.chatgpt",
12 ],
13 "countries": ["us"],
14 "languages": ["en"],
15 "devices": ["phone"],
16 "maxReviewsPerApp": 50,
17 "proxyConfiguration": { "useApifyProxy": False },
18}
19
20
21run = client.actor("cleanyield/app-store-google-play-reviews").call(run_input=run_input)
22
23
24print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
25for item in client.dataset(run.default_dataset_id).iterate_items():
26 print(item)
27
28