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/whatsapp-messenger/id310633997",
11 "https://play.google.com/store/apps/details?id=com.whatsapp",
12 "https://store.steampowered.com/app/440/Team_Fortress_2/",
13 ],
14 "maxReviewsPerApp": 100,
15 "maxReviewsPerCountry": 0,
16 "country": "us",
17 "extraCountries": [],
18 "language": "english",
19 "extraLanguages": [],
20 "sortBy": "newest",
21 "minRating": 1,
22 "maxRating": 5,
23 "keywords": [],
24 "excludeKeywords": [],
25 "daysBack": 0,
26 "since": "",
27 "onlyWithDeveloperReply": False,
28 "onlyWithText": False,
29 "onlyNewReviews": False,
30 "stateStoreName": "app-reviews-state",
31 "includeAppMetadata": True,
32 "concurrency": 3,
33 "proxyConfiguration": { "useApifyProxy": False },
34}
35
36
37run = client.actor("that_red_bird/app-reviews-scraper").call(run_input=run_input)
38
39
40print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
41for item in client.dataset(run.default_dataset_id).iterate_items():
42 print(item)
43
44