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.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/LICENSE +21 -0
- data/README.md +548 -0
- data/Rakefile +10 -0
- data/docs/AccountApi.md +76 -0
- data/docs/AccountInfo.md +28 -0
- data/docs/AmazonApi.md +1244 -0
- data/docs/ApartmentsApi.md +373 -0
- data/docs/BaiduApi.md +447 -0
- data/docs/BillingLogListResponse.md +24 -0
- data/docs/BillingLogResponse.md +32 -0
- data/docs/BingApi.md +610 -0
- data/docs/ChatGPTApi.md +521 -0
- data/docs/DepopApi.md +542 -0
- data/docs/DuckDuckGoApi.md +700 -0
- data/docs/EBayApi.md +1019 -0
- data/docs/FacebookApi.md +1671 -0
- data/docs/FilterRuleCreate.md +28 -0
- data/docs/FilterRuleDeliveryLogListResponse.md +24 -0
- data/docs/FilterRuleDeliveryLogResponse.md +44 -0
- data/docs/FilterRuleListResponse.md +24 -0
- data/docs/FilterRuleResponse.md +40 -0
- data/docs/FilterRuleUpdate.md +30 -0
- data/docs/FilterRuleValidateRequest.md +18 -0
- data/docs/FilterRuleValidateResponse.md +22 -0
- data/docs/GoogleApi.md +3175 -0
- data/docs/HTTPValidationError.md +18 -0
- data/docs/IdealistaApi.md +822 -0
- data/docs/ImmobiliareApi.md +773 -0
- data/docs/InstagramApi.md +1673 -0
- data/docs/LeboncoinApi.md +884 -0
- data/docs/LinkedInApi.md +925 -0
- data/docs/LoopNetApi.md +529 -0
- data/docs/PortalApiRoutersV1TwitterFilterRulesFilterRulePricingResponse.md +20 -0
- data/docs/RealtorApi.md +474 -0
- data/docs/RedditApi.md +1677 -0
- data/docs/RedfinApi.md +616 -0
- data/docs/StreamMonitorCreate.md +26 -0
- data/docs/StreamMonitorListResponse.md +24 -0
- data/docs/StreamMonitorResponse.md +42 -0
- data/docs/StreamMonitorUpdate.md +28 -0
- data/docs/SubscriptionInfo.md +40 -0
- data/docs/TikTokApi.md +2104 -0
- data/docs/TweetDeliveryLogListResponse.md +24 -0
- data/docs/TweetDeliveryLogResponse.md +44 -0
- data/docs/TwitterApi.md +4091 -0
- data/docs/ValidationError.md +22 -0
- data/docs/ValidationErrorLocInner.md +15 -0
- data/docs/VintedApi.md +766 -0
- data/docs/WalmartApi.md +904 -0
- data/docs/WebApi.md +634 -0
- data/docs/WebhookCreate.md +22 -0
- data/docs/WebhookListItem.md +28 -0
- data/docs/WebhookListResponse.md +20 -0
- data/docs/WebhookResponse.md +26 -0
- data/docs/WebhookTestRequest.md +18 -0
- data/docs/WebhookTestResponse.md +24 -0
- data/docs/YahooApi.md +602 -0
- data/docs/YandexApi.md +450 -0
- data/docs/YouTubeApi.md +2872 -0
- data/docs/ZillowApi.md +622 -0
- data/git_push.sh +57 -0
- data/lib/scrapebadger/api/account_api.rb +79 -0
- data/lib/scrapebadger/api/amazon_api.rb +1165 -0
- data/lib/scrapebadger/api/apartments_api.rb +377 -0
- data/lib/scrapebadger/api/baidu_api.rb +436 -0
- data/lib/scrapebadger/api/bing_api.rb +580 -0
- data/lib/scrapebadger/api/chat_gpt_api.rb +466 -0
- data/lib/scrapebadger/api/depop_api.rb +518 -0
- data/lib/scrapebadger/api/duck_duck_go_api.rb +675 -0
- data/lib/scrapebadger/api/e_bay_api.rb +1029 -0
- data/lib/scrapebadger/api/facebook_api.rb +1492 -0
- data/lib/scrapebadger/api/google_api.rb +3191 -0
- data/lib/scrapebadger/api/idealista_api.rb +864 -0
- data/lib/scrapebadger/api/immobiliare_api.rb +734 -0
- data/lib/scrapebadger/api/instagram_api.rb +1555 -0
- data/lib/scrapebadger/api/leboncoin_api.rb +818 -0
- data/lib/scrapebadger/api/linked_in_api.rb +832 -0
- data/lib/scrapebadger/api/loop_net_api.rb +503 -0
- data/lib/scrapebadger/api/realtor_api.rb +481 -0
- data/lib/scrapebadger/api/reddit_api.rb +1601 -0
- data/lib/scrapebadger/api/redfin_api.rb +625 -0
- data/lib/scrapebadger/api/tik_tok_api.rb +2029 -0
- data/lib/scrapebadger/api/twitter_api.rb +3696 -0
- data/lib/scrapebadger/api/vinted_api.rb +705 -0
- data/lib/scrapebadger/api/walmart_api.rb +876 -0
- data/lib/scrapebadger/api/web_api.rb +547 -0
- data/lib/scrapebadger/api/yahoo_api.rb +560 -0
- data/lib/scrapebadger/api/yandex_api.rb +422 -0
- data/lib/scrapebadger/api/you_tube_api.rb +2520 -0
- data/lib/scrapebadger/api/zillow_api.rb +634 -0
- data/lib/scrapebadger/api_client.rb +394 -0
- data/lib/scrapebadger/api_error.rb +58 -0
- data/lib/scrapebadger/configuration.rb +308 -0
- data/lib/scrapebadger/models/account_info.rb +288 -0
- data/lib/scrapebadger/models/billing_log_list_response.rb +272 -0
- data/lib/scrapebadger/models/billing_log_response.rb +334 -0
- data/lib/scrapebadger/models/filter_rule_create.rb +427 -0
- data/lib/scrapebadger/models/filter_rule_delivery_log_list_response.rb +272 -0
- data/lib/scrapebadger/models/filter_rule_delivery_log_response.rb +422 -0
- data/lib/scrapebadger/models/filter_rule_list_response.rb +272 -0
- data/lib/scrapebadger/models/filter_rule_response.rb +390 -0
- data/lib/scrapebadger/models/filter_rule_update.rb +389 -0
- data/lib/scrapebadger/models/filter_rule_validate_request.rb +250 -0
- data/lib/scrapebadger/models/filter_rule_validate_response.rb +248 -0
- data/lib/scrapebadger/models/http_validation_error.rb +216 -0
- data/lib/scrapebadger/models/portal_api_routers_v1_twitter_filter_rules_filter_rule_pricing_response.rb +238 -0
- data/lib/scrapebadger/models/stream_monitor_create.rb +373 -0
- data/lib/scrapebadger/models/stream_monitor_list_response.rb +272 -0
- data/lib/scrapebadger/models/stream_monitor_response.rb +406 -0
- data/lib/scrapebadger/models/stream_monitor_update.rb +335 -0
- data/lib/scrapebadger/models/subscription_info.rb +352 -0
- data/lib/scrapebadger/models/tweet_delivery_log_list_response.rb +272 -0
- data/lib/scrapebadger/models/tweet_delivery_log_response.rb +422 -0
- data/lib/scrapebadger/models/validation_error.rb +255 -0
- data/lib/scrapebadger/models/validation_error_loc_inner.rb +104 -0
- data/lib/scrapebadger/models/webhook_create.rb +282 -0
- data/lib/scrapebadger/models/webhook_list_item.rb +302 -0
- data/lib/scrapebadger/models/webhook_list_response.rb +240 -0
- data/lib/scrapebadger/models/webhook_response.rb +286 -0
- data/lib/scrapebadger/models/webhook_test_request.rb +223 -0
- data/lib/scrapebadger/models/webhook_test_response.rb +259 -0
- data/lib/scrapebadger/version.rb +15 -0
- data/lib/scrapebadger.rb +96 -0
- data/scrapebadger.gemspec +39 -0
- data/spec/api/account_api_spec.rb +46 -0
- data/spec/api/amazon_api_spec.rb +258 -0
- data/spec/api/apartments_api_spec.rb +98 -0
- data/spec/api/baidu_api_spec.rb +109 -0
- data/spec/api/bing_api_spec.rb +141 -0
- data/spec/api/chat_gpt_api_spec.rb +123 -0
- data/spec/api/depop_api_spec.rb +132 -0
- data/spec/api/duck_duck_go_api_spec.rb +162 -0
- data/spec/api/e_bay_api_spec.rb +222 -0
- data/spec/api/facebook_api_spec.rb +326 -0
- data/spec/api/google_api_spec.rb +649 -0
- data/spec/api/idealista_api_spec.rb +197 -0
- data/spec/api/immobiliare_api_spec.rb +174 -0
- data/spec/api/instagram_api_spec.rb +309 -0
- data/spec/api/leboncoin_api_spec.rb +184 -0
- data/spec/api/linked_in_api_spec.rb +197 -0
- data/spec/api/loop_net_api_spec.rb +127 -0
- data/spec/api/realtor_api_spec.rb +123 -0
- data/spec/api/reddit_api_spec.rb +331 -0
- data/spec/api/redfin_api_spec.rb +147 -0
- data/spec/api/tik_tok_api_spec.rb +413 -0
- data/spec/api/twitter_api_spec.rb +735 -0
- data/spec/api/vinted_api_spec.rb +169 -0
- data/spec/api/walmart_api_spec.rb +192 -0
- data/spec/api/web_api_spec.rb +136 -0
- data/spec/api/yahoo_api_spec.rb +137 -0
- data/spec/api/yandex_api_spec.rb +111 -0
- data/spec/api/you_tube_api_spec.rb +500 -0
- data/spec/api/zillow_api_spec.rb +150 -0
- data/spec/models/account_info_spec.rb +66 -0
- data/spec/models/billing_log_list_response_spec.rb +54 -0
- data/spec/models/billing_log_response_spec.rb +78 -0
- data/spec/models/filter_rule_create_spec.rb +66 -0
- data/spec/models/filter_rule_delivery_log_list_response_spec.rb +54 -0
- data/spec/models/filter_rule_delivery_log_response_spec.rb +114 -0
- data/spec/models/filter_rule_list_response_spec.rb +54 -0
- data/spec/models/filter_rule_response_spec.rb +102 -0
- data/spec/models/filter_rule_update_spec.rb +72 -0
- data/spec/models/filter_rule_validate_request_spec.rb +36 -0
- data/spec/models/filter_rule_validate_response_spec.rb +48 -0
- data/spec/models/http_validation_error_spec.rb +36 -0
- data/spec/models/portal_api_routers_v1_twitter_filter_rules_filter_rule_pricing_response_spec.rb +42 -0
- data/spec/models/stream_monitor_create_spec.rb +60 -0
- data/spec/models/stream_monitor_list_response_spec.rb +54 -0
- data/spec/models/stream_monitor_response_spec.rb +108 -0
- data/spec/models/stream_monitor_update_spec.rb +66 -0
- data/spec/models/subscription_info_spec.rb +102 -0
- data/spec/models/tweet_delivery_log_list_response_spec.rb +54 -0
- data/spec/models/tweet_delivery_log_response_spec.rb +114 -0
- data/spec/models/validation_error_loc_inner_spec.rb +21 -0
- data/spec/models/validation_error_spec.rb +48 -0
- data/spec/models/webhook_create_spec.rb +48 -0
- data/spec/models/webhook_list_item_spec.rb +66 -0
- data/spec/models/webhook_list_response_spec.rb +42 -0
- data/spec/models/webhook_response_spec.rb +60 -0
- data/spec/models/webhook_test_request_spec.rb +36 -0
- data/spec/models/webhook_test_response_spec.rb +54 -0
- data/spec/spec_helper.rb +111 -0
- metadata +324 -0
|
@@ -0,0 +1,326 @@
|
|
|
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::FacebookApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'FacebookApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = ScrapeBadger::FacebookApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of FacebookApi' do
|
|
30
|
+
it 'should create an instance of FacebookApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(ScrapeBadger::FacebookApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for facebook_browse_a_marketplace_category
|
|
36
|
+
# Browse a Marketplace category
|
|
37
|
+
# Browse Marketplace listings in a category (vehicles, electronics, ...).
|
|
38
|
+
# @param category
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @option opts [String] :location
|
|
41
|
+
# @option opts [Integer] :min_price
|
|
42
|
+
# @option opts [Integer] :max_price
|
|
43
|
+
# @option opts [String] :sort_by
|
|
44
|
+
# @option opts [String] :after
|
|
45
|
+
# @return [Object]
|
|
46
|
+
describe 'facebook_browse_a_marketplace_category test' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
# unit tests for facebook_get_a_marketplace_item
|
|
53
|
+
# Get a Marketplace item
|
|
54
|
+
# Get full detail for a single Marketplace listing.
|
|
55
|
+
# @param item_id
|
|
56
|
+
# @param [Hash] opts the optional parameters
|
|
57
|
+
# @return [Object]
|
|
58
|
+
describe 'facebook_get_a_marketplace_item test' do
|
|
59
|
+
it 'should work' do
|
|
60
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
# unit tests for facebook_get_an_ad
|
|
65
|
+
# Get an ad
|
|
66
|
+
# Get a single Ad Library ad by its archive id.
|
|
67
|
+
# @param ad_archive_id
|
|
68
|
+
# @param [Hash] opts the optional parameters
|
|
69
|
+
# @return [Object]
|
|
70
|
+
describe 'facebook_get_an_ad 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 facebook_get_group_detail
|
|
77
|
+
# Get group detail
|
|
78
|
+
# Get a Facebook group's details.
|
|
79
|
+
# @param group_id
|
|
80
|
+
# @param [Hash] opts the optional parameters
|
|
81
|
+
# @return [Object]
|
|
82
|
+
describe 'facebook_get_group_detail test' do
|
|
83
|
+
it 'should work' do
|
|
84
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# unit tests for facebook_get_group_posts
|
|
89
|
+
# Get group posts
|
|
90
|
+
# Get a Facebook group's post feed.
|
|
91
|
+
# @param group_id
|
|
92
|
+
# @param [Hash] opts the optional parameters
|
|
93
|
+
# @option opts [String] :after
|
|
94
|
+
# @return [Object]
|
|
95
|
+
describe 'facebook_get_group_posts test' do
|
|
96
|
+
it 'should work' do
|
|
97
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# unit tests for facebook_get_page_detail
|
|
102
|
+
# Get page detail
|
|
103
|
+
# Get a Facebook Page's profile (name, category, followers, about).
|
|
104
|
+
# @param identifier
|
|
105
|
+
# @param [Hash] opts the optional parameters
|
|
106
|
+
# @return [Object]
|
|
107
|
+
describe 'facebook_get_page_detail test' do
|
|
108
|
+
it 'should work' do
|
|
109
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
110
|
+
end
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
# unit tests for facebook_get_page_posts
|
|
114
|
+
# Get page posts
|
|
115
|
+
# Get a Facebook Page's timeline posts.
|
|
116
|
+
# @param identifier
|
|
117
|
+
# @param [Hash] opts the optional parameters
|
|
118
|
+
# @option opts [String] :after
|
|
119
|
+
# @return [Object]
|
|
120
|
+
describe 'facebook_get_page_posts test' do
|
|
121
|
+
it 'should work' do
|
|
122
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
123
|
+
end
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
# unit tests for facebook_get_post_comments
|
|
127
|
+
# Get post comments
|
|
128
|
+
# Get a Facebook post's comment thread (paginated).
|
|
129
|
+
# @param post_id
|
|
130
|
+
# @param [Hash] opts the optional parameters
|
|
131
|
+
# @option opts [String] :after
|
|
132
|
+
# @option opts [String] :sort
|
|
133
|
+
# @return [Object]
|
|
134
|
+
describe 'facebook_get_post_comments test' do
|
|
135
|
+
it 'should work' do
|
|
136
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
137
|
+
end
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
# unit tests for facebook_get_post_detail
|
|
141
|
+
# Get post detail
|
|
142
|
+
# Get a Facebook post's detail plus its top comments.
|
|
143
|
+
# @param post_id
|
|
144
|
+
# @param [Hash] opts the optional parameters
|
|
145
|
+
# @return [Object]
|
|
146
|
+
describe 'facebook_get_post_detail test' do
|
|
147
|
+
it 'should work' do
|
|
148
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
149
|
+
end
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
# unit tests for facebook_get_profile_detail
|
|
153
|
+
# Get profile detail
|
|
154
|
+
# Get a Facebook profile's details.
|
|
155
|
+
# @param identifier
|
|
156
|
+
# @param [Hash] opts the optional parameters
|
|
157
|
+
# @return [Object]
|
|
158
|
+
describe 'facebook_get_profile_detail test' do
|
|
159
|
+
it 'should work' do
|
|
160
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
161
|
+
end
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
# unit tests for facebook_get_profile_posts
|
|
165
|
+
# Get profile posts
|
|
166
|
+
# Get a Facebook profile's timeline posts.
|
|
167
|
+
# @param identifier
|
|
168
|
+
# @param [Hash] opts the optional parameters
|
|
169
|
+
# @option opts [String] :after
|
|
170
|
+
# @return [Object]
|
|
171
|
+
describe 'facebook_get_profile_posts test' do
|
|
172
|
+
it 'should work' do
|
|
173
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
174
|
+
end
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
# unit tests for facebook_list_categories
|
|
178
|
+
# List categories
|
|
179
|
+
# List Marketplace category slugs (free).
|
|
180
|
+
# @param [Hash] opts the optional parameters
|
|
181
|
+
# @return [Object]
|
|
182
|
+
describe 'facebook_list_categories test' do
|
|
183
|
+
it 'should work' do
|
|
184
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
185
|
+
end
|
|
186
|
+
end
|
|
187
|
+
|
|
188
|
+
# unit tests for facebook_list_locations
|
|
189
|
+
# List locations
|
|
190
|
+
# List common Marketplace location slugs (free).
|
|
191
|
+
# @param [Hash] opts the optional parameters
|
|
192
|
+
# @return [Object]
|
|
193
|
+
describe 'facebook_list_locations 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 facebook_search_events
|
|
200
|
+
# Search events
|
|
201
|
+
# Search Facebook events.
|
|
202
|
+
# @param q
|
|
203
|
+
# @param [Hash] opts the optional parameters
|
|
204
|
+
# @option opts [String] :after
|
|
205
|
+
# @return [Object]
|
|
206
|
+
describe 'facebook_search_events test' do
|
|
207
|
+
it 'should work' do
|
|
208
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
209
|
+
end
|
|
210
|
+
end
|
|
211
|
+
|
|
212
|
+
# unit tests for facebook_search_everything
|
|
213
|
+
# Search everything
|
|
214
|
+
# Global Facebook search (top results across pages, people, groups, posts).
|
|
215
|
+
# @param q Search query
|
|
216
|
+
# @param [Hash] opts the optional parameters
|
|
217
|
+
# @option opts [String] :after
|
|
218
|
+
# @return [Object]
|
|
219
|
+
describe 'facebook_search_everything test' do
|
|
220
|
+
it 'should work' do
|
|
221
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
222
|
+
end
|
|
223
|
+
end
|
|
224
|
+
|
|
225
|
+
# unit tests for facebook_search_groups
|
|
226
|
+
# Search groups
|
|
227
|
+
# Search Facebook groups.
|
|
228
|
+
# @param q
|
|
229
|
+
# @param [Hash] opts the optional parameters
|
|
230
|
+
# @option opts [String] :after
|
|
231
|
+
# @return [Object]
|
|
232
|
+
describe 'facebook_search_groups test' do
|
|
233
|
+
it 'should work' do
|
|
234
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
235
|
+
end
|
|
236
|
+
end
|
|
237
|
+
|
|
238
|
+
# unit tests for facebook_search_marketplace
|
|
239
|
+
# Search Marketplace
|
|
240
|
+
# Search Facebook Marketplace listings by keyword and location.
|
|
241
|
+
# @param query Search keywords
|
|
242
|
+
# @param [Hash] opts the optional parameters
|
|
243
|
+
# @option opts [String] :location Marketplace location slug
|
|
244
|
+
# @option opts [Integer] :min_price
|
|
245
|
+
# @option opts [Integer] :max_price
|
|
246
|
+
# @option opts [Integer] :days_since_listed
|
|
247
|
+
# @option opts [String] :sort_by
|
|
248
|
+
# @option opts [String] :item_condition
|
|
249
|
+
# @option opts [String] :delivery_method
|
|
250
|
+
# @option opts [String] :after
|
|
251
|
+
# @return [Object]
|
|
252
|
+
describe 'facebook_search_marketplace test' do
|
|
253
|
+
it 'should work' do
|
|
254
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
255
|
+
end
|
|
256
|
+
end
|
|
257
|
+
|
|
258
|
+
# unit tests for facebook_search_pages
|
|
259
|
+
# Search Pages
|
|
260
|
+
# Search Facebook Pages.
|
|
261
|
+
# @param q
|
|
262
|
+
# @param [Hash] opts the optional parameters
|
|
263
|
+
# @option opts [String] :after
|
|
264
|
+
# @return [Object]
|
|
265
|
+
describe 'facebook_search_pages test' do
|
|
266
|
+
it 'should work' do
|
|
267
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
268
|
+
end
|
|
269
|
+
end
|
|
270
|
+
|
|
271
|
+
# unit tests for facebook_search_people
|
|
272
|
+
# Search people
|
|
273
|
+
# Search Facebook profiles.
|
|
274
|
+
# @param q
|
|
275
|
+
# @param [Hash] opts the optional parameters
|
|
276
|
+
# @option opts [String] :after
|
|
277
|
+
# @return [Object]
|
|
278
|
+
describe 'facebook_search_people test' do
|
|
279
|
+
it 'should work' do
|
|
280
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
281
|
+
end
|
|
282
|
+
end
|
|
283
|
+
|
|
284
|
+
# unit tests for facebook_search_places
|
|
285
|
+
# Search places
|
|
286
|
+
# Search Facebook places.
|
|
287
|
+
# @param q
|
|
288
|
+
# @param [Hash] opts the optional parameters
|
|
289
|
+
# @option opts [String] :after
|
|
290
|
+
# @return [Object]
|
|
291
|
+
describe 'facebook_search_places test' do
|
|
292
|
+
it 'should work' do
|
|
293
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
294
|
+
end
|
|
295
|
+
end
|
|
296
|
+
|
|
297
|
+
# unit tests for facebook_search_posts
|
|
298
|
+
# Search posts
|
|
299
|
+
# Search public Facebook posts.
|
|
300
|
+
# @param q
|
|
301
|
+
# @param [Hash] opts the optional parameters
|
|
302
|
+
# @option opts [String] :after
|
|
303
|
+
# @return [Object]
|
|
304
|
+
describe 'facebook_search_posts test' do
|
|
305
|
+
it 'should work' do
|
|
306
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
307
|
+
end
|
|
308
|
+
end
|
|
309
|
+
|
|
310
|
+
# unit tests for facebook_search_the_ad_library
|
|
311
|
+
# Search the Ad Library
|
|
312
|
+
# Search the Facebook Ad Library.
|
|
313
|
+
# @param query Advertiser or keyword
|
|
314
|
+
# @param [Hash] opts the optional parameters
|
|
315
|
+
# @option opts [String] :country
|
|
316
|
+
# @option opts [String] :ad_type
|
|
317
|
+
# @option opts [String] :active_status
|
|
318
|
+
# @option opts [String] :after
|
|
319
|
+
# @return [Object]
|
|
320
|
+
describe 'facebook_search_the_ad_library test' do
|
|
321
|
+
it 'should work' do
|
|
322
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
323
|
+
end
|
|
324
|
+
end
|
|
325
|
+
|
|
326
|
+
end
|