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,197 @@
1
+ =begin
2
+ #ScrapeBadger API
3
+
4
+ #Unified credit-based scraping API. https://docs.scrapebadger.com
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for ScrapeBadger::IdealistaApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'IdealistaApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = ScrapeBadger::IdealistaApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of IdealistaApi' do
30
+ it 'should create an instance of IdealistaApi' do
31
+ expect(@api_instance).to be_instance_of(ScrapeBadger::IdealistaApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for idealista_agency_by_phone
36
+ # Agency by phone
37
+ # Reverse-lookup the agency behind a contact phone (national number), with its listings.
38
+ # @param phone
39
+ # @param [Hash] opts the optional parameters
40
+ # @option opts [String] :market es|it|pt
41
+ # @option opts [String] :operation sale|rent
42
+ # @option opts [String] :property_type homes|offices|premises|garages|newDevelopments|lands|storageRooms|buildings|bedrooms
43
+ # @option opts [Integer] :page
44
+ # @option opts [Integer] :max_items
45
+ # @option opts [Boolean] :include_listings
46
+ # @return [Object]
47
+ describe 'idealista_agency_by_phone test' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
50
+ end
51
+ end
52
+
53
+ # unit tests for idealista_agency_profile_listings
54
+ # Agency profile + listings
55
+ # An agency's microsite profile plus a page of its listings (by URL-slug shortName).
56
+ # @param short_name
57
+ # @param [Hash] opts the optional parameters
58
+ # @option opts [String] :market es|it|pt
59
+ # @option opts [String] :operation sale|rent
60
+ # @option opts [String] :property_type homes|offices|premises|garages|newDevelopments|lands|storageRooms|buildings|bedrooms
61
+ # @option opts [Integer] :page
62
+ # @option opts [Integer] :max_items
63
+ # @option opts [Boolean] :include_listings
64
+ # @return [Object]
65
+ describe 'idealista_agency_profile_listings test' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
68
+ end
69
+ end
70
+
71
+ # unit tests for idealista_get_listing_engagement_stats
72
+ # Get listing engagement stats
73
+ # Engagement counters for a listing: views, email contacts, sent-to-friend, favourites.
74
+ # @param property_code
75
+ # @param [Hash] opts the optional parameters
76
+ # @option opts [String] :market es|it|pt
77
+ # @option opts [String] :locale Language for stat labels
78
+ # @return [Object]
79
+ describe 'idealista_get_listing_engagement_stats test' do
80
+ it 'should work' do
81
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
82
+ end
83
+ end
84
+
85
+ # unit tests for idealista_get_property_detail
86
+ # Get property detail
87
+ # Get a single Idealista listing's full detail (energy cert, characteristics, media).
88
+ # @param property_code
89
+ # @param [Hash] opts the optional parameters
90
+ # @option opts [String] :market es|it|pt
91
+ # @option opts [String] :locale Response language (en, es, it, pt)
92
+ # @return [Object]
93
+ describe 'idealista_get_property_detail test' do
94
+ it 'should work' do
95
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
96
+ end
97
+ end
98
+
99
+ # unit tests for idealista_idealista_scraper_health_check
100
+ # Idealista scraper health check
101
+ # Check health of the Idealista scraper service (accepts HEAD for UptimeRobot).
102
+ # @param [Hash] opts the optional parameters
103
+ # @return [Object]
104
+ describe 'idealista_idealista_scraper_health_check test' do
105
+ it 'should work' do
106
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
107
+ end
108
+ end
109
+
110
+ # unit tests for idealista_idealista_scraper_health_check_head
111
+ # Idealista scraper health check
112
+ # Check health of the Idealista scraper service (accepts HEAD for UptimeRobot).
113
+ # @param [Hash] opts the optional parameters
114
+ # @return [Object]
115
+ describe 'idealista_idealista_scraper_health_check_head test' do
116
+ it 'should work' do
117
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
118
+ end
119
+ end
120
+
121
+ # unit tests for idealista_list_markets
122
+ # List markets
123
+ # List supported Idealista markets (ES, IT, PT).
124
+ # @param [Hash] opts the optional parameters
125
+ # @return [Object]
126
+ describe 'idealista_list_markets test' do
127
+ it 'should work' do
128
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
129
+ end
130
+ end
131
+
132
+ # unit tests for idealista_resolve_locations
133
+ # Resolve locations
134
+ # Resolve a free-text query into Idealista location codes for a search.
135
+ # @param query Free-text location, e.g. 'sagrada familia'
136
+ # @param [Hash] opts the optional parameters
137
+ # @option opts [String] :operation sale|rent
138
+ # @option opts [String] :property_type homes|offices|premises|garages|newDevelopments|lands|storageRooms|buildings|bedrooms
139
+ # @option opts [String] :market es|it|pt
140
+ # @option opts [String] :locale Response language (en, es, it, pt)
141
+ # @return [Object]
142
+ describe 'idealista_resolve_locations test' do
143
+ it 'should work' do
144
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
145
+ end
146
+ end
147
+
148
+ # unit tests for idealista_search_all_beats_result_cap
149
+ # Search all (beats result cap)
150
+ # Full inventory for a location, beating Idealista's ~1800 per-search cap via price-range tiling (deduped). Billed per page fetched.
151
+ # @param location Idealista location code (from /suggest)
152
+ # @param [Hash] opts the optional parameters
153
+ # @option opts [String] :operation sale|rent
154
+ # @option opts [String] :property_type homes|offices|premises|garages|newDevelopments|lands|storageRooms|buildings|bedrooms
155
+ # @option opts [String] :market es|it|pt
156
+ # @option opts [Integer] :max_results
157
+ # @option opts [Float] :min_price
158
+ # @option opts [Float] :max_price
159
+ # @option opts [Float] :min_size
160
+ # @option opts [Float] :max_size
161
+ # @option opts [Integer] :min_rooms
162
+ # @option opts [Integer] :max_rooms
163
+ # @option opts [String] :locale Response language (en, es, it, pt)
164
+ # @return [Object]
165
+ describe 'idealista_search_all_beats_result_cap test' do
166
+ it 'should work' do
167
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
168
+ end
169
+ end
170
+
171
+ # unit tests for idealista_search_listings
172
+ # Search listings
173
+ # Search Idealista real-estate listings by location code.
174
+ # @param location Idealista location code (from /suggest)
175
+ # @param [Hash] opts the optional parameters
176
+ # @option opts [String] :operation sale|rent
177
+ # @option opts [String] :property_type homes|offices|premises|garages|newDevelopments|lands|storageRooms|buildings|bedrooms
178
+ # @option opts [String] :market es|it|pt
179
+ # @option opts [Integer] :page
180
+ # @option opts [Integer] :max_items
181
+ # @option opts [String] :sort_by distance|size|rooms|floor|ratioeurm2|price|street|photos|modificationDate|publicationDate|weigh|priceDown|preservationTypeAndPrice|privateAds
182
+ # @option opts [String] :sort_order asc|desc
183
+ # @option opts [Float] :min_price
184
+ # @option opts [Float] :max_price
185
+ # @option opts [Float] :min_size
186
+ # @option opts [Float] :max_size
187
+ # @option opts [Integer] :min_rooms
188
+ # @option opts [Integer] :max_rooms
189
+ # @option opts [String] :locale Response language (en, es, it, pt)
190
+ # @return [Object]
191
+ describe 'idealista_search_listings test' do
192
+ it 'should work' do
193
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
194
+ end
195
+ end
196
+
197
+ end
@@ -0,0 +1,174 @@
1
+ =begin
2
+ #ScrapeBadger API
3
+
4
+ #Unified credit-based scraping API. https://docs.scrapebadger.com
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for ScrapeBadger::ImmobiliareApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ImmobiliareApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = ScrapeBadger::ImmobiliareApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ImmobiliareApi' do
30
+ it 'should create an instance of ImmobiliareApi' do
31
+ expect(@api_instance).to be_instance_of(ScrapeBadger::ImmobiliareApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for immobiliare_get_agency_profile
36
+ # Get agency profile
37
+ # Public agency/advertiser profile.
38
+ # @param agency_id
39
+ # @param [Hash] opts the optional parameters
40
+ # @option opts [String] :market it | es | gr | lu
41
+ # @return [Object]
42
+ describe 'immobiliare_get_agency_profile test' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ # unit tests for immobiliare_get_an_agency_s_listings
49
+ # Get an agency's listings
50
+ # An agency's active listings.
51
+ # @param agency_id
52
+ # @param [Hash] opts the optional parameters
53
+ # @option opts [String] :market it | es | gr | lu
54
+ # @option opts [String] :contract sale | rent
55
+ # @option opts [Integer] :page
56
+ # @return [Object]
57
+ describe 'immobiliare_get_an_agency_s_listings test' do
58
+ it 'should work' do
59
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
60
+ end
61
+ end
62
+
63
+ # unit tests for immobiliare_get_listing_detail
64
+ # Get listing detail
65
+ # Full detail for a single listing.
66
+ # @param listing_id
67
+ # @param [Hash] opts the optional parameters
68
+ # @option opts [String] :market it | es | gr | lu
69
+ # @return [Object]
70
+ describe 'immobiliare_get_listing_detail test' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
73
+ end
74
+ end
75
+
76
+ # unit tests for immobiliare_immobiliare_scraper_health_check
77
+ # Immobiliare scraper health check
78
+ # Check health of the Immobiliare scraper service (accepts HEAD).
79
+ # @param [Hash] opts the optional parameters
80
+ # @return [Object]
81
+ describe 'immobiliare_immobiliare_scraper_health_check test' do
82
+ it 'should work' do
83
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
84
+ end
85
+ end
86
+
87
+ # unit tests for immobiliare_immobiliare_scraper_health_check_head
88
+ # Immobiliare scraper health check
89
+ # Check health of the Immobiliare scraper service (accepts HEAD).
90
+ # @param [Hash] opts the optional parameters
91
+ # @return [Object]
92
+ describe 'immobiliare_immobiliare_scraper_health_check_head test' do
93
+ it 'should work' do
94
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
95
+ end
96
+ end
97
+
98
+ # unit tests for immobiliare_list_filter_enums
99
+ # List filter enums
100
+ # @param [Hash] opts the optional parameters
101
+ # @return [Object]
102
+ describe 'immobiliare_list_filter_enums test' do
103
+ it 'should work' do
104
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
105
+ end
106
+ end
107
+
108
+ # unit tests for immobiliare_list_markets
109
+ # List markets
110
+ # @param [Hash] opts the optional parameters
111
+ # @return [Object]
112
+ describe 'immobiliare_list_markets test' do
113
+ it 'should work' do
114
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
115
+ end
116
+ end
117
+
118
+ # unit tests for immobiliare_location_autocomplete
119
+ # Location autocomplete
120
+ # Resolve a place name to region/province/city ids usable in search.
121
+ # @param query Free-text place name, e.g. 'Milano'
122
+ # @param [Hash] opts the optional parameters
123
+ # @option opts [String] :market it | es | gr | lu
124
+ # @return [Object]
125
+ describe 'immobiliare_location_autocomplete test' do
126
+ it 'should work' do
127
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
128
+ end
129
+ end
130
+
131
+ # unit tests for immobiliare_price_m_time_series
132
+ # Price €/m² time series
133
+ # Historical €/m² price statistics for an area.
134
+ # @param region_id Region id, e.g. 'lom'
135
+ # @param [Hash] opts the optional parameters
136
+ # @option opts [String] :market it | es | gr | lu
137
+ # @option opts [String] :province_id Province id, e.g. 'MI'
138
+ # @option opts [String] :city_id City id (idComune)
139
+ # @option opts [String] :contract sale | rent
140
+ # @return [Object]
141
+ describe 'immobiliare_price_m_time_series test' do
142
+ it 'should work' do
143
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
144
+ end
145
+ end
146
+
147
+ # unit tests for immobiliare_search_listings
148
+ # Search listings
149
+ # Search Immobiliare-group listings (scope by location + contract + filters).
150
+ # @param [Hash] opts the optional parameters
151
+ # @option opts [String] :market it | es | gr | lu
152
+ # @option opts [String] :location Free-text place (auto-resolved)
153
+ # @option opts [String] :region_id fkRegione (from /autocomplete)
154
+ # @option opts [String] :province_id idProvincia (from /autocomplete)
155
+ # @option opts [String] :city_id idComune (from /autocomplete)
156
+ # @option opts [String] :contract sale | rent
157
+ # @option opts [String] :category see /reference
158
+ # @option opts [Integer] :price_min
159
+ # @option opts [Integer] :price_max
160
+ # @option opts [Integer] :surface_min
161
+ # @option opts [Integer] :surface_max
162
+ # @option opts [Integer] :rooms_min
163
+ # @option opts [Integer] :rooms_max
164
+ # @option opts [Integer] :bathrooms_min
165
+ # @option opts [String] :sort see /reference
166
+ # @option opts [Integer] :page
167
+ # @return [Object]
168
+ describe 'immobiliare_search_listings test' do
169
+ it 'should work' do
170
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
171
+ end
172
+ end
173
+
174
+ end
@@ -0,0 +1,309 @@
1
+ =begin
2
+ #ScrapeBadger API
3
+
4
+ #Unified credit-based scraping API. https://docs.scrapebadger.com
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for ScrapeBadger::InstagramApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'InstagramApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = ScrapeBadger::InstagramApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of InstagramApi' do
30
+ it 'should create an instance of InstagramApi' do
31
+ expect(@api_instance).to be_instance_of(ScrapeBadger::InstagramApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for instagram_about_this_account
36
+ # About this account
37
+ # Country, join date and former usernames.
38
+ # @param username
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [Object]
41
+ describe 'instagram_about_this_account test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
+ end
45
+ end
46
+
47
+ # unit tests for instagram_blended_top_search
48
+ # Blended top search
49
+ # @param query
50
+ # @param [Hash] opts the optional parameters
51
+ # @return [Object]
52
+ describe 'instagram_blended_top_search test' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
55
+ end
56
+ end
57
+
58
+ # unit tests for instagram_get_active_stories
59
+ # Get active stories
60
+ # Active stories (account pool only).
61
+ # @param username
62
+ # @param [Hash] opts the optional parameters
63
+ # @return [Object]
64
+ describe 'instagram_get_active_stories test' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
67
+ end
68
+ end
69
+
70
+ # unit tests for instagram_get_audio_track
71
+ # Get audio track
72
+ # @param audio_id
73
+ # @param [Hash] opts the optional parameters
74
+ # @return [Object]
75
+ describe 'instagram_get_audio_track test' do
76
+ it 'should work' do
77
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
78
+ end
79
+ end
80
+
81
+ # unit tests for instagram_get_comments
82
+ # Get comments
83
+ # @param code
84
+ # @param [Hash] opts the optional parameters
85
+ # @option opts [Integer] :amount
86
+ # @option opts [String] :cursor
87
+ # @return [Object]
88
+ describe 'instagram_get_comments test' do
89
+ it 'should work' do
90
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
91
+ end
92
+ end
93
+
94
+ # unit tests for instagram_get_followers
95
+ # Get followers
96
+ # Followers list, paginated (account pool).
97
+ # @param username
98
+ # @param [Hash] opts the optional parameters
99
+ # @option opts [Integer] :amount
100
+ # @option opts [String] :cursor
101
+ # @option opts [String] :order date_followed_latest | date_followed_earliest
102
+ # @return [Object]
103
+ describe 'instagram_get_followers test' do
104
+ it 'should work' do
105
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
106
+ end
107
+ end
108
+
109
+ # unit tests for instagram_get_following
110
+ # Get following
111
+ # @param username
112
+ # @param [Hash] opts the optional parameters
113
+ # @option opts [Integer] :amount
114
+ # @option opts [String] :cursor
115
+ # @return [Object]
116
+ describe 'instagram_get_following test' do
117
+ it 'should work' do
118
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
119
+ end
120
+ end
121
+
122
+ # unit tests for instagram_get_hashtag_info
123
+ # Get hashtag info
124
+ # @param tag
125
+ # @param [Hash] opts the optional parameters
126
+ # @return [Object]
127
+ describe 'instagram_get_hashtag_info test' do
128
+ it 'should work' do
129
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
130
+ end
131
+ end
132
+
133
+ # unit tests for instagram_get_highlights
134
+ # Get highlights
135
+ # @param username
136
+ # @param [Hash] opts the optional parameters
137
+ # @return [Object]
138
+ describe 'instagram_get_highlights test' do
139
+ it 'should work' do
140
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
141
+ end
142
+ end
143
+
144
+ # unit tests for instagram_get_likers
145
+ # Get likers
146
+ # @param code
147
+ # @param [Hash] opts the optional parameters
148
+ # @return [Object]
149
+ describe 'instagram_get_likers test' do
150
+ it 'should work' do
151
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
152
+ end
153
+ end
154
+
155
+ # unit tests for instagram_get_location
156
+ # Get location
157
+ # @param location_pk
158
+ # @param [Hash] opts the optional parameters
159
+ # @return [Object]
160
+ describe 'instagram_get_location test' do
161
+ it 'should work' do
162
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
163
+ end
164
+ end
165
+
166
+ # unit tests for instagram_get_post_reel_detail
167
+ # Get post/reel detail
168
+ # Single post or reel: caption, media, counts, tags, location, carousel.
169
+ # @param code
170
+ # @param [Hash] opts the optional parameters
171
+ # @return [Object]
172
+ describe 'instagram_get_post_reel_detail test' do
173
+ it 'should work' do
174
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
175
+ end
176
+ end
177
+
178
+ # unit tests for instagram_get_profile
179
+ # Get profile
180
+ # Full public profile: bio, counts, verification, business contact, links.
181
+ # @param username
182
+ # @param [Hash] opts the optional parameters
183
+ # @return [Object]
184
+ describe 'instagram_get_profile test' do
185
+ it 'should work' do
186
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
187
+ end
188
+ end
189
+
190
+ # unit tests for instagram_get_tagged_posts
191
+ # Get tagged posts
192
+ # @param username
193
+ # @param [Hash] opts the optional parameters
194
+ # @option opts [Integer] :amount
195
+ # @option opts [String] :cursor
196
+ # @return [Object]
197
+ describe 'instagram_get_tagged_posts test' do
198
+ it 'should work' do
199
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
200
+ end
201
+ end
202
+
203
+ # unit tests for instagram_get_user_posts
204
+ # Get user posts
205
+ # Timeline posts, paginated.
206
+ # @param username
207
+ # @param [Hash] opts the optional parameters
208
+ # @option opts [Integer] :amount
209
+ # @option opts [String] :cursor
210
+ # @return [Object]
211
+ describe 'instagram_get_user_posts test' do
212
+ it 'should work' do
213
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
214
+ end
215
+ end
216
+
217
+ # unit tests for instagram_get_user_reels
218
+ # Get user reels
219
+ # @param username
220
+ # @param [Hash] opts the optional parameters
221
+ # @option opts [Integer] :amount
222
+ # @option opts [String] :cursor
223
+ # @return [Object]
224
+ describe 'instagram_get_user_reels test' do
225
+ it 'should work' do
226
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
227
+ end
228
+ end
229
+
230
+ # unit tests for instagram_health
231
+ # Health
232
+ # @param [Hash] opts the optional parameters
233
+ # @return [Object]
234
+ describe 'instagram_health test' do
235
+ it 'should work' do
236
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
237
+ end
238
+ end
239
+
240
+ # unit tests for instagram_health_head
241
+ # Health
242
+ # @param [Hash] opts the optional parameters
243
+ # @return [Object]
244
+ describe 'instagram_health_head test' do
245
+ it 'should work' do
246
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
247
+ end
248
+ end
249
+
250
+ # unit tests for instagram_recent_hashtag_posts
251
+ # Recent hashtag posts
252
+ # @param tag
253
+ # @param [Hash] opts the optional parameters
254
+ # @option opts [Integer] :amount
255
+ # @option opts [String] :cursor
256
+ # @return [Object]
257
+ describe 'instagram_recent_hashtag_posts test' do
258
+ it 'should work' do
259
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
260
+ end
261
+ end
262
+
263
+ # unit tests for instagram_related_profiles
264
+ # Related profiles
265
+ # @param username
266
+ # @param [Hash] opts the optional parameters
267
+ # @return [Object]
268
+ describe 'instagram_related_profiles test' do
269
+ it 'should work' do
270
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
271
+ end
272
+ end
273
+
274
+ # unit tests for instagram_search_hashtags
275
+ # Search hashtags
276
+ # @param query
277
+ # @param [Hash] opts the optional parameters
278
+ # @return [Object]
279
+ describe 'instagram_search_hashtags test' do
280
+ it 'should work' do
281
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
282
+ end
283
+ end
284
+
285
+ # unit tests for instagram_search_users
286
+ # Search users
287
+ # @param query
288
+ # @param [Hash] opts the optional parameters
289
+ # @return [Object]
290
+ describe 'instagram_search_users test' do
291
+ it 'should work' do
292
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
293
+ end
294
+ end
295
+
296
+ # unit tests for instagram_top_hashtag_posts
297
+ # Top hashtag posts
298
+ # @param tag
299
+ # @param [Hash] opts the optional parameters
300
+ # @option opts [Integer] :amount
301
+ # @option opts [String] :cursor
302
+ # @return [Object]
303
+ describe 'instagram_top_hashtag_posts test' do
304
+ it 'should work' do
305
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
306
+ end
307
+ end
308
+
309
+ end