1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "screenPolicy": {
10 "platform": "Amazon US",
11 "category": "consumer electronics accessories",
12 "own_brands": ["Your Brand"],
13 "watchlist": {
14 "brands": [
15 "Apple",
16 "AirPods",
17 "Anker",
18 "Bose",
19 "Sony",
20 "Samsung",
21 "Nike",
22 "Dyson",
23 "Stanley",
24 ],
25 "franchises": [
26 "Disney",
27 "Mickey Mouse",
28 "Marvel",
29 "Pokemon",
30 "Hello Kitty",
31 "Star Wars",
32 ],
33 "prohibited_terms": [
34 "FDA approved",
35 "cures",
36 "treats",
37 "medical grade",
38 "100% safe",
39 "best seller",
40 "#1 on Amazon",
41 "military grade",
42 ],
43 },
44 "restricted_categories": [
45 "lithium batteries",
46 "supplements",
47 "cosmetics",
48 "medical devices",
49 "children's toys under 3",
50 ],
51 },
52 "listings": [{
53 "id": "1",
54 "title": "Your Brand silicone case for AirPods Pro",
55 "brand": "Your Brand",
56 "bullets": [
57 "Compatible with AirPods Pro",
58 "Soft-touch finish",
59 ],
60 "description": "A Your Brand case. Fits AirPods Pro. Not made by Apple.",
61 }],
62}
63
64
65run = client.actor("jev-tools/listing-risk-screen").call(run_input=run_input)
66
67
68print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
69for item in client.dataset(run.default_dataset_id).iterate_items():
70 print(item)
71
72