1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "cookie": "",
10 "origin": "LAX airport",
11 "datefrom": "260601",
12 "timefrom": "10:00",
13 "dropoff": "",
14 "dateto": "260602",
15 "timeto": "10:00",
16 "blocklist": ["Rentingcarz"],
17 "proxy": {
18 "useApifyProxy": True,
19 "apifyProxyGroups": ["RESIDENTIAL"],
20 },
21}
22
23
24run = client.actor("canadesk/skyscanner-cars").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