1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "locations": [
10 "vilniuje",
11 "kaune",
12 ],
13 "listingType": "sale",
14 "propertyCategory": "apartment",
15 "maxResults": 100,
16 "fetchDetails": False,
17 "priceMin": 0,
18 "priceMax": 0,
19 "pricePerSqmMax": 0,
20 "areaMin": 0,
21 "areaMax": 0,
22 "roomsMin": 0,
23 "roomsMax": 0,
24 "floorMin": 0,
25 "floorMax": 0,
26 "buildYearMin": 0,
27 "buildYearMax": 0,
28 "listedWithinDays": "0",
29 "sortBy": "Importance",
30 "searchUrls": [],
31}
32
33
34run = client.actor("sian.agency/aruodas-property-scraper").call(run_input=run_input)
35
36
37print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
38for item in client.dataset(run.default_dataset_id).iterate_items():
39 print(item)
40
41