1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "demoMode": True,
10 "catalog": [{
11 "id": "CANARY-SKU",
12 "name": "Example Product",
13 "brand": "Example Brand",
14 "model": "EX-100",
15 "upc": "000123456789",
16 }],
17 "catalogFormat": "auto",
18 "matching": {
19 "minScore": 70,
20 "requireBrandWithModel": True,
21 },
22 "limits": {
23 "maxCatalogItems": 10,
24 "maxRecallsPerSource": 25,
25 "maxMatches": 25,
26 "maxResponseBytes": 500000,
27 "requestTimeoutSecs": 15,
28 "concurrency": 1,
29 },
30}
31
32
33run = client.actor("bread-kim/product-recall-catalog-exposure-monitor").call(run_input=run_input)
34
35
36print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
37for item in client.dataset(run.default_dataset_id).iterate_items():
38 print(item)
39
40