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
data/docs/RedfinApi.md ADDED
@@ -0,0 +1,616 @@
1
+ # ScrapeBadger::RedfinApi
2
+
3
+ All URIs are relative to *https://scrapebadger.com*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**redfin_get_agent_profile_listings**](RedfinApi.md#redfin_get_agent_profile_listings) | **GET** /v1/redfin/agent | Get agent profile + listings |
8
+ | [**redfin_get_property_detail**](RedfinApi.md#redfin_get_property_detail) | **GET** /v1/redfin/property/{property_id} | Get property detail |
9
+ | [**redfin_get_property_detail_by_url**](RedfinApi.md#redfin_get_property_detail_by_url) | **GET** /v1/redfin/property | Get property detail by URL |
10
+ | [**redfin_list_coverage_markets**](RedfinApi.md#redfin_list_coverage_markets) | **GET** /v1/redfin/markets | List coverage markets |
11
+ | [**redfin_redfin_scraper_health_check**](RedfinApi.md#redfin_redfin_scraper_health_check) | **GET** /v1/redfin/health | Redfin scraper health check |
12
+ | [**redfin_redfin_scraper_health_check_head**](RedfinApi.md#redfin_redfin_scraper_health_check_head) | **HEAD** /v1/redfin/health | Redfin scraper health check |
13
+ | [**redfin_region_address_suggestions**](RedfinApi.md#redfin_region_address_suggestions) | **GET** /v1/redfin/autocomplete | Region/address suggestions |
14
+ | [**redfin_search_properties**](RedfinApi.md#redfin_search_properties) | **GET** /v1/redfin/search | Search properties |
15
+
16
+
17
+ ## redfin_get_agent_profile_listings
18
+
19
+ > Object redfin_get_agent_profile_listings(opts)
20
+
21
+ Get agent profile + listings
22
+
23
+ Get a Redfin real-estate agent's profile and their active listings.
24
+
25
+ ### Examples
26
+
27
+ ```ruby
28
+ require 'time'
29
+ require 'scrapebadger'
30
+ # setup authorization
31
+ ScrapeBadger.configure do |config|
32
+ # Configure API key authorization: ApiKeyAuth
33
+ config.api_key['X-API-Key'] = 'YOUR API KEY'
34
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
35
+ # config.api_key_prefix['X-API-Key'] = 'Bearer'
36
+ end
37
+
38
+ api_instance = ScrapeBadger::RedfinApi.new
39
+ opts = {
40
+ url: 'url_example', # String | Full Redfin /realestateagents/ URL
41
+ agent_id: 'agent_id_example' # String | Redfin agent id
42
+ }
43
+
44
+ begin
45
+ # Get agent profile + listings
46
+ result = api_instance.redfin_get_agent_profile_listings(opts)
47
+ p result
48
+ rescue ScrapeBadger::ApiError => e
49
+ puts "Error when calling RedfinApi->redfin_get_agent_profile_listings: #{e}"
50
+ end
51
+ ```
52
+
53
+ #### Using the redfin_get_agent_profile_listings_with_http_info variant
54
+
55
+ This returns an Array which contains the response data, status code and headers.
56
+
57
+ > <Array(Object, Integer, Hash)> redfin_get_agent_profile_listings_with_http_info(opts)
58
+
59
+ ```ruby
60
+ begin
61
+ # Get agent profile + listings
62
+ data, status_code, headers = api_instance.redfin_get_agent_profile_listings_with_http_info(opts)
63
+ p status_code # => 2xx
64
+ p headers # => { ... }
65
+ p data # => Object
66
+ rescue ScrapeBadger::ApiError => e
67
+ puts "Error when calling RedfinApi->redfin_get_agent_profile_listings_with_http_info: #{e}"
68
+ end
69
+ ```
70
+
71
+ ### Parameters
72
+
73
+ | Name | Type | Description | Notes |
74
+ | ---- | ---- | ----------- | ----- |
75
+ | **url** | **String** | Full Redfin /realestateagents/ URL | [optional] |
76
+ | **agent_id** | **String** | Redfin agent id | [optional] |
77
+
78
+ ### Return type
79
+
80
+ **Object**
81
+
82
+ ### Authorization
83
+
84
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
85
+
86
+ ### HTTP request headers
87
+
88
+ - **Content-Type**: Not defined
89
+ - **Accept**: application/json
90
+
91
+
92
+ ## redfin_get_property_detail
93
+
94
+ > Object redfin_get_property_detail(property_id)
95
+
96
+ Get property detail
97
+
98
+ Get a single Redfin property's full detail by its numeric propertyId.
99
+
100
+ ### Examples
101
+
102
+ ```ruby
103
+ require 'time'
104
+ require 'scrapebadger'
105
+ # setup authorization
106
+ ScrapeBadger.configure do |config|
107
+ # Configure API key authorization: ApiKeyAuth
108
+ config.api_key['X-API-Key'] = 'YOUR API KEY'
109
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
110
+ # config.api_key_prefix['X-API-Key'] = 'Bearer'
111
+ end
112
+
113
+ api_instance = ScrapeBadger::RedfinApi.new
114
+ property_id = 'property_id_example' # String |
115
+
116
+ begin
117
+ # Get property detail
118
+ result = api_instance.redfin_get_property_detail(property_id)
119
+ p result
120
+ rescue ScrapeBadger::ApiError => e
121
+ puts "Error when calling RedfinApi->redfin_get_property_detail: #{e}"
122
+ end
123
+ ```
124
+
125
+ #### Using the redfin_get_property_detail_with_http_info variant
126
+
127
+ This returns an Array which contains the response data, status code and headers.
128
+
129
+ > <Array(Object, Integer, Hash)> redfin_get_property_detail_with_http_info(property_id)
130
+
131
+ ```ruby
132
+ begin
133
+ # Get property detail
134
+ data, status_code, headers = api_instance.redfin_get_property_detail_with_http_info(property_id)
135
+ p status_code # => 2xx
136
+ p headers # => { ... }
137
+ p data # => Object
138
+ rescue ScrapeBadger::ApiError => e
139
+ puts "Error when calling RedfinApi->redfin_get_property_detail_with_http_info: #{e}"
140
+ end
141
+ ```
142
+
143
+ ### Parameters
144
+
145
+ | Name | Type | Description | Notes |
146
+ | ---- | ---- | ----------- | ----- |
147
+ | **property_id** | **String** | | |
148
+
149
+ ### Return type
150
+
151
+ **Object**
152
+
153
+ ### Authorization
154
+
155
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
156
+
157
+ ### HTTP request headers
158
+
159
+ - **Content-Type**: Not defined
160
+ - **Accept**: application/json
161
+
162
+
163
+ ## redfin_get_property_detail_by_url
164
+
165
+ > Object redfin_get_property_detail_by_url(url)
166
+
167
+ Get property detail by URL
168
+
169
+ Get a single Redfin property's full detail by its home URL.
170
+
171
+ ### Examples
172
+
173
+ ```ruby
174
+ require 'time'
175
+ require 'scrapebadger'
176
+ # setup authorization
177
+ ScrapeBadger.configure do |config|
178
+ # Configure API key authorization: ApiKeyAuth
179
+ config.api_key['X-API-Key'] = 'YOUR API KEY'
180
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
181
+ # config.api_key_prefix['X-API-Key'] = 'Bearer'
182
+ end
183
+
184
+ api_instance = ScrapeBadger::RedfinApi.new
185
+ url = 'url_example' # String | Full Redfin property URL (/CA/City/.../home/12345678)
186
+
187
+ begin
188
+ # Get property detail by URL
189
+ result = api_instance.redfin_get_property_detail_by_url(url)
190
+ p result
191
+ rescue ScrapeBadger::ApiError => e
192
+ puts "Error when calling RedfinApi->redfin_get_property_detail_by_url: #{e}"
193
+ end
194
+ ```
195
+
196
+ #### Using the redfin_get_property_detail_by_url_with_http_info variant
197
+
198
+ This returns an Array which contains the response data, status code and headers.
199
+
200
+ > <Array(Object, Integer, Hash)> redfin_get_property_detail_by_url_with_http_info(url)
201
+
202
+ ```ruby
203
+ begin
204
+ # Get property detail by URL
205
+ data, status_code, headers = api_instance.redfin_get_property_detail_by_url_with_http_info(url)
206
+ p status_code # => 2xx
207
+ p headers # => { ... }
208
+ p data # => Object
209
+ rescue ScrapeBadger::ApiError => e
210
+ puts "Error when calling RedfinApi->redfin_get_property_detail_by_url_with_http_info: #{e}"
211
+ end
212
+ ```
213
+
214
+ ### Parameters
215
+
216
+ | Name | Type | Description | Notes |
217
+ | ---- | ---- | ----------- | ----- |
218
+ | **url** | **String** | Full Redfin property URL (/CA/City/.../home/12345678) | |
219
+
220
+ ### Return type
221
+
222
+ **Object**
223
+
224
+ ### Authorization
225
+
226
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
227
+
228
+ ### HTTP request headers
229
+
230
+ - **Content-Type**: Not defined
231
+ - **Accept**: application/json
232
+
233
+
234
+ ## redfin_list_coverage_markets
235
+
236
+ > Object redfin_list_coverage_markets
237
+
238
+ List coverage markets
239
+
240
+ List Redfin coverage regions (US).
241
+
242
+ ### Examples
243
+
244
+ ```ruby
245
+ require 'time'
246
+ require 'scrapebadger'
247
+ # setup authorization
248
+ ScrapeBadger.configure do |config|
249
+ # Configure API key authorization: ApiKeyAuth
250
+ config.api_key['X-API-Key'] = 'YOUR API KEY'
251
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
252
+ # config.api_key_prefix['X-API-Key'] = 'Bearer'
253
+ end
254
+
255
+ api_instance = ScrapeBadger::RedfinApi.new
256
+
257
+ begin
258
+ # List coverage markets
259
+ result = api_instance.redfin_list_coverage_markets
260
+ p result
261
+ rescue ScrapeBadger::ApiError => e
262
+ puts "Error when calling RedfinApi->redfin_list_coverage_markets: #{e}"
263
+ end
264
+ ```
265
+
266
+ #### Using the redfin_list_coverage_markets_with_http_info variant
267
+
268
+ This returns an Array which contains the response data, status code and headers.
269
+
270
+ > <Array(Object, Integer, Hash)> redfin_list_coverage_markets_with_http_info
271
+
272
+ ```ruby
273
+ begin
274
+ # List coverage markets
275
+ data, status_code, headers = api_instance.redfin_list_coverage_markets_with_http_info
276
+ p status_code # => 2xx
277
+ p headers # => { ... }
278
+ p data # => Object
279
+ rescue ScrapeBadger::ApiError => e
280
+ puts "Error when calling RedfinApi->redfin_list_coverage_markets_with_http_info: #{e}"
281
+ end
282
+ ```
283
+
284
+ ### Parameters
285
+
286
+ This endpoint does not need any parameter.
287
+
288
+ ### Return type
289
+
290
+ **Object**
291
+
292
+ ### Authorization
293
+
294
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
295
+
296
+ ### HTTP request headers
297
+
298
+ - **Content-Type**: Not defined
299
+ - **Accept**: application/json
300
+
301
+
302
+ ## redfin_redfin_scraper_health_check
303
+
304
+ > Object redfin_redfin_scraper_health_check
305
+
306
+ Redfin scraper health check
307
+
308
+ Check health of the Redfin scraper service (accepts HEAD for UptimeRobot).
309
+
310
+ ### Examples
311
+
312
+ ```ruby
313
+ require 'time'
314
+ require 'scrapebadger'
315
+ # setup authorization
316
+ ScrapeBadger.configure do |config|
317
+ # Configure API key authorization: ApiKeyAuth
318
+ config.api_key['X-API-Key'] = 'YOUR API KEY'
319
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
320
+ # config.api_key_prefix['X-API-Key'] = 'Bearer'
321
+ end
322
+
323
+ api_instance = ScrapeBadger::RedfinApi.new
324
+
325
+ begin
326
+ # Redfin scraper health check
327
+ result = api_instance.redfin_redfin_scraper_health_check
328
+ p result
329
+ rescue ScrapeBadger::ApiError => e
330
+ puts "Error when calling RedfinApi->redfin_redfin_scraper_health_check: #{e}"
331
+ end
332
+ ```
333
+
334
+ #### Using the redfin_redfin_scraper_health_check_with_http_info variant
335
+
336
+ This returns an Array which contains the response data, status code and headers.
337
+
338
+ > <Array(Object, Integer, Hash)> redfin_redfin_scraper_health_check_with_http_info
339
+
340
+ ```ruby
341
+ begin
342
+ # Redfin scraper health check
343
+ data, status_code, headers = api_instance.redfin_redfin_scraper_health_check_with_http_info
344
+ p status_code # => 2xx
345
+ p headers # => { ... }
346
+ p data # => Object
347
+ rescue ScrapeBadger::ApiError => e
348
+ puts "Error when calling RedfinApi->redfin_redfin_scraper_health_check_with_http_info: #{e}"
349
+ end
350
+ ```
351
+
352
+ ### Parameters
353
+
354
+ This endpoint does not need any parameter.
355
+
356
+ ### Return type
357
+
358
+ **Object**
359
+
360
+ ### Authorization
361
+
362
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
363
+
364
+ ### HTTP request headers
365
+
366
+ - **Content-Type**: Not defined
367
+ - **Accept**: application/json
368
+
369
+
370
+ ## redfin_redfin_scraper_health_check_head
371
+
372
+ > Object redfin_redfin_scraper_health_check_head
373
+
374
+ Redfin scraper health check
375
+
376
+ Check health of the Redfin scraper service (accepts HEAD for UptimeRobot).
377
+
378
+ ### Examples
379
+
380
+ ```ruby
381
+ require 'time'
382
+ require 'scrapebadger'
383
+ # setup authorization
384
+ ScrapeBadger.configure do |config|
385
+ # Configure API key authorization: ApiKeyAuth
386
+ config.api_key['X-API-Key'] = 'YOUR API KEY'
387
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
388
+ # config.api_key_prefix['X-API-Key'] = 'Bearer'
389
+ end
390
+
391
+ api_instance = ScrapeBadger::RedfinApi.new
392
+
393
+ begin
394
+ # Redfin scraper health check
395
+ result = api_instance.redfin_redfin_scraper_health_check_head
396
+ p result
397
+ rescue ScrapeBadger::ApiError => e
398
+ puts "Error when calling RedfinApi->redfin_redfin_scraper_health_check_head: #{e}"
399
+ end
400
+ ```
401
+
402
+ #### Using the redfin_redfin_scraper_health_check_head_with_http_info variant
403
+
404
+ This returns an Array which contains the response data, status code and headers.
405
+
406
+ > <Array(Object, Integer, Hash)> redfin_redfin_scraper_health_check_head_with_http_info
407
+
408
+ ```ruby
409
+ begin
410
+ # Redfin scraper health check
411
+ data, status_code, headers = api_instance.redfin_redfin_scraper_health_check_head_with_http_info
412
+ p status_code # => 2xx
413
+ p headers # => { ... }
414
+ p data # => Object
415
+ rescue ScrapeBadger::ApiError => e
416
+ puts "Error when calling RedfinApi->redfin_redfin_scraper_health_check_head_with_http_info: #{e}"
417
+ end
418
+ ```
419
+
420
+ ### Parameters
421
+
422
+ This endpoint does not need any parameter.
423
+
424
+ ### Return type
425
+
426
+ **Object**
427
+
428
+ ### Authorization
429
+
430
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
431
+
432
+ ### HTTP request headers
433
+
434
+ - **Content-Type**: Not defined
435
+ - **Accept**: application/json
436
+
437
+
438
+ ## redfin_region_address_suggestions
439
+
440
+ > Object redfin_region_address_suggestions(query)
441
+
442
+ Region/address suggestions
443
+
444
+ Resolve a search term to Redfin regions/addresses.
445
+
446
+ ### Examples
447
+
448
+ ```ruby
449
+ require 'time'
450
+ require 'scrapebadger'
451
+ # setup authorization
452
+ ScrapeBadger.configure do |config|
453
+ # Configure API key authorization: ApiKeyAuth
454
+ config.api_key['X-API-Key'] = 'YOUR API KEY'
455
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
456
+ # config.api_key_prefix['X-API-Key'] = 'Bearer'
457
+ end
458
+
459
+ api_instance = ScrapeBadger::RedfinApi.new
460
+ query = 'query_example' # String | Partial location — city, ZIP, address, neighborhood
461
+
462
+ begin
463
+ # Region/address suggestions
464
+ result = api_instance.redfin_region_address_suggestions(query)
465
+ p result
466
+ rescue ScrapeBadger::ApiError => e
467
+ puts "Error when calling RedfinApi->redfin_region_address_suggestions: #{e}"
468
+ end
469
+ ```
470
+
471
+ #### Using the redfin_region_address_suggestions_with_http_info variant
472
+
473
+ This returns an Array which contains the response data, status code and headers.
474
+
475
+ > <Array(Object, Integer, Hash)> redfin_region_address_suggestions_with_http_info(query)
476
+
477
+ ```ruby
478
+ begin
479
+ # Region/address suggestions
480
+ data, status_code, headers = api_instance.redfin_region_address_suggestions_with_http_info(query)
481
+ p status_code # => 2xx
482
+ p headers # => { ... }
483
+ p data # => Object
484
+ rescue ScrapeBadger::ApiError => e
485
+ puts "Error when calling RedfinApi->redfin_region_address_suggestions_with_http_info: #{e}"
486
+ end
487
+ ```
488
+
489
+ ### Parameters
490
+
491
+ | Name | Type | Description | Notes |
492
+ | ---- | ---- | ----------- | ----- |
493
+ | **query** | **String** | Partial location — city, ZIP, address, neighborhood | |
494
+
495
+ ### Return type
496
+
497
+ **Object**
498
+
499
+ ### Authorization
500
+
501
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
502
+
503
+ ### HTTP request headers
504
+
505
+ - **Content-Type**: Not defined
506
+ - **Accept**: application/json
507
+
508
+
509
+ ## redfin_search_properties
510
+
511
+ > Object redfin_search_properties(location, opts)
512
+
513
+ Search properties
514
+
515
+ Search Redfin for for-sale / for-rent / recently-sold properties.
516
+
517
+ ### Examples
518
+
519
+ ```ruby
520
+ require 'time'
521
+ require 'scrapebadger'
522
+ # setup authorization
523
+ ScrapeBadger.configure do |config|
524
+ # Configure API key authorization: ApiKeyAuth
525
+ config.api_key['X-API-Key'] = 'YOUR API KEY'
526
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
527
+ # config.api_key_prefix['X-API-Key'] = 'Bearer'
528
+ end
529
+
530
+ api_instance = ScrapeBadger::RedfinApi.new
531
+ location = 'location_example' # String | City/state, ZIP, address or neighborhood
532
+ opts = {
533
+ page: 56, # Integer |
534
+ sort: 'sort_example', # String | relevant|newest|price_high_to_low|price_low_to_high|square_feet|lot_size|price_per_sqft|beds|baths
535
+ price_min: 56, # Integer |
536
+ price_max: 56, # Integer |
537
+ beds_min: 56, # Integer |
538
+ baths_min: 8.14, # Float |
539
+ home_type: 'home_type_example', # String | house|condo|townhouse|multi_family|land|mobile|coop|other
540
+ sqft_min: 56, # Integer |
541
+ sqft_max: 56, # Integer |
542
+ lot_min: 56, # Integer |
543
+ lot_max: 56, # Integer |
544
+ year_built_min: 56, # Integer |
545
+ year_built_max: 56, # Integer |
546
+ max_days_on_market: 56, # Integer |
547
+ north: 8.14, # Float | Map bounds for tiling past the cap
548
+ south: 8.14, # Float |
549
+ east: 8.14, # Float |
550
+ west: 8.14 # Float |
551
+ }
552
+
553
+ begin
554
+ # Search properties
555
+ result = api_instance.redfin_search_properties(location, opts)
556
+ p result
557
+ rescue ScrapeBadger::ApiError => e
558
+ puts "Error when calling RedfinApi->redfin_search_properties: #{e}"
559
+ end
560
+ ```
561
+
562
+ #### Using the redfin_search_properties_with_http_info variant
563
+
564
+ This returns an Array which contains the response data, status code and headers.
565
+
566
+ > <Array(Object, Integer, Hash)> redfin_search_properties_with_http_info(location, opts)
567
+
568
+ ```ruby
569
+ begin
570
+ # Search properties
571
+ data, status_code, headers = api_instance.redfin_search_properties_with_http_info(location, opts)
572
+ p status_code # => 2xx
573
+ p headers # => { ... }
574
+ p data # => Object
575
+ rescue ScrapeBadger::ApiError => e
576
+ puts "Error when calling RedfinApi->redfin_search_properties_with_http_info: #{e}"
577
+ end
578
+ ```
579
+
580
+ ### Parameters
581
+
582
+ | Name | Type | Description | Notes |
583
+ | ---- | ---- | ----------- | ----- |
584
+ | **location** | **String** | City/state, ZIP, address or neighborhood | |
585
+ | **page** | **Integer** | | [optional][default to 1] |
586
+ | **sort** | **String** | relevant|newest|price_high_to_low|price_low_to_high|square_feet|lot_size|price_per_sqft|beds|baths | [optional] |
587
+ | **price_min** | **Integer** | | [optional] |
588
+ | **price_max** | **Integer** | | [optional] |
589
+ | **beds_min** | **Integer** | | [optional] |
590
+ | **baths_min** | **Float** | | [optional] |
591
+ | **home_type** | **String** | house|condo|townhouse|multi_family|land|mobile|coop|other | [optional] |
592
+ | **sqft_min** | **Integer** | | [optional] |
593
+ | **sqft_max** | **Integer** | | [optional] |
594
+ | **lot_min** | **Integer** | | [optional] |
595
+ | **lot_max** | **Integer** | | [optional] |
596
+ | **year_built_min** | **Integer** | | [optional] |
597
+ | **year_built_max** | **Integer** | | [optional] |
598
+ | **max_days_on_market** | **Integer** | | [optional] |
599
+ | **north** | **Float** | Map bounds for tiling past the cap | [optional] |
600
+ | **south** | **Float** | | [optional] |
601
+ | **east** | **Float** | | [optional] |
602
+ | **west** | **Float** | | [optional] |
603
+
604
+ ### Return type
605
+
606
+ **Object**
607
+
608
+ ### Authorization
609
+
610
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
611
+
612
+ ### HTTP request headers
613
+
614
+ - **Content-Type**: Not defined
615
+ - **Accept**: application/json
616
+
@@ -0,0 +1,26 @@
1
+ # ScrapeBadger::StreamMonitorCreate
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | | |
8
+ | **usernames** | **Array&lt;String&gt;** | | |
9
+ | **webhook_url** | **String** | | [optional] |
10
+ | **webhook_secret** | **String** | | [optional] |
11
+ | **filter_types** | **Array&lt;String&gt;** | | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'scrapebadger'
17
+
18
+ instance = ScrapeBadger::StreamMonitorCreate.new(
19
+ name: null,
20
+ usernames: null,
21
+ webhook_url: null,
22
+ webhook_secret: null,
23
+ filter_types: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,24 @@
1
+ # ScrapeBadger::StreamMonitorListResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **monitors** | [**Array&lt;StreamMonitorResponse&gt;**](StreamMonitorResponse.md) | | |
8
+ | **total** | **Integer** | | |
9
+ | **page** | **Integer** | | |
10
+ | **page_size** | **Integer** | | |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'scrapebadger'
16
+
17
+ instance = ScrapeBadger::StreamMonitorListResponse.new(
18
+ monitors: null,
19
+ total: null,
20
+ page: null,
21
+ page_size: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,42 @@
1
+ # ScrapeBadger::StreamMonitorResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | |
8
+ | **name** | **String** | | |
9
+ | **usernames** | **Array&lt;String&gt;** | | |
10
+ | **status** | **String** | | |
11
+ | **status_reason** | **String** | | |
12
+ | **webhook_url** | **String** | | |
13
+ | **webhook_secret_set** | **Boolean** | | |
14
+ | **filter_types** | **Array&lt;String&gt;** | | |
15
+ | **credits_per_account_per_day** | **Float** | | |
16
+ | **estimated_credits_per_day** | **Float** | | |
17
+ | **pricing_tier** | **String** | | |
18
+ | **created_at** | **Time** | | |
19
+ | **updated_at** | **Time** | | |
20
+
21
+ ## Example
22
+
23
+ ```ruby
24
+ require 'scrapebadger'
25
+
26
+ instance = ScrapeBadger::StreamMonitorResponse.new(
27
+ id: null,
28
+ name: null,
29
+ usernames: null,
30
+ status: null,
31
+ status_reason: null,
32
+ webhook_url: null,
33
+ webhook_secret_set: null,
34
+ filter_types: null,
35
+ credits_per_account_per_day: null,
36
+ estimated_credits_per_day: null,
37
+ pricing_tier: null,
38
+ created_at: null,
39
+ updated_at: null
40
+ )
41
+ ```
42
+