1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "data": [
9 {
10 "type": "text",
11 "content": "Hello World!",
12 },
13 {
14 "type": "url",
15 "content": "https://apify.com",
16 },
17 {
18 "type": "email",
19 "email": "contact@apify.com",
20 "subject": "Hello",
21 "body": "I love your platform!",
22 },
23 {
24 "type": "phone",
25 "phone": "+1-555-010-9999",
26 },
27 {
28 "type": "sms",
29 "phone": "+1-555-010-9999",
30 "message": "Check out this link!",
31 },
32 {
33 "type": "wifi",
34 "ssid": "Guest_Network",
35 "password": "guestpassword",
36 "encryption": "WPA",
37 },
38 {
39 "type": "geo",
40 "lat": 50.08804,
41 "lng": 14.42076,
42 },
43 {
44 "type": "vcard",
45 "firstName": "Jane",
46 "lastName": "Doe",
47 "email": "jane.doe@example.com",
48 "phone": "+1234567890",
49 "org": "Tech Corp",
50 "title": "Developer",
51 "website": "https://example.com",
52 },
53 {
54 "type": "event",
55 "content": """BEGIN:VEVENT
56SUMMARY:Team Meeting
57DTSTART:20250101T090000Z
58DTEND:20250101T100000Z
59LOCATION:Office
60END:VEVENT""",
61 },
62 {
63 "type": "custom",
64 "custom": "Raw data content here",
65 },
66 ] }
67
68
69run = client.actor("yasaslive/bulk-qr-generator").call(run_input=run_input)
70
71
72print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
73for item in client.dataset(run["defaultDatasetId"]).iterate_items():
74 print(item)
75
76