1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "operation": "search",
10 "dealType": "sale",
11 "propertyType": "apartment",
12 "city": "tbilisi",
13 "tbilisiDistricts": [],
14 "microDistricts": [],
15 "metroStations": [],
16 "keyword": "",
17 "priceCurrency": "GEL",
18 "rooms": [],
19 "bedrooms": [],
20 "buildingStatus": [],
21 "condition": [],
22 "projectType": [],
23 "bathrooms": [],
24 "heating": [],
25 "hotWater": [],
26 "parking": [],
27 "wallMaterial": [],
28 "amenities": [],
29 "sellerType": "any",
30 "only3dTours": False,
31 "exchangeOffered": False,
32 "maxResults": 100,
33 "includeDetails": False,
34 "listingUrls": [],
35}
36
37
38run = client.actor("sian.agency/myhome-ge-property-scraper").call(run_input=run_input)
39
40
41print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
42for item in client.dataset(run.default_dataset_id).iterate_items():
43 print(item)
44
45