1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "inputBusinesses": [
10 {
11 "businessName": "Cafe de Flore",
12 "category": "cafe",
13 "location": "Paris",
14 "website": "https://cafedeflore.fr/",
15 },
16 {
17 "businessName": "Austin Dental Spa",
18 "category": "dentist",
19 "location": "Austin",
20 "website": "https://www.austindentalspa.com/",
21 },
22 ],
23 "country": "Spain",
24 "locations": [
25 "Barcelona",
26 "Milan",
27 "Austin",
28 ],
29 "businessTypes": [
30 "restaurant",
31 "cafe",
32 "dentist",
33 "gym",
34 "lawyer",
35 "car_repair",
36 ],
37 "overpassEndpoints": [
38 "https://overpass-api.de/api/interpreter",
39 "https://overpass.kumi.systems/api/interpreter",
40 ],
41}
42
43
44run = client.actor("viable_guard/local-business-website-opportunity-scanner").call(run_input=run_input)
45
46
47print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
48for item in client.dataset(run["defaultDatasetId"]).iterate_items():
49 print(item)
50
51