1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "products": [{
9 "id": "runner-42-black",
10 "title": "Example Men's Black Running Shoes - Size 42",
11 "description": "Lightweight black running shoes with a breathable mesh upper and rubber sole.",
12 "link": "https://example.com/products/runner-42-black",
13 "image_link": "https://example.com/images/runner-42-black.jpg",
14 "availability": "in_stock",
15 "price": "79.99 USD",
16 "brand": "Example",
17 "gtin": "4006381333931",
18 "condition": "new",
19 "item_group_id": "runner-black",
20 "color": "Black",
21 "size": "42",
22 }] }
23
24
25run = client.actor("gifted_wagon/product-feed-validator").call(run_input=run_input)
26
27
28print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
29for item in client.dataset(run.default_dataset_id).iterate_items():
30 print(item)
31
32