1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "input": [
9 {
10 "productId": 5364974201,
11 "domainCode": "com",
12 "startPage": 1,
13 "endPage": 3,
14 "sort": "relevancy",
15 "vp": False,
16 "ratings": "4,5",
17 "aspect": 6051,
18 },
19 {
20 "productId": 1234567890,
21 "domainCode": "ca",
22 "startPage": 3,
23 "sort": "helpful",
24 "vp": True,
25 },
26 ] }
27
28
29run = client.actor("axesso_data/walmart-reviews-scraper").call(run_input=run_input)
30
31
32print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
33for item in client.dataset(run["defaultDatasetId"]).iterate_items():
34 print(item)
35
36