1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "businesses": [
9 {
10 "title": "Reimagine Roofing",
11 "phone": "+1480-900-7663",
12 "address": "1100 E Washington St #200, Phoenix, AZ 85034, United States",
13 "categoryName": "Roofing contractor",
14 },
15 {
16 "title": "Lyons Roofing",
17 "phone": "+1602-276-5515",
18 "address": "878 W Illini St, Phoenix, AZ 85041, United States",
19 "categoryName": "Roofing contractor",
20 },
21 {
22 "title": "Trademark Roofing",
23 "phone": "+1602-361-7618",
24 "address": "2942 N 24th St Unit 114, Phoenix, AZ 85016, United States",
25 "categoryName": "Roofing contractor",
26 },
27 {
28 "title": "San Diego County Roofing & Solar",
29 "phone": "+1855-732-6868",
30 "address": "1761 Hotel Cir S Ste 110, San Diego, CA 92108, United States",
31 "categoryName": "Roofing contractor",
32 },
33 {
34 "title": "Pioneer Roofing Company",
35 "phone": "+1619-432-7663",
36 "address": "3111 Camino Del Rio N #400, San Diego, CA 92108, United States",
37 "categoryName": "Roofing contractor",
38 },
39 {
40 "title": "RSI Roofing",
41 "phone": "+1858-278-7200",
42 "address": "8285 Buckhorn St, San Diego, CA 92111, United States",
43 "categoryName": "Roofing contractor",
44 },
45 ] }
46
47
48run = client.actor("wellbuilt_zythem/google-maps-contractor-license-check").call(run_input=run_input)
49
50
51print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
52for item in client.dataset(run.default_dataset_id).iterate_items():
53 print(item)
54
55