1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "url": "https://www.example.dk",
10 "urls": [
11 {
12 "url": "https://www.salon39.dk",
13 "businessName": "Salon39 sample",
14 "businessCategory": "Frisør",
15 },
16 {
17 "url": "https://www.tandcity.dk",
18 "businessName": "TandCity sample",
19 "businessCategory": "Tandlæge",
20 },
21 {
22 "url": "https://www.restaurantkronborg.dk",
23 "businessName": "Restaurant Kronborg sample",
24 "businessCategory": "Restaurant",
25 },
26 ],
27 "businessName": "Example ApS",
28 "businessCategory": "Lokal servicevirksomhed",
29}
30
31
32run = client.actor("pixelforge_agency/danish-smb-lead-flow-auditor").call(run_input=run_input)
33
34
35print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
36for item in client.dataset(run["defaultDatasetId"]).iterate_items():
37 print(item)
38
39