1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "input": [
9 {
10 "polygon": [
11 [
12 28.9520687326739,
13 -81.9596345263672,
14 ],
15 [
16 28.9544720326552,
17 -81.9939668017578,
18 ],
19 [
20 28.9532703896359,
21 -82.0282990771485,
22 ],
23 [
24 28.9244267751812,
25 -82.0406586962891,
26 ],
27 [
28 28.8943728089739,
29 -82.0502717333985,
30 ],
31 [
32 28.8643101397807,
33 -82.0571381884766,
34 ],
35 [
36 28.8426596323051,
37 -82.0324189501953,
38 ],
39 [
40 28.8390507762033,
41 -81.9967133837891,
42 ],
43 [
44 28.8366448025959,
45 -81.9623811083985,
46 ],
47 [
48 28.8462683632266,
49 -81.9294221240235,
50 ],
51 [
52 28.8787413067622,
53 -81.9266755419922,
54 ],
55 [
56 28.9112041026263,
57 -81.9266755419922,
58 ],
59 [
60 28.942454975081,
61 -81.9266755419922,
62 ],
63 [
64 28.956875276864,
65 -81.956887944336,
66 ],
67 [
68 28.9520687326739,
69 -81.9596345263672,
70 ],
71 ],
72 "page": 1,
73 "status": "forSale",
74 "sortSelection": "priced",
75 },
76 {
77 "polygon": [
78 [
79 28.9520687326739,
80 -81.9596345263672,
81 ],
82 [
83 28.9544720326552,
84 -81.9939668017578,
85 ],
86 [
87 28.9532703896359,
88 -82.0282990771485,
89 ],
90 [
91 28.9244267751812,
92 -82.0406586962891,
93 ],
94 [
95 28.8943728089739,
96 -82.0502717333985,
97 ],
98 [
99 28.8643101397807,
100 -82.0571381884766,
101 ],
102 [
103 28.8426596323051,
104 -82.0324189501953,
105 ],
106 [
107 28.8390507762033,
108 -81.9967133837891,
109 ],
110 [
111 28.8366448025959,
112 -81.9623811083985,
113 ],
114 [
115 28.8462683632266,
116 -81.9294221240235,
117 ],
118 [
119 28.8787413067622,
120 -81.9266755419922,
121 ],
122 [
123 28.9112041026263,
124 -81.9266755419922,
125 ],
126 [
127 28.942454975081,
128 -81.9266755419922,
129 ],
130 [
131 28.956875276864,
132 -81.956887944336,
133 ],
134 [
135 28.9520687326739,
136 -81.9596345263672,
137 ],
138 ],
139 "page": 1,
140 "status": "forSale",
141 "sortSelection": "priced",
142 "price_min": 200000,
143 "price_max": 750000,
144 "beds_min": 2,
145 },
146 ] }
147
148
149run = client.actor("axesso_data/zillow-search-by-polygon-scraper").call(run_input=run_input)
150
151
152print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
153for item in client.dataset(run.default_dataset_id).iterate_items():
154 print(item)
155
156