1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "feedText": """id\ttitle\tdescription\tlink\timage_link\tavailability\tprice\tbrand\tgtin\tcondition
9DEMO-1\tMen's Pique Polo Shirt \tClassic cotton pique polo.\thttps://shop.example.com/p/demo-1\thttps://cdn.example.com/img/demo-1.jpg\tIn Stock\t$25.00\tExample Apparel\t4006381333931\tNew
10DEMO-2\tCast Iron Skillet 26 cm\tPre-seasoned skillet.\thttps://shop.example.com/p/demo-2\thttps://cdn.example.com/img/demo-2.jpg\tout of stock\t1.299,00 EUR\tExample Kitchen\t4006381333932\tnew
11DEMO-3\tEnamel Mug\tCamping mug.\twww.example.com/p/demo-3\t\tavailable\t15.00\t\t\trefurb
12""" }
13
14
15run = client.actor("madrasco/merchant-feed-checker").call(run_input=run_input)
16
17
18print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
19for item in client.dataset(run.default_dataset_id).iterate_items():
20 print(item)
21
22