1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "feedText": """id,title,description,link,image_link,availability,price,brand,gtin
9MUG-1,Blue ceramic mug 350 ml,<p>Dishwasher-safe glazed ceramic mug.</p>,https://example.com/mug-blue,https://example.com/mug-blue.jpg,in stock,\"18,00 EUR\",Northline,4006381333931
10MUG-2,RED MUG - FREE SHIPPING!!,Red mug,http://example.com/mug-red,https://example.com/mug-red.jpg,preorder,18 EUR,,12345
11""" }
12
13
14run = client.actor("nemata/product-feed-validator").call(run_input=run_input)
15
16
17print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
18for item in client.dataset(run.default_dataset_id).iterate_items():
19 print(item)
20
21