1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "operation": "transactions",
10 "areaUrls": [],
11 "cities": ["תל אביב יפו"],
12 "neighbourhoods": [],
13 "maxResults": 200,
14 "fromYear": 0,
15 "toYear": 0,
16 "minPrice": 0,
17 "maxPrice": 0,
18 "minRooms": 0,
19 "maxRooms": 0,
20 "minSizeSqm": 0,
21 "maxSizeSqm": 0,
22 "benchmarkSizes": [],
23 "buildCondition": "all",
24}
25
26
27run = client.actor("sian.agency/madlan-property-scraper").call(run_input=run_input)
28
29
30print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
31for item in client.dataset(run.default_dataset_id).iterate_items():
32 print(item)
33
34