1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "items": [
9 {
10 "id": "fan-01",
11 "brand": "Hampton Bay",
12 "model": "AK396H-MBK",
13 "name": "Hampton Bay Halwin 52 in. LED Indoor/Outdoor Ceiling Fan, Matte Black",
14 "country": "US",
15 },
16 {
17 "id": "toy-07",
18 "gtin": "8056379188698",
19 "brand": "Giochi Preziosi",
20 "name": "Smurfs plush toy 20 cm",
21 "country": "EU",
22 },
23 {
24 "id": "mouse-03",
25 "gtin": "5099206080263",
26 "brand": "Logitech",
27 "model": "G502 HERO",
28 "name": "Logitech G502 HERO Gaming Mouse",
29 "country": "both",
30 },
31 ] }
32
33
34run = client.actor("subtleasianmerch/product-recall-matcher").call(run_input=run_input)
35
36
37print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
38for item in client.dataset(run.default_dataset_id).iterate_items():
39 print(item)
40
41