1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "contacts": [
9 {
10 "name": "Ada Lovelace",
11 "email": "ada@example.com",
12 "phone": "+1 555 0100",
13 "org": "Analytical Engines",
14 "title": "Mathematician",
15 },
16 {
17 "firstName": "Alan",
18 "lastName": "Turing",
19 "email": "alan@example.com",
20 "phone": "+44 20 7946 0000",
21 },
22 ] }
23
24
25run = client.actor("hipersoft/vcard-vcf-generator").call(run_input=run_input)
26
27
28print(f"πΎ Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
29for item in client.dataset(run.default_dataset_id).iterate_items():
30 print(item)
31
32