1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "routes": [
9 {
10 "origin": "LHE",
11 "destination": "LHR",
12 "departureDate": "05-09-2025",
13 "returnDate": "10-09-2025",
14 },
15 {
16 "origin": "ISB",
17 "destination": "DXB",
18 "departureDate": "07-09-2025",
19 "returnDate": "14-09-2025",
20 },
21 ] }
22
23
24run = client.actor("acceleration-pk/google-flights").call(run_input=run_input)
25
26
27print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
28for item in client.dataset(run["defaultDatasetId"]).iterate_items():
29 print(item)
30
31