1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "rows": [
9 {
10 "full_name": "Ada Rivera",
11 "job_title": "VP Marketing",
12 "email": "ada@stripe.com",
13 "country": "United States",
14 "company_name": "Stripe",
15 "company_domain": "stripe.com",
16 "industry": "Software",
17 },
18 {
19 "full_name": "Duplicate Ada",
20 "job_title": "VP Marketing",
21 "email": "ada@stripe.com",
22 "country": "United States",
23 "company_name": "Stripe",
24 "company_domain": "stripe.com",
25 "industry": "Software",
26 },
27 {
28 "full_name": "Personal Inbox",
29 "job_title": "Marketing Manager",
30 "email": "someone@gmail.com",
31 "country": "United States",
32 "company_name": "Example Co",
33 "company_domain": "example.com",
34 "industry": "Software",
35 },
36 ] }
37
38
39run = client.actor("kamerozkan/b2b-lead-cleaner").call(run_input=run_input)
40
41
42print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
43for item in client.dataset(run.default_dataset_id).iterate_items():
44 print(item)
45
46