1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "queries": [
9 {
10 "query": "windows",
11 "language": "en",
12 "country_code": "us",
13 },
14 {
15 "query": "london",
16 "language": "es",
17 "country_code": "uk",
18 },
19 {
20 "query": "dua",
21 "language": "de",
22 "country_code": "du",
23 },
24 ] }
25
26
27run = client.actor("maged120/google-autocomplete-rental").call(run_input=run_input)
28
29
30print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
31for item in client.dataset(run["defaultDatasetId"]).iterate_items():
32 print(item)
33
34