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,649 @@
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::GoogleApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'GoogleApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = ScrapeBadger::GoogleApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of GoogleApi' do
30
+ it 'should create an instance of GoogleApi' do
31
+ expect(@api_instance).to be_instance_of(ScrapeBadger::GoogleApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for google_get_author_citations_per_year_chart
36
+ # Get author citations-per-year chart
37
+ # Return the citations-per-year chart for a Google Scholar author.
38
+ # @param author_id Scholar user ID
39
+ # @param [Hash] opts the optional parameters
40
+ # @option opts [String] :hl Language code
41
+ # @return [Object]
42
+ describe 'google_get_author_citations_per_year_chart 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 google_get_business_posts
49
+ # Get business posts
50
+ # @param data_id Maps data ID
51
+ # @param [Hash] opts the optional parameters
52
+ # @option opts [String] :next_page_token
53
+ # @return [Object]
54
+ describe 'google_get_business_posts test' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
+ end
58
+ end
59
+
60
+ # unit tests for google_get_citation_formats_for_a_scholar_paper
61
+ # Get citation formats for a Scholar paper
62
+ # Return MLA, APA, Chicago, Harvard, and Vancouver citation formats for a paper.
63
+ # @param q Cluster ID from a search result
64
+ # @param [Hash] opts the optional parameters
65
+ # @option opts [String] :hl Language code
66
+ # @return [Object]
67
+ describe 'google_get_citation_formats_for_a_scholar_paper test' do
68
+ it 'should work' do
69
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
70
+ end
71
+ end
72
+
73
+ # unit tests for google_get_place_details
74
+ # Get place details
75
+ # @param [Hash] opts the optional parameters
76
+ # @option opts [String] :place_id
77
+ # @option opts [String] :data_id
78
+ # @option opts [String] :hl
79
+ # @option opts [String] :gl
80
+ # @return [Object]
81
+ describe 'google_get_place_details 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 google_get_place_photos
88
+ # Get place photos
89
+ # @param data_id Maps data ID
90
+ # @param [Hash] opts the optional parameters
91
+ # @option opts [String] :hl
92
+ # @option opts [String] :next_page_token
93
+ # @return [Object]
94
+ describe 'google_get_place_photos test' do
95
+ it 'should work' do
96
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
97
+ end
98
+ end
99
+
100
+ # unit tests for google_get_place_reviews
101
+ # Get place reviews
102
+ # @param data_id Maps data ID
103
+ # @param [Hash] opts the optional parameters
104
+ # @option opts [String] :sort_by
105
+ # @option opts [String] :hl
106
+ # @option opts [String] :next_page_token
107
+ # @option opts [Integer] :results
108
+ # @return [Object]
109
+ describe 'google_get_place_reviews test' do
110
+ it 'should work' do
111
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
112
+ end
113
+ end
114
+
115
+ # unit tests for google_get_scholar_author_profile
116
+ # Get Scholar author profile
117
+ # Get detailed Google Scholar author profile including articles, stats, co-authors.
118
+ # @param author_id Scholar user ID (the `user` query parameter)
119
+ # @param [Hash] opts the optional parameters
120
+ # @option opts [String] :hl Language code
121
+ # @option opts [Integer] :cstart Articles pagination offset
122
+ # @option opts [Integer] :pagesize Articles per page
123
+ # @return [Object]
124
+ describe 'google_get_scholar_author_profile test' do
125
+ it 'should work' do
126
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
127
+ end
128
+ end
129
+
130
+ # unit tests for google_get_stock_index_quote
131
+ # Get stock/index quote
132
+ # Get a stock or index quote from Google Finance.
133
+ # @param q Ticker and exchange (e.g. \"AAPL:NASDAQ\", \"BTC-USD\")
134
+ # @param [Hash] opts the optional parameters
135
+ # @option opts [String] :hl Language code
136
+ # @return [Object]
137
+ describe 'google_get_stock_index_quote test' do
138
+ it 'should work' do
139
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
140
+ end
141
+ end
142
+
143
+ # unit tests for google_google_ai_mode_search
144
+ # Google AI Mode search
145
+ # Get AI-generated search results from Google AI Mode. Returns the structured `text_blocks` (paragraphs, headings, comparison `table` blocks and lists), a flat `references` source list, a compact `markdown` rendering of the whole answer and — unless `include_html` is false — the raw `answer_html` body.
146
+ # @param q Search query for AI-generated response
147
+ # @param [Hash] opts the optional parameters
148
+ # @option opts [String] :gl Country code
149
+ # @option opts [String] :hl Language code
150
+ # @option opts [Boolean] :include_html Include the raw `answer_html` (full answer body HTML) in the response for maximum parity. It can be 100s of KB — set false when you only need the structured `text_blocks` + `markdown`.
151
+ # @return [Object]
152
+ describe 'google_google_ai_mode_search test' do
153
+ it 'should work' do
154
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
155
+ end
156
+ end
157
+
158
+ # unit tests for google_google_ai_overview_inline_serp_block
159
+ # Google AI Overview (inline SERP block)
160
+ # Get the AI Overview block Google renders inline at the top of a SERP. Deferred overviews (where Google lazy-loads the block via a follow-up ``page_token``) are chased automatically.
161
+ # @param q Search query — same shape as a Google Search query
162
+ # @param [Hash] opts the optional parameters
163
+ # @option opts [String] :gl Country code
164
+ # @option opts [String] :hl Language code
165
+ # @return [Object]
166
+ describe 'google_google_ai_overview_inline_serp_block test' do
167
+ it 'should work' do
168
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
169
+ end
170
+ end
171
+
172
+ # unit tests for google_google_flights_calendar_cheapest_fare_per_date
173
+ # Google Flights calendar — cheapest fare per date
174
+ # Price a whole range of dates in one call — up to 200 dates per request. Google Flights' own price graph / date grid: the cheapest fare per departure date instead of one search per date. Prices match `/flights/search` exactly.
175
+ # @param departure_id Departure airport IATA code or location ID
176
+ # @param arrival_id Arrival airport IATA code or location ID
177
+ # @param outbound_date_from First outbound date to price (YYYY-MM-DD)
178
+ # @param outbound_date_to Last outbound date to price (YYYY-MM-DD). At most 200 days from outbound_date_from, or 14 in date-grid mode.
179
+ # @param [Hash] opts the optional parameters
180
+ # @option opts [String] :trip_type one_way | round_trip
181
+ # @option opts [Integer] :trip_length_days Round-trip stay length in nights (price-graph mode). Defaults to 7.
182
+ # @option opts [String] :return_date_from Date-grid mode: first return date. With return_date_to, returns the full outbound x return matrix (each range at most 14 days). Round-trip only.
183
+ # @option opts [String] :return_date_to Date-grid mode: last return date
184
+ # @option opts [Integer] :adults
185
+ # @option opts [Integer] :children
186
+ # @option opts [Integer] :infants_in_seat
187
+ # @option opts [Integer] :infants_on_lap
188
+ # @option opts [String] :travel_class
189
+ # @option opts [String] :currency ISO-4217 currency
190
+ # @option opts [String] :gl
191
+ # @option opts [String] :hl
192
+ # @return [Object]
193
+ describe 'google_google_flights_calendar_cheapest_fare_per_date test' do
194
+ it 'should work' do
195
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
196
+ end
197
+ end
198
+
199
+ # unit tests for google_google_flights_search
200
+ # Google Flights search
201
+ # Search Google Flights for available itineraries.
202
+ # @param departure_id Departure airport IATA code or location ID
203
+ # @param arrival_id Arrival airport IATA code or location ID
204
+ # @param outbound_date Outbound date (YYYY-MM-DD)
205
+ # @param [Hash] opts the optional parameters
206
+ # @option opts [String] :return_date Return date (round-trip only)
207
+ # @option opts [String] :trip_type round_trip | one_way | multi_city
208
+ # @option opts [Integer] :adults
209
+ # @option opts [Integer] :children
210
+ # @option opts [Integer] :infants_in_seat
211
+ # @option opts [Integer] :infants_on_lap
212
+ # @option opts [String] :travel_class
213
+ # @option opts [String] :currency ISO-4217 currency
214
+ # @option opts [String] :gl
215
+ # @option opts [String] :hl
216
+ # @option opts [String] :stops
217
+ # @option opts [Integer] :max_price
218
+ # @option opts [String] :departure_token A round-trip offer's departure_token; returns the return-leg flights for that selected outbound (round-trip only).
219
+ # @return [Object]
220
+ describe 'google_google_flights_search test' do
221
+ it 'should work' do
222
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
223
+ end
224
+ end
225
+
226
+ # unit tests for google_google_lens_visual_search
227
+ # Google Lens visual search
228
+ # Google Lens visual search. Response carries ``lens_results`` (Scrapingdog parity alias) with ``title`` / ``source`` / ``source_favicon`` / ``thumbnail`` / ``original_thumbnail`` / ``rating`` / ``reviews`` / ``in_stock``, plus ``price`` (``{value, currency, extracted}``) and the raw ``tag`` chip it is parsed from, on shoppable matches. ``related_searches`` chips come alongside. Legacy ``results`` alias kept for backwards compat.
229
+ # @param url Public URL of the image to search visually
230
+ # @param [Hash] opts the optional parameters
231
+ # @option opts [String] :query Optional text refinement (e.g. 'pizza')
232
+ # @option opts [String] :country ISO country code (alias for gl)
233
+ # @option opts [String] :language Language code (alias for hl)
234
+ # @option opts [String] :gl Country code
235
+ # @option opts [String] :hl Language code
236
+ # @option opts [Boolean] :product Bias towards shoppable product matches
237
+ # @option opts [Boolean] :visual_matches Include the visual-matches carousel
238
+ # @option opts [Boolean] :exact_matches Restrict to exact-match results
239
+ # @return [Object]
240
+ describe 'google_google_lens_visual_search test' do
241
+ it 'should work' do
242
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
243
+ end
244
+ end
245
+
246
+ # unit tests for google_google_scraper_health_check
247
+ # Google scraper health check
248
+ # Check health of the Google scraper service. Accepts ``HEAD`` so external uptime checkers (UptimeRobot uses HEAD by default for HTTP monitors) don't get a 405 Method Not Allowed.
249
+ # @param [Hash] opts the optional parameters
250
+ # @return [Object]
251
+ describe 'google_google_scraper_health_check test' do
252
+ it 'should work' do
253
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
254
+ end
255
+ end
256
+
257
+ # unit tests for google_google_scraper_health_check_head
258
+ # Google scraper health check
259
+ # Check health of the Google scraper service. Accepts ``HEAD`` so external uptime checkers (UptimeRobot uses HEAD by default for HTTP monitors) don't get a 405 Method Not Allowed.
260
+ # @param [Hash] opts the optional parameters
261
+ # @return [Object]
262
+ describe 'google_google_scraper_health_check_head test' do
263
+ it 'should work' do
264
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
265
+ end
266
+ end
267
+
268
+ # unit tests for google_google_search_suggestions
269
+ # Google search suggestions
270
+ # Get Google search autocomplete suggestions.
271
+ # @param q Search query to get suggestions for
272
+ # @param [Hash] opts the optional parameters
273
+ # @option opts [String] :hl Language code
274
+ # @option opts [String] :gl Country code
275
+ # @return [Object]
276
+ describe 'google_google_search_suggestions test' do
277
+ it 'should work' do
278
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
279
+ end
280
+ end
281
+
282
+ # unit tests for google_google_shorts_search
283
+ # Google Shorts search
284
+ # Return short-form video results (YouTube Shorts, TikToks) from Google Shorts mode.
285
+ # @param q Search query
286
+ # @param [Hash] opts the optional parameters
287
+ # @option opts [String] :gl Country code
288
+ # @option opts [String] :hl Language code
289
+ # @option opts [String] :domain Google domain
290
+ # @option opts [Integer] :num Results per page
291
+ # @option opts [Integer] :start Pagination offset
292
+ # @return [Object]
293
+ describe 'google_google_shorts_search test' do
294
+ it 'should work' do
295
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
296
+ end
297
+ end
298
+
299
+ # unit tests for google_google_web_search
300
+ # Google web search
301
+ # Search Google and get structured results (organic, ads, KG, AI overview, PAA).
302
+ # @param q Search query (supports Google operators)
303
+ # @param [Hash] opts the optional parameters
304
+ # @option opts [String] :gl Country code
305
+ # @option opts [String] :hl Language code
306
+ # @option opts [Integer] :num
307
+ # @option opts [Integer] :start Page offset (0, 10, 20...)
308
+ # @option opts [String] :domain Google domain
309
+ # @option opts [String] :device Device target: desktop, mobile, iphone, android, tablet
310
+ # @option opts [String] :user_agent Custom User-Agent (overrides device)
311
+ # @option opts [String] :output Response format: json (parsed) or html (raw SERP)
312
+ # @option opts [String] :location City-level geo-targeting
313
+ # @option opts [String] :lr Language restrict (e.g. lang_en)
314
+ # @option opts [String] :tbs Time filter (e.g. qdr:d)
315
+ # @option opts [String] :safe
316
+ # @option opts [String] :uule UULE encoded location
317
+ # @option opts [Integer] :filter Show omitted results
318
+ # @option opts [Integer] :nfpr Disable auto-correction
319
+ # @option opts [String] :cr Country restrict
320
+ # @option opts [String] :ludocid Google Place CID
321
+ # @option opts [String] :lsig Knowledge Graph map ID
322
+ # @option opts [String] :kgmid Knowledge Graph entity ID
323
+ # @option opts [String] :si Cached search params
324
+ # @option opts [String] :ibp Layout control
325
+ # @option opts [String] :uds Google filter string
326
+ # @option opts [Boolean] :ai_overview Chase deferred AI Overview page_token with a follow-up fetch and merge the result. Adds ~1s and 1 credit when the SERP defers the overview.
327
+ # @return [Object]
328
+ describe 'google_google_web_search test' do
329
+ it 'should work' do
330
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
331
+ end
332
+ end
333
+
334
+ # unit tests for google_hotel_details
335
+ # Hotel details
336
+ # @param property_token Property token
337
+ # @param check_in YYYY-MM-DD
338
+ # @param check_out YYYY-MM-DD
339
+ # @param [Hash] opts the optional parameters
340
+ # @return [Object]
341
+ describe 'google_hotel_details test' do
342
+ it 'should work' do
343
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
344
+ end
345
+ end
346
+
347
+ # unit tests for google_immersive_product_detail
348
+ # Immersive product detail
349
+ # Get deep product details from Google's immersive product page.
350
+ # @param product_id Google Shopping ``gpcid`` — the product_id returned on ``/shopping/search`` tiles. Scrapingdog-compatible.
351
+ # @param q Original search query that surfaced the product. Required by Google's ``/async/oapv`` RPC.
352
+ # @param [Hash] opts the optional parameters
353
+ # @option opts [String] :gl Country code (ISO 3166 alpha-2)
354
+ # @option opts [String] :hl Language code
355
+ # @option opts [String] :catalog_id Optional ``catalogid`` from the Shopping tile (improves parity).
356
+ # @option opts [String] :image_docid Optional ``imageDocid`` for higher-fidelity images.
357
+ # @option opts [String] :headline_offer_docid Optional ``headlineOfferDocid`` to pin the featured seller.
358
+ # @option opts [String] :mid Optional Google Knowledge-Graph ``mid``.
359
+ # @option opts [Boolean] :include_offers When true, fetch the full merchant-offer list via a secondary RPC (``/async/piu_ps``). Adds ~1 s.
360
+ # @option opts [Boolean] :include_variants When true, fetch size/colour variants via a secondary RPC (``/async/toy_v``). Adds ~1 s.
361
+ # @return [Object]
362
+ describe 'google_immersive_product_detail test' do
363
+ it 'should work' do
364
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
365
+ end
366
+ end
367
+
368
+ # unit tests for google_interest_by_region
369
+ # Interest by region
370
+ # @param q Search term
371
+ # @param [Hash] opts the optional parameters
372
+ # @option opts [String] :geo
373
+ # @return [Object]
374
+ describe 'google_interest_by_region test' do
375
+ it 'should work' do
376
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
377
+ end
378
+ end
379
+
380
+ # unit tests for google_interest_over_time
381
+ # Interest over time
382
+ # @param q Search terms
383
+ # @param [Hash] opts the optional parameters
384
+ # @option opts [String] :geo
385
+ # @option opts [String] :date
386
+ # @return [Object]
387
+ describe 'google_interest_over_time test' do
388
+ it 'should work' do
389
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
390
+ end
391
+ end
392
+
393
+ # unit tests for google_multi_seller_offers_by_barcode
394
+ # Multi-seller offers by barcode
395
+ # Resolve a barcode to a product via Google web search, then return its Google Shopping seller offers (source + price per merchant).
396
+ # @param barcode Product barcode — GTIN-8 / UPC-A / EAN-13 / GTIN-14
397
+ # @param [Hash] opts the optional parameters
398
+ # @option opts [String] :gl Country code (ISO 3166 alpha-2)
399
+ # @option opts [String] :hl Language code
400
+ # @return [Object]
401
+ describe 'google_multi_seller_offers_by_barcode test' do
402
+ it 'should work' do
403
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
404
+ end
405
+ end
406
+
407
+ # unit tests for google_news_by_topic
408
+ # News by topic
409
+ # @param topic Topic name
410
+ # @param [Hash] opts the optional parameters
411
+ # @option opts [String] :hl
412
+ # @option opts [String] :gl
413
+ # @option opts [Integer] :max_results
414
+ # @return [Object]
415
+ describe 'google_news_by_topic test' do
416
+ it 'should work' do
417
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
418
+ end
419
+ end
420
+
421
+ # unit tests for google_patent_details
422
+ # Patent details
423
+ # @param patent_id Patent number
424
+ # @param [Hash] opts the optional parameters
425
+ # @return [Object]
426
+ describe 'google_patent_details test' do
427
+ it 'should work' do
428
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
429
+ end
430
+ end
431
+
432
+ # unit tests for google_related_topics_queries
433
+ # Related topics & queries
434
+ # @param q Search term
435
+ # @param [Hash] opts the optional parameters
436
+ # @option opts [String] :geo
437
+ # @return [Object]
438
+ describe 'google_related_topics_queries test' do
439
+ it 'should work' do
440
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
441
+ end
442
+ end
443
+
444
+ # unit tests for google_search_google_images
445
+ # Search Google Images
446
+ # Search Google Images for visual content.
447
+ # @param q Image search query
448
+ # @param [Hash] opts the optional parameters
449
+ # @option opts [String] :gl Country code
450
+ # @option opts [String] :hl Language code
451
+ # @option opts [String] :tbs Time/filter string (e.g. qdr:d)
452
+ # @option opts [String] :imgsz Image size: l, m, i, xXl
453
+ # @option opts [String] :imgcolor Image color filter
454
+ # @option opts [String] :imgtype Image type: face, photo, clipart
455
+ # @option opts [String] :safe Safe search
456
+ # @option opts [Integer] :page Page number
457
+ # @return [Object]
458
+ describe 'google_search_google_images test' do
459
+ it 'should work' do
460
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
461
+ end
462
+ end
463
+
464
+ # unit tests for google_search_google_jobs
465
+ # Search Google Jobs
466
+ # @param q Job title, keywords
467
+ # @param [Hash] opts the optional parameters
468
+ # @option opts [String] :location
469
+ # @option opts [String] :gl
470
+ # @option opts [String] :job_type
471
+ # @option opts [String] :date_posted
472
+ # @return [Object]
473
+ describe 'google_search_google_jobs test' do
474
+ it 'should work' do
475
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
476
+ end
477
+ end
478
+
479
+ # unit tests for google_search_google_maps_places
480
+ # Search Google Maps places
481
+ # @param q Search query
482
+ # @param [Hash] opts the optional parameters
483
+ # @option opts [String] :ll
484
+ # @option opts [String] :gl
485
+ # @option opts [String] :hl
486
+ # @option opts [Integer] :start
487
+ # @return [Object]
488
+ describe 'google_search_google_maps_places test' do
489
+ it 'should work' do
490
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
491
+ end
492
+ end
493
+
494
+ # unit tests for google_search_google_news
495
+ # Search Google News
496
+ # @param q Search query
497
+ # @param [Hash] opts the optional parameters
498
+ # @option opts [String] :hl
499
+ # @option opts [String] :gl
500
+ # @option opts [Integer] :max_results
501
+ # @return [Object]
502
+ describe 'google_search_google_news test' do
503
+ it 'should work' do
504
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
505
+ end
506
+ end
507
+
508
+ # unit tests for google_search_google_scholar
509
+ # Search Google Scholar
510
+ # Search Google Scholar for scholarly articles. Each result ships with its doc ``id``, ``type`` badge ([BOOK]/[PDF]/...), wrapped ``inline_links`` (versions + cited_by + related), PDF ``resources`` list, and structured ``authors`` (with ``author_id`` for profiled authors — pipe straight into ``/scholar/author``). Envelope carries ``scholar_results`` alias (Scrapingdog parity), ``related_searches``, and matched ``profiles`` cards.
511
+ # @param q Search query for scholarly articles
512
+ # @param [Hash] opts the optional parameters
513
+ # @option opts [String] :hl Language code
514
+ # @option opts [Integer] :as_ylo Year from (e.g. 2020)
515
+ # @option opts [Integer] :as_yhi Year to (e.g. 2024)
516
+ # @option opts [String] :as_sdt Search type: 0=exclude patents, 7=include
517
+ # @option opts [Integer] :page Page number (0-based)
518
+ # @option opts [Integer] :num Results per page (max 20)
519
+ # @return [Object]
520
+ describe 'google_search_google_scholar test' do
521
+ it 'should work' do
522
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
523
+ end
524
+ end
525
+
526
+ # unit tests for google_search_google_videos
527
+ # Search Google Videos
528
+ # Search Google for video results.
529
+ # @param q Video search query
530
+ # @param [Hash] opts the optional parameters
531
+ # @option opts [String] :gl Country code
532
+ # @option opts [String] :hl Language code
533
+ # @option opts [String] :tbs Time filter (e.g. qdr:d)
534
+ # @option opts [String] :safe Safe search
535
+ # @option opts [Integer] :page Page number
536
+ # @return [Object]
537
+ describe 'google_search_google_videos test' do
538
+ it 'should work' do
539
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
540
+ end
541
+ end
542
+
543
+ # unit tests for google_search_hotels
544
+ # Search hotels
545
+ # @param q Location or hotel name
546
+ # @param check_in YYYY-MM-DD
547
+ # @param check_out YYYY-MM-DD
548
+ # @param [Hash] opts the optional parameters
549
+ # @option opts [Integer] :adults
550
+ # @option opts [String] :currency
551
+ # @option opts [String] :gl
552
+ # @return [Object]
553
+ describe 'google_search_hotels test' do
554
+ it 'should work' do
555
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
556
+ end
557
+ end
558
+
559
+ # unit tests for google_search_patents
560
+ # Search patents
561
+ # @param q Search query (Boolean logic supported)
562
+ # @param [Hash] opts the optional parameters
563
+ # @option opts [Integer] :page
564
+ # @option opts [Integer] :num
565
+ # @option opts [String] :sort 'new' or 'old'
566
+ # @option opts [String] :inventor Inventor name(s)
567
+ # @option opts [String] :assignee Assignee / company name(s)
568
+ # @option opts [String] :country Country code (US, EP, WO, …)
569
+ # @option opts [String] :language Patent language: ENGLISH, GERMAN, CHINESE, FRENCH, JAPANESE, KOREAN, SPANISH
570
+ # @option opts [String] :status GRANT or APPLICATION
571
+ # @option opts [String] :patent_type PATENT or DESIGN
572
+ # @option opts [String] :before Before date YYYYMMDD
573
+ # @option opts [String] :after After date YYYYMMDD
574
+ # @return [Object]
575
+ describe 'google_search_patents test' do
576
+ it 'should work' do
577
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
578
+ end
579
+ end
580
+
581
+ # unit tests for google_search_products
582
+ # Search products
583
+ # @param q Product search query
584
+ # @param [Hash] opts the optional parameters
585
+ # @option opts [String] :gl
586
+ # @option opts [Integer] :min_price
587
+ # @option opts [Integer] :max_price
588
+ # @option opts [String] :sort_by
589
+ # @return [Object]
590
+ describe 'google_search_products test' do
591
+ it 'should work' do
592
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
593
+ end
594
+ end
595
+
596
+ # unit tests for google_search_scholar_author_profiles
597
+ # Search Scholar author profiles
598
+ # Search Google Scholar for author profiles by name.
599
+ # @param mauthors Author name query (e.g. 'Geoffrey Hinton')
600
+ # @param [Hash] opts the optional parameters
601
+ # @option opts [String] :hl Language code
602
+ # @option opts [String] :after_author Pagination token (next page)
603
+ # @option opts [String] :before_author Pagination token (previous page)
604
+ # @return [Object]
605
+ describe 'google_search_scholar_author_profiles test' do
606
+ it 'should work' do
607
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
608
+ end
609
+ end
610
+
611
+ # unit tests for google_trending_news
612
+ # Trending news
613
+ # @param [Hash] opts the optional parameters
614
+ # @option opts [String] :hl
615
+ # @option opts [String] :gl
616
+ # @option opts [Integer] :max_results
617
+ # @return [Object]
618
+ describe 'google_trending_news test' do
619
+ it 'should work' do
620
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
621
+ end
622
+ end
623
+
624
+ # unit tests for google_trending_searches
625
+ # Trending searches
626
+ # @param [Hash] opts the optional parameters
627
+ # @option opts [String] :geo
628
+ # @return [Object]
629
+ describe 'google_trending_searches test' do
630
+ it 'should work' do
631
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
632
+ end
633
+ end
634
+
635
+ # unit tests for google_trends_topic_autocomplete
636
+ # Trends topic autocomplete
637
+ # Return categorized Knowledge Graph topic entities (mid, type) for a query.
638
+ # @param q Query prefix to resolve into Trends topics
639
+ # @param [Hash] opts the optional parameters
640
+ # @option opts [String] :hl Language code
641
+ # @option opts [String] :tz Timezone offset in minutes
642
+ # @return [Object]
643
+ describe 'google_trends_topic_autocomplete test' do
644
+ it 'should work' do
645
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
646
+ end
647
+ end
648
+
649
+ end