1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "items": [
9 "+1 (415) 555-2671",
10 "jane@gmial.com",
11 "JOHN MCDONALD JR",
12 "1.234,56 €",
13 "Deutschland",
14 "4.91701234567E+11",
15 {
16 "type": "phone",
17 "value": "030 901820",
18 "country": "DE",
19 },
20 {
21 "type": "postalCode",
22 "value": "sw1a1aa",
23 "country": "United Kingdom",
24 },
25 {
26 "first_name": "mary",
27 "last_name": "O'BRIEN",
28 "email": "Mary.OBrien+crm@GMAIL.com",
29 "phone": "020 7946 0958",
30 "country": "UK",
31 "zip": "sw1a 1aa",
32 "deal_value": "£12.500,00",
33 },
34 {
35 "name": "Mary O'Brien",
36 "email": "maryobrien@gmail.com",
37 },
38 ] }
39
40
41run = client.actor("dodiabak/contact-data-cleaner").call(run_input=run_input)
42
43
44print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
45for item in client.dataset(run.default_dataset_id).iterate_items():
46 print(item)
47
48