1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "reviewsfilter": [
10 1,
11 2,
12 3,
13 4,
14 5,
15 ],
16 "winetypes": [
17 "Red",
18 "White",
19 "Rose",
20 "Sparkling",
21 "Dessert",
22 "Fortified",
23 ],
24 "proxy": {
25 "useApifyProxy": True,
26 "apifyProxyGroups": ["RESIDENTIAL"],
27 },
28}
29
30
31run = client.actor("canadesk/vivino").call(run_input=run_input)
32
33
34print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
35for item in client.dataset(run["defaultDatasetId"]).iterate_items():
36 print(item)
37
38