1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "items": [
9 {
10 "title": "Logitech MX Master 4 Ergonomic Wireless Mouse with Haptics - Graphite",
11 "url": "https://www.amazon.com/dp/B0FC5SJNQX",
12 "asin": "B0FC5SJNQX",
13 "originalAsin": "B0FC5SJNQX",
14 "price": {
15 "value": 119.99,
16 "currency": "$",
17 },
18 "inStock": True,
19 "inStockText": "In Stock Only 1 left in stock - order soon.",
20 "listPrice": None,
21 "brand": "Logitech",
22 "stars": 4.3,
23 "reviewsCount": 2019,
24 "breadCrumbs": "Electronics > Computers & Accessories > Computer Accessories & Peripherals > Keyboards, Mice & Accessories > Mice",
25 "attributes": [
26 {
27 "key": "Connectivity Technology",
28 "value": "Bluetooth, Radio Frequency, USB",
29 },
30 {
31 "key": "Additional Features",
32 "value": "Lightweight, Programmable Buttons, Rechargeable, Soundless, Wireless",
33 },
34 {
35 "key": "Movement Detection",
36 "value": "Optical",
37 },
38 {
39 "key": "Button Quantity",
40 "value": "7",
41 },
42 {
43 "key": "Hand Orientation",
44 "value": "Right",
45 },
46 {
47 "key": "Compatible Devices",
48 "value": "Laptop, Personal Computer",
49 },
50 {
51 "key": "Operating System",
52 "value": "Android, Chrome OS, Linux, Windows, iPadOS, macOS",
53 },
54 {
55 "key": "Battery Average Life",
56 "value": "70 days",
57 },
58 {
59 "key": "Number of Batteries",
60 "value": "1 AA batteries required. (included)",
61 },
62 {
63 "key": "Hardware Platform",
64 "value": "Mac, PC",
65 },
66 {
67 "key": "Power Source",
68 "value": "Battery Powered",
69 },
70 {
71 "key": "Mouse Maximum Sensitivity",
72 "value": "8000 dots_per_inch",
73 },
74 {
75 "key": "Minimum Required Operating System Version",
76 "value": "Android 12.0, ChromeOS 137, Mac OS 12 Monterey, Windows 10, iOS 15",
77 },
78 {
79 "key": "Embellishment Feature",
80 "value": "LED",
81 },
82 {
83 "key": "Range",
84 "value": "10",
85 },
86 {
87 "key": "Unit Count",
88 "value": "1 Count",
89 },
90 {
91 "key": "Enclosure Material",
92 "value": "Plastic",
93 },
94 {
95 "key": "Finish",
96 "value": "Matte",
97 },
98 {
99 "key": "Brand",
100 "value": "Logitech",
101 },
102 {
103 "key": "Model Name",
104 "value": "Logitech MX Master 4",
105 },
106 {
107 "key": "Antenna Location",
108 "value": "Education, Gaming, Home, Office, Personal",
109 },
110 {
111 "key": "Model Number",
112 "value": "910-007558",
113 },
114 {
115 "key": "Included Components",
116 "value": "Logitech MX Master 4 Mouse, User Documentation",
117 },
118 {
119 "key": "Manufacturer",
120 "value": "Logitech",
121 },
122 {
123 "key": "UPC",
124 "value": "097855207623",
125 },
126 {
127 "key": "Mfr Part Number",
128 "value": "910-007558",
129 },
130 {
131 "key": "Warranty Description",
132 "value": "2 Year Limited Hardware Warranty",
133 },
134 {
135 "key": "Best Sellers Rank",
136 "value": "#14 in Computer Mice",
137 },
138 {
139 "key": "ASIN",
140 "value": "B0FC5SJNQX",
141 },
142 {
143 "key": "Customer Reviews",
144 "value": "4.3 4.3 out of 5 stars (2,019) 4.3 out of 5 stars",
145 },
146 {
147 "key": "Color",
148 "value": "Graphite",
149 },
150 {
151 "key": "Style Name",
152 "value": "Ergonomic",
153 },
154 {
155 "key": "Pattern",
156 "value": "Mouse",
157 },
158 ],
159 "_exampleProvenance": {
160 "sourceActorId": "BG3WDrGdteHgZgbPK",
161 "sourceRunId": "pMBYYgwiS2raJG3TQ",
162 "sourceDatasetId": "H6kcUwVVErygpBOlT",
163 "curatedPublicSnapshot": True,
164 "redaction": "Allowlisted public business/product fields only; review excerpts and social captions truncated; no reviewer identities.",
165 },
166 },
167 {
168 "title": "Logitech G305 Lightspeed Wireless Gaming Mouse - Black",
169 "url": "https://www.amazon.com/dp/B07CMS5Q6P",
170 "asin": "B07CMS5Q6P",
171 "originalAsin": "B07CMS5Q6P",
172 "price": {
173 "value": 29.99,
174 "currency": "$",
175 },
176 "inStock": True,
177 "inStockText": "In Stock In Stock",
178 "listPrice": {
179 "value": 49.99,
180 "currency": "$",
181 },
182 "brand": "Logitech G",
183 "stars": 4.6,
184 "reviewsCount": 40024,
185 "breadCrumbs": "Video Games > PC > Accessories > Gaming Mice",
186 "attributes": [
187 {
188 "key": "Connectivity Technology",
189 "value": "USB",
190 },
191 {
192 "key": "Additional Features",
193 "value": "Wireless",
194 },
195 {
196 "key": "Movement Detection",
197 "value": "Optical",
198 },
199 {
200 "key": "Button Quantity",
201 "value": "6",
202 },
203 {
204 "key": "Hand Orientation",
205 "value": "Ambidextrous",
206 },
207 {
208 "key": "Compatible Devices",
209 "value": "Laptop, Personal Computer",
210 },
211 {
212 "key": "Operating System",
213 "value": "Microsoft Windows",
214 },
215 {
216 "key": "Battery Average Life",
217 "value": "250 hours",
218 },
219 {
220 "key": "Number of Batteries",
221 "value": "1 AA batteries required. (included)",
222 },
223 {
224 "key": "Hardware Platform",
225 "value": "PC/Mac",
226 },
227 {
228 "key": "Power Source",
229 "value": "Battery Powered",
230 },
231 {
232 "key": "Mouse Maximum Sensitivity",
233 "value": "12000 dots_per_inch",
234 },
235 {
236 "key": "Minimum Required Operating System Version",
237 "value": "Windows 10",
238 },
239 {
240 "key": "Range",
241 "value": "1.0 meters",
242 },
243 {
244 "key": "Color",
245 "value": "Black",
246 },
247 {
248 "key": "Style Name",
249 "value": "Classic",
250 },
251 {
252 "key": "Pattern",
253 "value": "Mouse",
254 },
255 {
256 "key": "Theme",
257 "value": "Gaming",
258 },
259 {
260 "key": "Enclosure Material",
261 "value": "Plastic",
262 },
263 {
264 "key": "Brand",
265 "value": "Logitech G",
266 },
267 {
268 "key": "Model Name",
269 "value": "G305 Mouse",
270 },
271 {
272 "key": "Antenna Location",
273 "value": "Mouse",
274 },
275 {
276 "key": "Model Number",
277 "value": "910-005280",
278 },
279 {
280 "key": "Included Components",
281 "value": "mouse, user guide",
282 },
283 {
284 "key": "Manufacturer",
285 "value": "Logitech",
286 },
287 {
288 "key": "UPC",
289 "value": "097855137692",
290 },
291 {
292 "key": "Global Trade Identification Number",
293 "value": "00097855137692",
294 },
295 {
296 "key": "Item Type Name",
297 "value": "Logitech 910-005280 G305 LIGHTSPEED Wireless Gaming Mouse, Black",
298 },
299 {
300 "key": "Mfr Part Number",
301 "value": "910-005280",
302 },
303 {
304 "key": "Warranty Description",
305 "value": "Manufacturer’s warranty can be requested from customer service.",
306 },
307 {
308 "key": "Best Sellers Rank",
309 "value": "#8 in Video Games (See Top 100 in Video Games)#1 in PC Gaming Mice#1 in Mac Gaming Mice",
310 },
311 {
312 "key": "ASIN",
313 "value": "B07CMS5Q6P",
314 },
315 {
316 "key": "Customer Reviews",
317 "value": "4.6 4.6 out of 5 stars (40,024) 4.6 out of 5 stars",
318 },
319 {
320 "key": "Item Weight",
321 "value": "3.36 ounces",
322 },
323 {
324 "key": "Item Dimensions L x W",
325 "value": "4.59\"L x 2.45\"W",
326 },
327 {
328 "key": "Unit Count",
329 "value": "1 Count",
330 },
331 ],
332 "_exampleProvenance": {
333 "sourceActorId": "BG3WDrGdteHgZgbPK",
334 "sourceRunId": "pMBYYgwiS2raJG3TQ",
335 "sourceDatasetId": "H6kcUwVVErygpBOlT",
336 "curatedPublicSnapshot": True,
337 "redaction": "Allowlisted public business/product fields only; review excerpts and social captions truncated; no reviewer identities.",
338 },
339 },
340 ] }
341
342
343run = client.actor("zinin/amazon-catalog-variation-quality-auditor").call(run_input=run_input)
344
345
346print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
347for item in client.dataset(run.default_dataset_id).iterate_items():
348 print(item)
349
350