scrapebadger 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (185) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/LICENSE +21 -0
  4. data/README.md +548 -0
  5. data/Rakefile +10 -0
  6. data/docs/AccountApi.md +76 -0
  7. data/docs/AccountInfo.md +28 -0
  8. data/docs/AmazonApi.md +1244 -0
  9. data/docs/ApartmentsApi.md +373 -0
  10. data/docs/BaiduApi.md +447 -0
  11. data/docs/BillingLogListResponse.md +24 -0
  12. data/docs/BillingLogResponse.md +32 -0
  13. data/docs/BingApi.md +610 -0
  14. data/docs/ChatGPTApi.md +521 -0
  15. data/docs/DepopApi.md +542 -0
  16. data/docs/DuckDuckGoApi.md +700 -0
  17. data/docs/EBayApi.md +1019 -0
  18. data/docs/FacebookApi.md +1671 -0
  19. data/docs/FilterRuleCreate.md +28 -0
  20. data/docs/FilterRuleDeliveryLogListResponse.md +24 -0
  21. data/docs/FilterRuleDeliveryLogResponse.md +44 -0
  22. data/docs/FilterRuleListResponse.md +24 -0
  23. data/docs/FilterRuleResponse.md +40 -0
  24. data/docs/FilterRuleUpdate.md +30 -0
  25. data/docs/FilterRuleValidateRequest.md +18 -0
  26. data/docs/FilterRuleValidateResponse.md +22 -0
  27. data/docs/GoogleApi.md +3175 -0
  28. data/docs/HTTPValidationError.md +18 -0
  29. data/docs/IdealistaApi.md +822 -0
  30. data/docs/ImmobiliareApi.md +773 -0
  31. data/docs/InstagramApi.md +1673 -0
  32. data/docs/LeboncoinApi.md +884 -0
  33. data/docs/LinkedInApi.md +925 -0
  34. data/docs/LoopNetApi.md +529 -0
  35. data/docs/PortalApiRoutersV1TwitterFilterRulesFilterRulePricingResponse.md +20 -0
  36. data/docs/RealtorApi.md +474 -0
  37. data/docs/RedditApi.md +1677 -0
  38. data/docs/RedfinApi.md +616 -0
  39. data/docs/StreamMonitorCreate.md +26 -0
  40. data/docs/StreamMonitorListResponse.md +24 -0
  41. data/docs/StreamMonitorResponse.md +42 -0
  42. data/docs/StreamMonitorUpdate.md +28 -0
  43. data/docs/SubscriptionInfo.md +40 -0
  44. data/docs/TikTokApi.md +2104 -0
  45. data/docs/TweetDeliveryLogListResponse.md +24 -0
  46. data/docs/TweetDeliveryLogResponse.md +44 -0
  47. data/docs/TwitterApi.md +4091 -0
  48. data/docs/ValidationError.md +22 -0
  49. data/docs/ValidationErrorLocInner.md +15 -0
  50. data/docs/VintedApi.md +766 -0
  51. data/docs/WalmartApi.md +904 -0
  52. data/docs/WebApi.md +634 -0
  53. data/docs/WebhookCreate.md +22 -0
  54. data/docs/WebhookListItem.md +28 -0
  55. data/docs/WebhookListResponse.md +20 -0
  56. data/docs/WebhookResponse.md +26 -0
  57. data/docs/WebhookTestRequest.md +18 -0
  58. data/docs/WebhookTestResponse.md +24 -0
  59. data/docs/YahooApi.md +602 -0
  60. data/docs/YandexApi.md +450 -0
  61. data/docs/YouTubeApi.md +2872 -0
  62. data/docs/ZillowApi.md +622 -0
  63. data/git_push.sh +57 -0
  64. data/lib/scrapebadger/api/account_api.rb +79 -0
  65. data/lib/scrapebadger/api/amazon_api.rb +1165 -0
  66. data/lib/scrapebadger/api/apartments_api.rb +377 -0
  67. data/lib/scrapebadger/api/baidu_api.rb +436 -0
  68. data/lib/scrapebadger/api/bing_api.rb +580 -0
  69. data/lib/scrapebadger/api/chat_gpt_api.rb +466 -0
  70. data/lib/scrapebadger/api/depop_api.rb +518 -0
  71. data/lib/scrapebadger/api/duck_duck_go_api.rb +675 -0
  72. data/lib/scrapebadger/api/e_bay_api.rb +1029 -0
  73. data/lib/scrapebadger/api/facebook_api.rb +1492 -0
  74. data/lib/scrapebadger/api/google_api.rb +3191 -0
  75. data/lib/scrapebadger/api/idealista_api.rb +864 -0
  76. data/lib/scrapebadger/api/immobiliare_api.rb +734 -0
  77. data/lib/scrapebadger/api/instagram_api.rb +1555 -0
  78. data/lib/scrapebadger/api/leboncoin_api.rb +818 -0
  79. data/lib/scrapebadger/api/linked_in_api.rb +832 -0
  80. data/lib/scrapebadger/api/loop_net_api.rb +503 -0
  81. data/lib/scrapebadger/api/realtor_api.rb +481 -0
  82. data/lib/scrapebadger/api/reddit_api.rb +1601 -0
  83. data/lib/scrapebadger/api/redfin_api.rb +625 -0
  84. data/lib/scrapebadger/api/tik_tok_api.rb +2029 -0
  85. data/lib/scrapebadger/api/twitter_api.rb +3696 -0
  86. data/lib/scrapebadger/api/vinted_api.rb +705 -0
  87. data/lib/scrapebadger/api/walmart_api.rb +876 -0
  88. data/lib/scrapebadger/api/web_api.rb +547 -0
  89. data/lib/scrapebadger/api/yahoo_api.rb +560 -0
  90. data/lib/scrapebadger/api/yandex_api.rb +422 -0
  91. data/lib/scrapebadger/api/you_tube_api.rb +2520 -0
  92. data/lib/scrapebadger/api/zillow_api.rb +634 -0
  93. data/lib/scrapebadger/api_client.rb +394 -0
  94. data/lib/scrapebadger/api_error.rb +58 -0
  95. data/lib/scrapebadger/configuration.rb +308 -0
  96. data/lib/scrapebadger/models/account_info.rb +288 -0
  97. data/lib/scrapebadger/models/billing_log_list_response.rb +272 -0
  98. data/lib/scrapebadger/models/billing_log_response.rb +334 -0
  99. data/lib/scrapebadger/models/filter_rule_create.rb +427 -0
  100. data/lib/scrapebadger/models/filter_rule_delivery_log_list_response.rb +272 -0
  101. data/lib/scrapebadger/models/filter_rule_delivery_log_response.rb +422 -0
  102. data/lib/scrapebadger/models/filter_rule_list_response.rb +272 -0
  103. data/lib/scrapebadger/models/filter_rule_response.rb +390 -0
  104. data/lib/scrapebadger/models/filter_rule_update.rb +389 -0
  105. data/lib/scrapebadger/models/filter_rule_validate_request.rb +250 -0
  106. data/lib/scrapebadger/models/filter_rule_validate_response.rb +248 -0
  107. data/lib/scrapebadger/models/http_validation_error.rb +216 -0
  108. data/lib/scrapebadger/models/portal_api_routers_v1_twitter_filter_rules_filter_rule_pricing_response.rb +238 -0
  109. data/lib/scrapebadger/models/stream_monitor_create.rb +373 -0
  110. data/lib/scrapebadger/models/stream_monitor_list_response.rb +272 -0
  111. data/lib/scrapebadger/models/stream_monitor_response.rb +406 -0
  112. data/lib/scrapebadger/models/stream_monitor_update.rb +335 -0
  113. data/lib/scrapebadger/models/subscription_info.rb +352 -0
  114. data/lib/scrapebadger/models/tweet_delivery_log_list_response.rb +272 -0
  115. data/lib/scrapebadger/models/tweet_delivery_log_response.rb +422 -0
  116. data/lib/scrapebadger/models/validation_error.rb +255 -0
  117. data/lib/scrapebadger/models/validation_error_loc_inner.rb +104 -0
  118. data/lib/scrapebadger/models/webhook_create.rb +282 -0
  119. data/lib/scrapebadger/models/webhook_list_item.rb +302 -0
  120. data/lib/scrapebadger/models/webhook_list_response.rb +240 -0
  121. data/lib/scrapebadger/models/webhook_response.rb +286 -0
  122. data/lib/scrapebadger/models/webhook_test_request.rb +223 -0
  123. data/lib/scrapebadger/models/webhook_test_response.rb +259 -0
  124. data/lib/scrapebadger/version.rb +15 -0
  125. data/lib/scrapebadger.rb +96 -0
  126. data/scrapebadger.gemspec +39 -0
  127. data/spec/api/account_api_spec.rb +46 -0
  128. data/spec/api/amazon_api_spec.rb +258 -0
  129. data/spec/api/apartments_api_spec.rb +98 -0
  130. data/spec/api/baidu_api_spec.rb +109 -0
  131. data/spec/api/bing_api_spec.rb +141 -0
  132. data/spec/api/chat_gpt_api_spec.rb +123 -0
  133. data/spec/api/depop_api_spec.rb +132 -0
  134. data/spec/api/duck_duck_go_api_spec.rb +162 -0
  135. data/spec/api/e_bay_api_spec.rb +222 -0
  136. data/spec/api/facebook_api_spec.rb +326 -0
  137. data/spec/api/google_api_spec.rb +649 -0
  138. data/spec/api/idealista_api_spec.rb +197 -0
  139. data/spec/api/immobiliare_api_spec.rb +174 -0
  140. data/spec/api/instagram_api_spec.rb +309 -0
  141. data/spec/api/leboncoin_api_spec.rb +184 -0
  142. data/spec/api/linked_in_api_spec.rb +197 -0
  143. data/spec/api/loop_net_api_spec.rb +127 -0
  144. data/spec/api/realtor_api_spec.rb +123 -0
  145. data/spec/api/reddit_api_spec.rb +331 -0
  146. data/spec/api/redfin_api_spec.rb +147 -0
  147. data/spec/api/tik_tok_api_spec.rb +413 -0
  148. data/spec/api/twitter_api_spec.rb +735 -0
  149. data/spec/api/vinted_api_spec.rb +169 -0
  150. data/spec/api/walmart_api_spec.rb +192 -0
  151. data/spec/api/web_api_spec.rb +136 -0
  152. data/spec/api/yahoo_api_spec.rb +137 -0
  153. data/spec/api/yandex_api_spec.rb +111 -0
  154. data/spec/api/you_tube_api_spec.rb +500 -0
  155. data/spec/api/zillow_api_spec.rb +150 -0
  156. data/spec/models/account_info_spec.rb +66 -0
  157. data/spec/models/billing_log_list_response_spec.rb +54 -0
  158. data/spec/models/billing_log_response_spec.rb +78 -0
  159. data/spec/models/filter_rule_create_spec.rb +66 -0
  160. data/spec/models/filter_rule_delivery_log_list_response_spec.rb +54 -0
  161. data/spec/models/filter_rule_delivery_log_response_spec.rb +114 -0
  162. data/spec/models/filter_rule_list_response_spec.rb +54 -0
  163. data/spec/models/filter_rule_response_spec.rb +102 -0
  164. data/spec/models/filter_rule_update_spec.rb +72 -0
  165. data/spec/models/filter_rule_validate_request_spec.rb +36 -0
  166. data/spec/models/filter_rule_validate_response_spec.rb +48 -0
  167. data/spec/models/http_validation_error_spec.rb +36 -0
  168. data/spec/models/portal_api_routers_v1_twitter_filter_rules_filter_rule_pricing_response_spec.rb +42 -0
  169. data/spec/models/stream_monitor_create_spec.rb +60 -0
  170. data/spec/models/stream_monitor_list_response_spec.rb +54 -0
  171. data/spec/models/stream_monitor_response_spec.rb +108 -0
  172. data/spec/models/stream_monitor_update_spec.rb +66 -0
  173. data/spec/models/subscription_info_spec.rb +102 -0
  174. data/spec/models/tweet_delivery_log_list_response_spec.rb +54 -0
  175. data/spec/models/tweet_delivery_log_response_spec.rb +114 -0
  176. data/spec/models/validation_error_loc_inner_spec.rb +21 -0
  177. data/spec/models/validation_error_spec.rb +48 -0
  178. data/spec/models/webhook_create_spec.rb +48 -0
  179. data/spec/models/webhook_list_item_spec.rb +66 -0
  180. data/spec/models/webhook_list_response_spec.rb +42 -0
  181. data/spec/models/webhook_response_spec.rb +60 -0
  182. data/spec/models/webhook_test_request_spec.rb +36 -0
  183. data/spec/models/webhook_test_response_spec.rb +54 -0
  184. data/spec/spec_helper.rb +111 -0
  185. metadata +324 -0
@@ -0,0 +1,773 @@
1
+ # ScrapeBadger::ImmobiliareApi
2
+
3
+ All URIs are relative to *https://scrapebadger.com*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**immobiliare_get_agency_profile**](ImmobiliareApi.md#immobiliare_get_agency_profile) | **GET** /v1/immobiliare/agencies/{agency_id} | Get agency profile |
8
+ | [**immobiliare_get_an_agency_s_listings**](ImmobiliareApi.md#immobiliare_get_an_agency_s_listings) | **GET** /v1/immobiliare/agencies/{agency_id}/listings | Get an agency's listings |
9
+ | [**immobiliare_get_listing_detail**](ImmobiliareApi.md#immobiliare_get_listing_detail) | **GET** /v1/immobiliare/listings/{listing_id} | Get listing detail |
10
+ | [**immobiliare_immobiliare_scraper_health_check**](ImmobiliareApi.md#immobiliare_immobiliare_scraper_health_check) | **GET** /v1/immobiliare/health | Immobiliare scraper health check |
11
+ | [**immobiliare_immobiliare_scraper_health_check_head**](ImmobiliareApi.md#immobiliare_immobiliare_scraper_health_check_head) | **HEAD** /v1/immobiliare/health | Immobiliare scraper health check |
12
+ | [**immobiliare_list_filter_enums**](ImmobiliareApi.md#immobiliare_list_filter_enums) | **GET** /v1/immobiliare/reference | List filter enums |
13
+ | [**immobiliare_list_markets**](ImmobiliareApi.md#immobiliare_list_markets) | **GET** /v1/immobiliare/markets | List markets |
14
+ | [**immobiliare_location_autocomplete**](ImmobiliareApi.md#immobiliare_location_autocomplete) | **GET** /v1/immobiliare/autocomplete | Location autocomplete |
15
+ | [**immobiliare_price_m_time_series**](ImmobiliareApi.md#immobiliare_price_m_time_series) | **GET** /v1/immobiliare/market-insights/prices | Price €/m² time series |
16
+ | [**immobiliare_search_listings**](ImmobiliareApi.md#immobiliare_search_listings) | **GET** /v1/immobiliare/search | Search listings |
17
+
18
+
19
+ ## immobiliare_get_agency_profile
20
+
21
+ > Object immobiliare_get_agency_profile(agency_id, opts)
22
+
23
+ Get agency profile
24
+
25
+ Public agency/advertiser profile.
26
+
27
+ ### Examples
28
+
29
+ ```ruby
30
+ require 'time'
31
+ require 'scrapebadger'
32
+ # setup authorization
33
+ ScrapeBadger.configure do |config|
34
+ # Configure API key authorization: ApiKeyAuth
35
+ config.api_key['X-API-Key'] = 'YOUR API KEY'
36
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
37
+ # config.api_key_prefix['X-API-Key'] = 'Bearer'
38
+ end
39
+
40
+ api_instance = ScrapeBadger::ImmobiliareApi.new
41
+ agency_id = 56 # Integer |
42
+ opts = {
43
+ market: 'market_example' # String | it | es | gr | lu
44
+ }
45
+
46
+ begin
47
+ # Get agency profile
48
+ result = api_instance.immobiliare_get_agency_profile(agency_id, opts)
49
+ p result
50
+ rescue ScrapeBadger::ApiError => e
51
+ puts "Error when calling ImmobiliareApi->immobiliare_get_agency_profile: #{e}"
52
+ end
53
+ ```
54
+
55
+ #### Using the immobiliare_get_agency_profile_with_http_info variant
56
+
57
+ This returns an Array which contains the response data, status code and headers.
58
+
59
+ > <Array(Object, Integer, Hash)> immobiliare_get_agency_profile_with_http_info(agency_id, opts)
60
+
61
+ ```ruby
62
+ begin
63
+ # Get agency profile
64
+ data, status_code, headers = api_instance.immobiliare_get_agency_profile_with_http_info(agency_id, opts)
65
+ p status_code # => 2xx
66
+ p headers # => { ... }
67
+ p data # => Object
68
+ rescue ScrapeBadger::ApiError => e
69
+ puts "Error when calling ImmobiliareApi->immobiliare_get_agency_profile_with_http_info: #{e}"
70
+ end
71
+ ```
72
+
73
+ ### Parameters
74
+
75
+ | Name | Type | Description | Notes |
76
+ | ---- | ---- | ----------- | ----- |
77
+ | **agency_id** | **Integer** | | |
78
+ | **market** | **String** | it | es | gr | lu | [optional][default to &#39;it&#39;] |
79
+
80
+ ### Return type
81
+
82
+ **Object**
83
+
84
+ ### Authorization
85
+
86
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
87
+
88
+ ### HTTP request headers
89
+
90
+ - **Content-Type**: Not defined
91
+ - **Accept**: application/json
92
+
93
+
94
+ ## immobiliare_get_an_agency_s_listings
95
+
96
+ > Object immobiliare_get_an_agency_s_listings(agency_id, opts)
97
+
98
+ Get an agency's listings
99
+
100
+ An agency's active listings.
101
+
102
+ ### Examples
103
+
104
+ ```ruby
105
+ require 'time'
106
+ require 'scrapebadger'
107
+ # setup authorization
108
+ ScrapeBadger.configure do |config|
109
+ # Configure API key authorization: ApiKeyAuth
110
+ config.api_key['X-API-Key'] = 'YOUR API KEY'
111
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
112
+ # config.api_key_prefix['X-API-Key'] = 'Bearer'
113
+ end
114
+
115
+ api_instance = ScrapeBadger::ImmobiliareApi.new
116
+ agency_id = 56 # Integer |
117
+ opts = {
118
+ market: 'market_example', # String | it | es | gr | lu
119
+ contract: 'contract_example', # String | sale | rent
120
+ page: 56 # Integer |
121
+ }
122
+
123
+ begin
124
+ # Get an agency's listings
125
+ result = api_instance.immobiliare_get_an_agency_s_listings(agency_id, opts)
126
+ p result
127
+ rescue ScrapeBadger::ApiError => e
128
+ puts "Error when calling ImmobiliareApi->immobiliare_get_an_agency_s_listings: #{e}"
129
+ end
130
+ ```
131
+
132
+ #### Using the immobiliare_get_an_agency_s_listings_with_http_info variant
133
+
134
+ This returns an Array which contains the response data, status code and headers.
135
+
136
+ > <Array(Object, Integer, Hash)> immobiliare_get_an_agency_s_listings_with_http_info(agency_id, opts)
137
+
138
+ ```ruby
139
+ begin
140
+ # Get an agency's listings
141
+ data, status_code, headers = api_instance.immobiliare_get_an_agency_s_listings_with_http_info(agency_id, opts)
142
+ p status_code # => 2xx
143
+ p headers # => { ... }
144
+ p data # => Object
145
+ rescue ScrapeBadger::ApiError => e
146
+ puts "Error when calling ImmobiliareApi->immobiliare_get_an_agency_s_listings_with_http_info: #{e}"
147
+ end
148
+ ```
149
+
150
+ ### Parameters
151
+
152
+ | Name | Type | Description | Notes |
153
+ | ---- | ---- | ----------- | ----- |
154
+ | **agency_id** | **Integer** | | |
155
+ | **market** | **String** | it | es | gr | lu | [optional][default to &#39;it&#39;] |
156
+ | **contract** | **String** | sale | rent | [optional][default to &#39;sale&#39;] |
157
+ | **page** | **Integer** | | [optional][default to 1] |
158
+
159
+ ### Return type
160
+
161
+ **Object**
162
+
163
+ ### Authorization
164
+
165
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
166
+
167
+ ### HTTP request headers
168
+
169
+ - **Content-Type**: Not defined
170
+ - **Accept**: application/json
171
+
172
+
173
+ ## immobiliare_get_listing_detail
174
+
175
+ > Object immobiliare_get_listing_detail(listing_id, opts)
176
+
177
+ Get listing detail
178
+
179
+ Full detail for a single listing.
180
+
181
+ ### Examples
182
+
183
+ ```ruby
184
+ require 'time'
185
+ require 'scrapebadger'
186
+ # setup authorization
187
+ ScrapeBadger.configure do |config|
188
+ # Configure API key authorization: ApiKeyAuth
189
+ config.api_key['X-API-Key'] = 'YOUR API KEY'
190
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
191
+ # config.api_key_prefix['X-API-Key'] = 'Bearer'
192
+ end
193
+
194
+ api_instance = ScrapeBadger::ImmobiliareApi.new
195
+ listing_id = 56 # Integer |
196
+ opts = {
197
+ market: 'market_example' # String | it | es | gr | lu
198
+ }
199
+
200
+ begin
201
+ # Get listing detail
202
+ result = api_instance.immobiliare_get_listing_detail(listing_id, opts)
203
+ p result
204
+ rescue ScrapeBadger::ApiError => e
205
+ puts "Error when calling ImmobiliareApi->immobiliare_get_listing_detail: #{e}"
206
+ end
207
+ ```
208
+
209
+ #### Using the immobiliare_get_listing_detail_with_http_info variant
210
+
211
+ This returns an Array which contains the response data, status code and headers.
212
+
213
+ > <Array(Object, Integer, Hash)> immobiliare_get_listing_detail_with_http_info(listing_id, opts)
214
+
215
+ ```ruby
216
+ begin
217
+ # Get listing detail
218
+ data, status_code, headers = api_instance.immobiliare_get_listing_detail_with_http_info(listing_id, opts)
219
+ p status_code # => 2xx
220
+ p headers # => { ... }
221
+ p data # => Object
222
+ rescue ScrapeBadger::ApiError => e
223
+ puts "Error when calling ImmobiliareApi->immobiliare_get_listing_detail_with_http_info: #{e}"
224
+ end
225
+ ```
226
+
227
+ ### Parameters
228
+
229
+ | Name | Type | Description | Notes |
230
+ | ---- | ---- | ----------- | ----- |
231
+ | **listing_id** | **Integer** | | |
232
+ | **market** | **String** | it | es | gr | lu | [optional][default to &#39;it&#39;] |
233
+
234
+ ### Return type
235
+
236
+ **Object**
237
+
238
+ ### Authorization
239
+
240
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
241
+
242
+ ### HTTP request headers
243
+
244
+ - **Content-Type**: Not defined
245
+ - **Accept**: application/json
246
+
247
+
248
+ ## immobiliare_immobiliare_scraper_health_check
249
+
250
+ > Object immobiliare_immobiliare_scraper_health_check
251
+
252
+ Immobiliare scraper health check
253
+
254
+ Check health of the Immobiliare scraper service (accepts HEAD).
255
+
256
+ ### Examples
257
+
258
+ ```ruby
259
+ require 'time'
260
+ require 'scrapebadger'
261
+ # setup authorization
262
+ ScrapeBadger.configure do |config|
263
+ # Configure API key authorization: ApiKeyAuth
264
+ config.api_key['X-API-Key'] = 'YOUR API KEY'
265
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
266
+ # config.api_key_prefix['X-API-Key'] = 'Bearer'
267
+ end
268
+
269
+ api_instance = ScrapeBadger::ImmobiliareApi.new
270
+
271
+ begin
272
+ # Immobiliare scraper health check
273
+ result = api_instance.immobiliare_immobiliare_scraper_health_check
274
+ p result
275
+ rescue ScrapeBadger::ApiError => e
276
+ puts "Error when calling ImmobiliareApi->immobiliare_immobiliare_scraper_health_check: #{e}"
277
+ end
278
+ ```
279
+
280
+ #### Using the immobiliare_immobiliare_scraper_health_check_with_http_info variant
281
+
282
+ This returns an Array which contains the response data, status code and headers.
283
+
284
+ > <Array(Object, Integer, Hash)> immobiliare_immobiliare_scraper_health_check_with_http_info
285
+
286
+ ```ruby
287
+ begin
288
+ # Immobiliare scraper health check
289
+ data, status_code, headers = api_instance.immobiliare_immobiliare_scraper_health_check_with_http_info
290
+ p status_code # => 2xx
291
+ p headers # => { ... }
292
+ p data # => Object
293
+ rescue ScrapeBadger::ApiError => e
294
+ puts "Error when calling ImmobiliareApi->immobiliare_immobiliare_scraper_health_check_with_http_info: #{e}"
295
+ end
296
+ ```
297
+
298
+ ### Parameters
299
+
300
+ This endpoint does not need any parameter.
301
+
302
+ ### Return type
303
+
304
+ **Object**
305
+
306
+ ### Authorization
307
+
308
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
309
+
310
+ ### HTTP request headers
311
+
312
+ - **Content-Type**: Not defined
313
+ - **Accept**: application/json
314
+
315
+
316
+ ## immobiliare_immobiliare_scraper_health_check_head
317
+
318
+ > Object immobiliare_immobiliare_scraper_health_check_head
319
+
320
+ Immobiliare scraper health check
321
+
322
+ Check health of the Immobiliare scraper service (accepts HEAD).
323
+
324
+ ### Examples
325
+
326
+ ```ruby
327
+ require 'time'
328
+ require 'scrapebadger'
329
+ # setup authorization
330
+ ScrapeBadger.configure do |config|
331
+ # Configure API key authorization: ApiKeyAuth
332
+ config.api_key['X-API-Key'] = 'YOUR API KEY'
333
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
334
+ # config.api_key_prefix['X-API-Key'] = 'Bearer'
335
+ end
336
+
337
+ api_instance = ScrapeBadger::ImmobiliareApi.new
338
+
339
+ begin
340
+ # Immobiliare scraper health check
341
+ result = api_instance.immobiliare_immobiliare_scraper_health_check_head
342
+ p result
343
+ rescue ScrapeBadger::ApiError => e
344
+ puts "Error when calling ImmobiliareApi->immobiliare_immobiliare_scraper_health_check_head: #{e}"
345
+ end
346
+ ```
347
+
348
+ #### Using the immobiliare_immobiliare_scraper_health_check_head_with_http_info variant
349
+
350
+ This returns an Array which contains the response data, status code and headers.
351
+
352
+ > <Array(Object, Integer, Hash)> immobiliare_immobiliare_scraper_health_check_head_with_http_info
353
+
354
+ ```ruby
355
+ begin
356
+ # Immobiliare scraper health check
357
+ data, status_code, headers = api_instance.immobiliare_immobiliare_scraper_health_check_head_with_http_info
358
+ p status_code # => 2xx
359
+ p headers # => { ... }
360
+ p data # => Object
361
+ rescue ScrapeBadger::ApiError => e
362
+ puts "Error when calling ImmobiliareApi->immobiliare_immobiliare_scraper_health_check_head_with_http_info: #{e}"
363
+ end
364
+ ```
365
+
366
+ ### Parameters
367
+
368
+ This endpoint does not need any parameter.
369
+
370
+ ### Return type
371
+
372
+ **Object**
373
+
374
+ ### Authorization
375
+
376
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
377
+
378
+ ### HTTP request headers
379
+
380
+ - **Content-Type**: Not defined
381
+ - **Accept**: application/json
382
+
383
+
384
+ ## immobiliare_list_filter_enums
385
+
386
+ > Object immobiliare_list_filter_enums
387
+
388
+ List filter enums
389
+
390
+ ### Examples
391
+
392
+ ```ruby
393
+ require 'time'
394
+ require 'scrapebadger'
395
+ # setup authorization
396
+ ScrapeBadger.configure do |config|
397
+ # Configure API key authorization: ApiKeyAuth
398
+ config.api_key['X-API-Key'] = 'YOUR API KEY'
399
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
400
+ # config.api_key_prefix['X-API-Key'] = 'Bearer'
401
+ end
402
+
403
+ api_instance = ScrapeBadger::ImmobiliareApi.new
404
+
405
+ begin
406
+ # List filter enums
407
+ result = api_instance.immobiliare_list_filter_enums
408
+ p result
409
+ rescue ScrapeBadger::ApiError => e
410
+ puts "Error when calling ImmobiliareApi->immobiliare_list_filter_enums: #{e}"
411
+ end
412
+ ```
413
+
414
+ #### Using the immobiliare_list_filter_enums_with_http_info variant
415
+
416
+ This returns an Array which contains the response data, status code and headers.
417
+
418
+ > <Array(Object, Integer, Hash)> immobiliare_list_filter_enums_with_http_info
419
+
420
+ ```ruby
421
+ begin
422
+ # List filter enums
423
+ data, status_code, headers = api_instance.immobiliare_list_filter_enums_with_http_info
424
+ p status_code # => 2xx
425
+ p headers # => { ... }
426
+ p data # => Object
427
+ rescue ScrapeBadger::ApiError => e
428
+ puts "Error when calling ImmobiliareApi->immobiliare_list_filter_enums_with_http_info: #{e}"
429
+ end
430
+ ```
431
+
432
+ ### Parameters
433
+
434
+ This endpoint does not need any parameter.
435
+
436
+ ### Return type
437
+
438
+ **Object**
439
+
440
+ ### Authorization
441
+
442
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
443
+
444
+ ### HTTP request headers
445
+
446
+ - **Content-Type**: Not defined
447
+ - **Accept**: application/json
448
+
449
+
450
+ ## immobiliare_list_markets
451
+
452
+ > Object immobiliare_list_markets
453
+
454
+ List markets
455
+
456
+ ### Examples
457
+
458
+ ```ruby
459
+ require 'time'
460
+ require 'scrapebadger'
461
+ # setup authorization
462
+ ScrapeBadger.configure do |config|
463
+ # Configure API key authorization: ApiKeyAuth
464
+ config.api_key['X-API-Key'] = 'YOUR API KEY'
465
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
466
+ # config.api_key_prefix['X-API-Key'] = 'Bearer'
467
+ end
468
+
469
+ api_instance = ScrapeBadger::ImmobiliareApi.new
470
+
471
+ begin
472
+ # List markets
473
+ result = api_instance.immobiliare_list_markets
474
+ p result
475
+ rescue ScrapeBadger::ApiError => e
476
+ puts "Error when calling ImmobiliareApi->immobiliare_list_markets: #{e}"
477
+ end
478
+ ```
479
+
480
+ #### Using the immobiliare_list_markets_with_http_info variant
481
+
482
+ This returns an Array which contains the response data, status code and headers.
483
+
484
+ > <Array(Object, Integer, Hash)> immobiliare_list_markets_with_http_info
485
+
486
+ ```ruby
487
+ begin
488
+ # List markets
489
+ data, status_code, headers = api_instance.immobiliare_list_markets_with_http_info
490
+ p status_code # => 2xx
491
+ p headers # => { ... }
492
+ p data # => Object
493
+ rescue ScrapeBadger::ApiError => e
494
+ puts "Error when calling ImmobiliareApi->immobiliare_list_markets_with_http_info: #{e}"
495
+ end
496
+ ```
497
+
498
+ ### Parameters
499
+
500
+ This endpoint does not need any parameter.
501
+
502
+ ### Return type
503
+
504
+ **Object**
505
+
506
+ ### Authorization
507
+
508
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
509
+
510
+ ### HTTP request headers
511
+
512
+ - **Content-Type**: Not defined
513
+ - **Accept**: application/json
514
+
515
+
516
+ ## immobiliare_location_autocomplete
517
+
518
+ > Object immobiliare_location_autocomplete(query, opts)
519
+
520
+ Location autocomplete
521
+
522
+ Resolve a place name to region/province/city ids usable in search.
523
+
524
+ ### Examples
525
+
526
+ ```ruby
527
+ require 'time'
528
+ require 'scrapebadger'
529
+ # setup authorization
530
+ ScrapeBadger.configure do |config|
531
+ # Configure API key authorization: ApiKeyAuth
532
+ config.api_key['X-API-Key'] = 'YOUR API KEY'
533
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
534
+ # config.api_key_prefix['X-API-Key'] = 'Bearer'
535
+ end
536
+
537
+ api_instance = ScrapeBadger::ImmobiliareApi.new
538
+ query = 'query_example' # String | Free-text place name, e.g. 'Milano'
539
+ opts = {
540
+ market: 'market_example' # String | it | es | gr | lu
541
+ }
542
+
543
+ begin
544
+ # Location autocomplete
545
+ result = api_instance.immobiliare_location_autocomplete(query, opts)
546
+ p result
547
+ rescue ScrapeBadger::ApiError => e
548
+ puts "Error when calling ImmobiliareApi->immobiliare_location_autocomplete: #{e}"
549
+ end
550
+ ```
551
+
552
+ #### Using the immobiliare_location_autocomplete_with_http_info variant
553
+
554
+ This returns an Array which contains the response data, status code and headers.
555
+
556
+ > <Array(Object, Integer, Hash)> immobiliare_location_autocomplete_with_http_info(query, opts)
557
+
558
+ ```ruby
559
+ begin
560
+ # Location autocomplete
561
+ data, status_code, headers = api_instance.immobiliare_location_autocomplete_with_http_info(query, opts)
562
+ p status_code # => 2xx
563
+ p headers # => { ... }
564
+ p data # => Object
565
+ rescue ScrapeBadger::ApiError => e
566
+ puts "Error when calling ImmobiliareApi->immobiliare_location_autocomplete_with_http_info: #{e}"
567
+ end
568
+ ```
569
+
570
+ ### Parameters
571
+
572
+ | Name | Type | Description | Notes |
573
+ | ---- | ---- | ----------- | ----- |
574
+ | **query** | **String** | Free-text place name, e.g. &#39;Milano&#39; | |
575
+ | **market** | **String** | it | es | gr | lu | [optional][default to &#39;it&#39;] |
576
+
577
+ ### Return type
578
+
579
+ **Object**
580
+
581
+ ### Authorization
582
+
583
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
584
+
585
+ ### HTTP request headers
586
+
587
+ - **Content-Type**: Not defined
588
+ - **Accept**: application/json
589
+
590
+
591
+ ## immobiliare_price_m_time_series
592
+
593
+ > Object immobiliare_price_m_time_series(region_id, opts)
594
+
595
+ Price €/m² time series
596
+
597
+ Historical €/m² price statistics for an area.
598
+
599
+ ### Examples
600
+
601
+ ```ruby
602
+ require 'time'
603
+ require 'scrapebadger'
604
+ # setup authorization
605
+ ScrapeBadger.configure do |config|
606
+ # Configure API key authorization: ApiKeyAuth
607
+ config.api_key['X-API-Key'] = 'YOUR API KEY'
608
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
609
+ # config.api_key_prefix['X-API-Key'] = 'Bearer'
610
+ end
611
+
612
+ api_instance = ScrapeBadger::ImmobiliareApi.new
613
+ region_id = 'region_id_example' # String | Region id, e.g. 'lom'
614
+ opts = {
615
+ market: 'market_example', # String | it | es | gr | lu
616
+ province_id: 'province_id_example', # String | Province id, e.g. 'MI'
617
+ city_id: 'city_id_example', # String | City id (idComune)
618
+ contract: 'contract_example' # String | sale | rent
619
+ }
620
+
621
+ begin
622
+ # Price €/m² time series
623
+ result = api_instance.immobiliare_price_m_time_series(region_id, opts)
624
+ p result
625
+ rescue ScrapeBadger::ApiError => e
626
+ puts "Error when calling ImmobiliareApi->immobiliare_price_m_time_series: #{e}"
627
+ end
628
+ ```
629
+
630
+ #### Using the immobiliare_price_m_time_series_with_http_info variant
631
+
632
+ This returns an Array which contains the response data, status code and headers.
633
+
634
+ > <Array(Object, Integer, Hash)> immobiliare_price_m_time_series_with_http_info(region_id, opts)
635
+
636
+ ```ruby
637
+ begin
638
+ # Price €/m² time series
639
+ data, status_code, headers = api_instance.immobiliare_price_m_time_series_with_http_info(region_id, opts)
640
+ p status_code # => 2xx
641
+ p headers # => { ... }
642
+ p data # => Object
643
+ rescue ScrapeBadger::ApiError => e
644
+ puts "Error when calling ImmobiliareApi->immobiliare_price_m_time_series_with_http_info: #{e}"
645
+ end
646
+ ```
647
+
648
+ ### Parameters
649
+
650
+ | Name | Type | Description | Notes |
651
+ | ---- | ---- | ----------- | ----- |
652
+ | **region_id** | **String** | Region id, e.g. &#39;lom&#39; | |
653
+ | **market** | **String** | it | es | gr | lu | [optional][default to &#39;it&#39;] |
654
+ | **province_id** | **String** | Province id, e.g. &#39;MI&#39; | [optional] |
655
+ | **city_id** | **String** | City id (idComune) | [optional] |
656
+ | **contract** | **String** | sale | rent | [optional][default to &#39;sale&#39;] |
657
+
658
+ ### Return type
659
+
660
+ **Object**
661
+
662
+ ### Authorization
663
+
664
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
665
+
666
+ ### HTTP request headers
667
+
668
+ - **Content-Type**: Not defined
669
+ - **Accept**: application/json
670
+
671
+
672
+ ## immobiliare_search_listings
673
+
674
+ > Object immobiliare_search_listings(opts)
675
+
676
+ Search listings
677
+
678
+ Search Immobiliare-group listings (scope by location + contract + filters).
679
+
680
+ ### Examples
681
+
682
+ ```ruby
683
+ require 'time'
684
+ require 'scrapebadger'
685
+ # setup authorization
686
+ ScrapeBadger.configure do |config|
687
+ # Configure API key authorization: ApiKeyAuth
688
+ config.api_key['X-API-Key'] = 'YOUR API KEY'
689
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
690
+ # config.api_key_prefix['X-API-Key'] = 'Bearer'
691
+ end
692
+
693
+ api_instance = ScrapeBadger::ImmobiliareApi.new
694
+ opts = {
695
+ market: 'market_example', # String | it | es | gr | lu
696
+ location: 'location_example', # String | Free-text place (auto-resolved)
697
+ region_id: 'region_id_example', # String | fkRegione (from /autocomplete)
698
+ province_id: 'province_id_example', # String | idProvincia (from /autocomplete)
699
+ city_id: 'city_id_example', # String | idComune (from /autocomplete)
700
+ contract: 'contract_example', # String | sale | rent
701
+ category: 'category_example', # String | see /reference
702
+ price_min: 56, # Integer |
703
+ price_max: 56, # Integer |
704
+ surface_min: 56, # Integer |
705
+ surface_max: 56, # Integer |
706
+ rooms_min: 56, # Integer |
707
+ rooms_max: 56, # Integer |
708
+ bathrooms_min: 56, # Integer |
709
+ sort: 'sort_example', # String | see /reference
710
+ page: 56 # Integer |
711
+ }
712
+
713
+ begin
714
+ # Search listings
715
+ result = api_instance.immobiliare_search_listings(opts)
716
+ p result
717
+ rescue ScrapeBadger::ApiError => e
718
+ puts "Error when calling ImmobiliareApi->immobiliare_search_listings: #{e}"
719
+ end
720
+ ```
721
+
722
+ #### Using the immobiliare_search_listings_with_http_info variant
723
+
724
+ This returns an Array which contains the response data, status code and headers.
725
+
726
+ > <Array(Object, Integer, Hash)> immobiliare_search_listings_with_http_info(opts)
727
+
728
+ ```ruby
729
+ begin
730
+ # Search listings
731
+ data, status_code, headers = api_instance.immobiliare_search_listings_with_http_info(opts)
732
+ p status_code # => 2xx
733
+ p headers # => { ... }
734
+ p data # => Object
735
+ rescue ScrapeBadger::ApiError => e
736
+ puts "Error when calling ImmobiliareApi->immobiliare_search_listings_with_http_info: #{e}"
737
+ end
738
+ ```
739
+
740
+ ### Parameters
741
+
742
+ | Name | Type | Description | Notes |
743
+ | ---- | ---- | ----------- | ----- |
744
+ | **market** | **String** | it | es | gr | lu | [optional][default to &#39;it&#39;] |
745
+ | **location** | **String** | Free-text place (auto-resolved) | [optional] |
746
+ | **region_id** | **String** | fkRegione (from /autocomplete) | [optional] |
747
+ | **province_id** | **String** | idProvincia (from /autocomplete) | [optional] |
748
+ | **city_id** | **String** | idComune (from /autocomplete) | [optional] |
749
+ | **contract** | **String** | sale | rent | [optional][default to &#39;sale&#39;] |
750
+ | **category** | **String** | see /reference | [optional][default to &#39;residential&#39;] |
751
+ | **price_min** | **Integer** | | [optional] |
752
+ | **price_max** | **Integer** | | [optional] |
753
+ | **surface_min** | **Integer** | | [optional] |
754
+ | **surface_max** | **Integer** | | [optional] |
755
+ | **rooms_min** | **Integer** | | [optional] |
756
+ | **rooms_max** | **Integer** | | [optional] |
757
+ | **bathrooms_min** | **Integer** | | [optional] |
758
+ | **sort** | **String** | see /reference | [optional][default to &#39;relevance&#39;] |
759
+ | **page** | **Integer** | | [optional][default to 1] |
760
+
761
+ ### Return type
762
+
763
+ **Object**
764
+
765
+ ### Authorization
766
+
767
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
768
+
769
+ ### HTTP request headers
770
+
771
+ - **Content-Type**: Not defined
772
+ - **Accept**: application/json
773
+