1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "emails": [
9 {
10 "email": "maria.gonzalez@lyfeoffshore.com",
11 "first_name": "Maria",
12 "last_name": "Gonzalez",
13 "company": "LYFE Offshore",
14 },
15 {
16 "email": "tomas.koutny@lyfeoffshore.com",
17 "first_name": "Tomáš",
18 "last_name": "Koutný",
19 "company": "LYFE Offshore",
20 },
21 {
22 "email": "john.smith@lyfeoffshore.com",
23 "first_name": "John",
24 "last_name": "Smith",
25 "company": "LYFE Offshore",
26 },
27 {
28 "email": "j.smith@lyfeoffshore.com",
29 "first_name": "John",
30 "last_name": "Smith",
31 "company": "LYFE Offshore",
32 },
33 {
34 "email": "maria.gonzalzz@lyfeoffshore.com",
35 "first_name": "Maria",
36 "last_name": "Gonzalez",
37 "company": "LYFE Offshore",
38 },
39 {
40 "email": "x7fk92qp@lyfeoffshore.com",
41 "first_name": "Bob",
42 "last_name": "Jones",
43 "company": "LYFE Offshore",
44 },
45 {
46 "email": "info@lyfeoffshore.com",
47 "company": "LYFE Offshore",
48 },
49 ] }
50
51
52run = client.actor("lyfe_tools/catchall-email-verifier").call(run_input=run_input)
53
54
55print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
56for item in client.dataset(run.default_dataset_id).iterate_items():
57 print(item)
58
59