1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "icp": "Dental practices that offer cosmetic dentistry such as teeth whitening, veneers or smile makeovers.",
10 "places": [
11 {
12 "title": "Kimberly Smiles Cosmetic & General Dentistry",
13 "categoryName": "Dentist",
14 "categories": [
15 "Dentist",
16 "Cosmetic dentist",
17 "Emergency dental service",
18 "Oral surgeon",
19 "Teeth whitening service",
20 ],
21 "website": "https://dentistwickerparkchicago.com/",
22 "phone": "(773) 276-1047",
23 "city": "Chicago",
24 "totalScore": 4.7,
25 "reviewsCount": 484,
26 },
27 {
28 "title": "Kids Tooth Team",
29 "categoryName": "Pediatric dentist",
30 "categories": [
31 "Pediatric dentist",
32 "Dental clinic",
33 "Dental hygienist",
34 "Dentist",
35 "Emergency dental service",
36 ],
37 "website": "https://kidstoothteam.com/locations/our-south-austin-office/",
38 "phone": "(512) 641-4914",
39 "city": "Austin",
40 "totalScore": 4.9,
41 "reviewsCount": 740,
42 "additionalInfo": {
43 "Service options": [{ "English": True }],
44 "Offerings": [
45 { "Emergency services": True },
46 { "Pediatric care": True },
47 { "Sedation dentistry": True },
48 ],
49 },
50 },
51 ],
52}
53
54
55run = client.actor("leoworks/google-maps-lead-qualifier").call(run_input=run_input)
56
57
58print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
59for item in client.dataset(run.default_dataset_id).iterate_items():
60 print(item)
61
62