1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "discoverySources": [],
10 "queryThemes": [
11 "outdoor gear nz",
12 "camping stores nz",
13 "hiking gear nz",
14 "surf shops nz",
15 "activewear nz",
16 "sports stores nz",
17 "travel gear nz",
18 "hunting fishing stores nz",
19 ],
20 "storeUrls": ["https://www.bivouac.co.nz"],
21 "scopeKeywords": [
22 "outdoor",
23 "camping",
24 "hiking",
25 "tramping",
26 "climbing",
27 "surf",
28 "sports",
29 "activewear",
30 "travel gear",
31 "footwear",
32 "boots",
33 "hunting",
34 "fishing",
35 "packs",
36 "apparel",
37 ],
38 "excludeDomains": [],
39}
40
41
42run = client.actor("k0nkupa/nz-active-lifestyle-retailer-discovery").call(run_input=run_input)
43
44
45print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
46for item in client.dataset(run["defaultDatasetId"]).iterate_items():
47 print(item)
48
49