1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "searchQueries": [
10 "Biel/Bienne Moving companies",
11 "Thun Car repair shops",
12 "Winterthur Property management companies",
13 "Aarau Renovation contractors",
14 "St. Gallen Cleaning companies",
15 "Lugano Auto repair shops",
16 "Fribourg Hair salons",
17 "NeuchΓ’tel Dentists",
18 "Sion Roofing contractors",
19 "Chur Real estate agencies",
20 ],
21 "smtpAccounts": [{
22 "email": "shahji90k@gmail.com",
23 "app_password": "hgck udow kgdn fzpo",
24 "host": "smtp.gmail.com",
25 "port": 587,
26 "daily_limit": 200,
27 }],
28}
29
30
31run = client.actor("awake_orchestra_trb/google-maps-review-outreach-actor").call(run_input=run_input)
32
33
34print(f"πΎ Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
35for item in client.dataset(run.default_dataset_id).iterate_items():
36 print(item)
37
38