1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "products": [
10 {
11 "sku": "BB-1001",
12 "upc": "669028116546",
13 "brand": "Boon",
14 "name": "NURSH reusable bottle 8 oz 3-pack",
15 },
16 {
17 "sku": "HT-2002",
18 "brand": "DREO",
19 "model": "DR-HSH015",
20 "name": "Ceramic space heater with remote",
21 "dateCode": "2025/09",
22 },
23 {
24 "sku": "KT-5005",
25 "brand": "OXO",
26 "name": "Good Grips salad spinner",
27 },
28 ],
29 "lookbackYears": 1,
30}
31
32
33run = client.actor("howmuchworks/cpsc-recall-match").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