1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "feedText": """id\ttitle\tdescription\tlink\timage_link\tprice\tsale_price\tavailability\tbrand\tgtin\tcertification\tgoogle_product_category
9SKU-100\tBosch Serie 4 dishwasher 60 cm SMV4EVX00E\tFully integrated dishwasher, 14 place settings.\thttps://shop.example/p/100\thttps://shop.example/i/100.jpg\t549.00 EUR\t\tin_stock\tBosch\t4242005315253\tEC:EPREL:1319322\tHome & Garden > Kitchen & Dining > Kitchen Appliances > Dishwashers
10SKU-101\tLiebherr fridge freezer CNd 5203\tFree-standing fridge freezer with NoFrost.\thttps://shop.example/p/101\thttps://shop.example/i/101.jpg\t899.00 EUR\t\tin_stock\tLiebherr\t4016803071624\t\tHome & Garden > Kitchen & Dining > Kitchen Appliances > Refrigerators
11SKU-102\tACME KETTLE STEEL 1.7 L\tKettle.\thttps://shop.example/p/102\t\t29.90\t29.90 EUR\tavailable\tAcme\t1234567890123\t\t
12SKU-102\tAcme toaster 2 slots\tTwo-slot toaster with defrost function.\tshop.example/p/103\thttps://shop.example/i/103.jpg\t24.90 EUR\t\tin_stock\t\t\t\t
13""" }
14
15
16run = client.actor("signalone-emetzor/google-shopping-feed-validator").call(run_input=run_input)
17
18
19print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
20for item in client.dataset(run.default_dataset_id).iterate_items():
21 print(item)
22
23