1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "records": [
10 {
11 "domain": "luma-beauty.example",
12 "platform": "Shopify",
13 "vertical": "beauty",
14 "model": "subscription DTC",
15 },
16 {
17 "website": "northgear.example",
18 "platform": "Shopify Plus",
19 "vertical": "outdoor",
20 "model": "premium ecommerce",
21 },
22 {
23 "domain": "casino-demo.example",
24 "platform": "Shopify",
25 "vertical": "casino",
26 },
27 ],
28 "targetIcp": {
29 "keywords": [
30 "shopify",
31 "dtc",
32 "subscription",
33 "beauty",
34 "outdoor",
35 ],
36 "requiredTechnologies": ["shopify"],
37 "excludedKeywords": [
38 "adult",
39 "gambling",
40 "casino",
41 ],
42 },
43}
44
45
46run = client.actor("theendfear/factory-shopify-icp-gap-lead-scorer-d2ae62fd").call(run_input=run_input)
47
48
49print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
50for item in client.dataset(run.default_dataset_id).iterate_items():
51 print(item)
52
53