1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "leads": [
9 {
10 "name": "Sarah Chen",
11 "email": "sarah.chen@acmecorp.com",
12 "phone": "+1-415-555-0182",
13 "company": "Acme Corp",
14 "title": "VP of Sales",
15 "domain": "acmecorp.com",
16 },
17 {
18 "name": "Bob Smith",
19 "email": "bob@mailinator.com",
20 "phone": "5550199",
21 "company": "Unknown Co",
22 "title": "",
23 "domain": "",
24 },
25 {
26 "name": "Maria Lopez",
27 "email": "m.lopez@betasoft.io",
28 "phone": "+44 20 7946 0958",
29 "company": "BetaSoft",
30 "title": "CTO",
31 "domain": "betasoft.io",
32 },
33 ] }
34
35
36run = client.actor("ryanclinton/enrichment-quality-auditor").call(run_input=run_input)
37
38
39print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
40for item in client.dataset(run["defaultDatasetId"]).iterate_items():
41 print(item)
42
43