1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "inline_records": [
9 {
10 "Company Name": " Acme Corp ",
11 "Email": " SALES@ACME.COM ",
12 "Employees": "25",
13 "Website": "https://acme.com/",
14 },
15 {
16 "Company Name": "Acme Corp",
17 "Email": "sales@acme.com",
18 "Employees": "25",
19 "Website": "https://acme.com",
20 },
21 {
22 "Company Name": " Beta SAS ",
23 "Email": "N/A",
24 "Employees": "12",
25 "Website": " https://beta.example.com ",
26 },
27 ] }
28
29
30run = client.actor("komelf/ai-dataset-cleaner-schema-normalizer").call(run_input=run_input)
31
32
33print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
34for item in client.dataset(run.default_dataset_id).iterate_items():
35 print(item)
36
37