1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "workflow": "search",
10 "searchQueries": ["pokemon"],
11 "vertical": "PRODUCT",
12 "includeShop": True,
13 "includeShows": True,
14 "includeCategorySellers": True,
15 "detailLevel": "core",
16 "monitorType": "search",
17 "firstRunBehavior": "seed_only",
18 "stateNamespace": "default",
19 "maxResults": 100,
20 "maxResultsPerTarget": 100,
21 "maxScrollRounds": 12,
22 "maxBuyerChargeUsd": 10,
23}
24
25
26run = client.actor("luminar/whatnot-marketplace-scraper-monitor").call(run_input=run_input)
27
28
29print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
30for item in client.dataset(run.default_dataset_id).iterate_items():
31 print(item)
32
33