1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "keywords": [
10 "phone holder",
11 "led strip lights",
12 ],
13 "dealFeeds": ["desktop"],
14 "country": "us",
15 "preset": "proven_sellers",
16 "customWeights": {
17 "salesVelocityPerDay": 40,
18 "rating": 25,
19 "reviewCount": 20,
20 "shipsFromSelectedCountry": 15,
21 },
22 "maxResults": 100,
23 "minUnitsSold": 100,
24 "minRating": 4,
25 "sorts": ["orders"],
26 "pagesPerKeyword": 3,
27 "maxReviewLookups": 300,
28 "parallelKeywords": 2,
29}
30
31
32run = client.actor("apt_marble/aliexpress-product-research").call(run_input=run_input)
33
34
35print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
36for item in client.dataset(run.default_dataset_id).iterate_items():
37 print(item)
38
39