1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "apps": [
10 {
11 "store": "apple",
12 "id": "570060128",
13 "country": "ca",
14 },
15 {
16 "store": "google",
17 "id": "com.whatsapp",
18 "country": "us",
19 },
20 ],
21 "countries": ["us"],
22}
23
24
25run = client.actor("headlessagent/app-reviews-api").call(run_input=run_input)
26
27
28print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
29for item in client.dataset(run.default_dataset_id).iterate_items():
30 print(item)
31
32