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,735 @@
|
|
|
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::TwitterApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'TwitterApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = ScrapeBadger::TwitterApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of TwitterApi' do
|
|
30
|
+
it 'should create an instance of TwitterApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(ScrapeBadger::TwitterApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for twitter_advanced_tweet_search
|
|
36
|
+
# Advanced tweet search
|
|
37
|
+
# Search tweets with advanced options.
|
|
38
|
+
# @param query
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @option opts [String] :query_type
|
|
41
|
+
# @option opts [Integer] :count
|
|
42
|
+
# @option opts [String] :cursor
|
|
43
|
+
# @return [Object]
|
|
44
|
+
describe 'twitter_advanced_tweet_search test' do
|
|
45
|
+
it 'should work' do
|
|
46
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# unit tests for twitter_batch_get_users_by_ids
|
|
51
|
+
# Batch get users by IDs
|
|
52
|
+
# Get multiple user profiles by their numeric IDs (comma-separated).
|
|
53
|
+
# @param user_ids
|
|
54
|
+
# @param [Hash] opts the optional parameters
|
|
55
|
+
# @return [Object]
|
|
56
|
+
describe 'twitter_batch_get_users_by_ids test' do
|
|
57
|
+
it 'should work' do
|
|
58
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# unit tests for twitter_batch_get_users_by_usernames
|
|
63
|
+
# Batch get users by usernames
|
|
64
|
+
# Get multiple user profiles by their usernames (comma-separated).
|
|
65
|
+
# @param usernames
|
|
66
|
+
# @param [Hash] opts the optional parameters
|
|
67
|
+
# @return [Object]
|
|
68
|
+
describe 'twitter_batch_get_users_by_usernames test' do
|
|
69
|
+
it 'should work' do
|
|
70
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
# unit tests for twitter_configure_webhook_on_a_monitor
|
|
75
|
+
# Configure webhook on a monitor
|
|
76
|
+
# Configure a webhook delivery URL on a stream monitor. The secret is returned only once on creation. Subsequent calls show secret_set: bool. If monitor already has a webhook, delete it first (409 is returned).
|
|
77
|
+
# @param webhook_create
|
|
78
|
+
# @param [Hash] opts the optional parameters
|
|
79
|
+
# @return [WebhookResponse]
|
|
80
|
+
describe 'twitter_configure_webhook_on_a_monitor test' do
|
|
81
|
+
it 'should work' do
|
|
82
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
# unit tests for twitter_create_filter_rule
|
|
87
|
+
# Create filter rule
|
|
88
|
+
# Create a new query-based tweet filter rule. The rule starts in 'active' status immediately. Credits must be positive. The (api_key_id, tag) pair must be unique.
|
|
89
|
+
# @param filter_rule_create
|
|
90
|
+
# @param [Hash] opts the optional parameters
|
|
91
|
+
# @return [FilterRuleResponse]
|
|
92
|
+
describe 'twitter_create_filter_rule 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 twitter_create_stream_monitor
|
|
99
|
+
# Create stream monitor
|
|
100
|
+
# Create a new stream monitor to watch Twitter accounts in real-time.
|
|
101
|
+
# @param stream_monitor_create
|
|
102
|
+
# @param [Hash] opts the optional parameters
|
|
103
|
+
# @return [StreamMonitorResponse]
|
|
104
|
+
describe 'twitter_create_stream_monitor 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 twitter_delete_filter_rule
|
|
111
|
+
# Delete filter rule
|
|
112
|
+
# Delete a filter rule and all its logs.
|
|
113
|
+
# @param rule_id
|
|
114
|
+
# @param [Hash] opts the optional parameters
|
|
115
|
+
# @return [nil]
|
|
116
|
+
describe 'twitter_delete_filter_rule 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 twitter_delete_stream_monitor
|
|
123
|
+
# Delete stream monitor
|
|
124
|
+
# Delete a stream monitor and all its logs.
|
|
125
|
+
# @param monitor_id
|
|
126
|
+
# @param [Hash] opts the optional parameters
|
|
127
|
+
# @return [nil]
|
|
128
|
+
describe 'twitter_delete_stream_monitor test' do
|
|
129
|
+
it 'should work' do
|
|
130
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
131
|
+
end
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
# unit tests for twitter_get_article_by_id
|
|
135
|
+
# Get article by ID
|
|
136
|
+
# Get a long-form article by its ID.
|
|
137
|
+
# @param article_id
|
|
138
|
+
# @param [Hash] opts the optional parameters
|
|
139
|
+
# @return [Object]
|
|
140
|
+
describe 'twitter_get_article_by_id test' do
|
|
141
|
+
it 'should work' do
|
|
142
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
143
|
+
end
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
# unit tests for twitter_get_broadcast_details
|
|
147
|
+
# Get broadcast details
|
|
148
|
+
# Get details of a live video broadcast.
|
|
149
|
+
# @param broadcast_id
|
|
150
|
+
# @param [Hash] opts the optional parameters
|
|
151
|
+
# @return [Object]
|
|
152
|
+
describe 'twitter_get_broadcast_details 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 twitter_get_community_details
|
|
159
|
+
# Get community details
|
|
160
|
+
# Get details of a specific community.
|
|
161
|
+
# @param community_id
|
|
162
|
+
# @param [Hash] opts the optional parameters
|
|
163
|
+
# @return [Object]
|
|
164
|
+
describe 'twitter_get_community_details test' do
|
|
165
|
+
it 'should work' do
|
|
166
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
167
|
+
end
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
# unit tests for twitter_get_community_notes
|
|
171
|
+
# Get community notes
|
|
172
|
+
# Get community notes (Birdwatch) for a specific tweet.
|
|
173
|
+
# @param tweet_id
|
|
174
|
+
# @param [Hash] opts the optional parameters
|
|
175
|
+
# @return [Object]
|
|
176
|
+
describe 'twitter_get_community_notes test' do
|
|
177
|
+
it 'should work' do
|
|
178
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
179
|
+
end
|
|
180
|
+
end
|
|
181
|
+
|
|
182
|
+
# unit tests for twitter_get_community_tweets
|
|
183
|
+
# Get community tweets
|
|
184
|
+
# Get tweets from a specific community.
|
|
185
|
+
# @param community_id
|
|
186
|
+
# @param [Hash] opts the optional parameters
|
|
187
|
+
# @option opts [String] :tweet_type
|
|
188
|
+
# @option opts [String] :cursor
|
|
189
|
+
# @return [Object]
|
|
190
|
+
describe 'twitter_get_community_tweets test' do
|
|
191
|
+
it 'should work' do
|
|
192
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
193
|
+
end
|
|
194
|
+
end
|
|
195
|
+
|
|
196
|
+
# unit tests for twitter_get_filter_rule
|
|
197
|
+
# Get filter rule
|
|
198
|
+
# Get a single filter rule by ID.
|
|
199
|
+
# @param rule_id
|
|
200
|
+
# @param [Hash] opts the optional parameters
|
|
201
|
+
# @return [FilterRuleResponse]
|
|
202
|
+
describe 'twitter_get_filter_rule test' do
|
|
203
|
+
it 'should work' do
|
|
204
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
205
|
+
end
|
|
206
|
+
end
|
|
207
|
+
|
|
208
|
+
# unit tests for twitter_get_filter_rule_per_poll_rates
|
|
209
|
+
# Get filter rule per-poll rates
|
|
210
|
+
# Current per-poll rates (auth required — used by SDK + dashboard).
|
|
211
|
+
# @param [Hash] opts the optional parameters
|
|
212
|
+
# @return [PortalApiRoutersV1TwitterFilterRulesFilterRulePricingResponse]
|
|
213
|
+
describe 'twitter_get_filter_rule_per_poll_rates test' do
|
|
214
|
+
it 'should work' do
|
|
215
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
216
|
+
end
|
|
217
|
+
end
|
|
218
|
+
|
|
219
|
+
# unit tests for twitter_get_list_details
|
|
220
|
+
# Get list details
|
|
221
|
+
# Get details of a specific list.
|
|
222
|
+
# @param list_id
|
|
223
|
+
# @param [Hash] opts the optional parameters
|
|
224
|
+
# @return [Object]
|
|
225
|
+
describe 'twitter_get_list_details test' do
|
|
226
|
+
it 'should work' do
|
|
227
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
228
|
+
end
|
|
229
|
+
end
|
|
230
|
+
|
|
231
|
+
# unit tests for twitter_get_list_tweets
|
|
232
|
+
# Get list tweets
|
|
233
|
+
# Get tweets from a specific list.
|
|
234
|
+
# @param list_id
|
|
235
|
+
# @param [Hash] opts the optional parameters
|
|
236
|
+
# @option opts [String] :cursor
|
|
237
|
+
# @return [Object]
|
|
238
|
+
describe 'twitter_get_list_tweets test' do
|
|
239
|
+
it 'should work' do
|
|
240
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
241
|
+
end
|
|
242
|
+
end
|
|
243
|
+
|
|
244
|
+
# unit tests for twitter_get_place_details
|
|
245
|
+
# Get place details
|
|
246
|
+
# Get details of a specific place.
|
|
247
|
+
# @param place_id
|
|
248
|
+
# @param [Hash] opts the optional parameters
|
|
249
|
+
# @return [Object]
|
|
250
|
+
describe 'twitter_get_place_details test' do
|
|
251
|
+
it 'should work' do
|
|
252
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
253
|
+
end
|
|
254
|
+
end
|
|
255
|
+
|
|
256
|
+
# unit tests for twitter_get_similar_tweets
|
|
257
|
+
# Get similar tweets
|
|
258
|
+
# Get tweets similar to a specific tweet.
|
|
259
|
+
# @param tweet_id
|
|
260
|
+
# @param [Hash] opts the optional parameters
|
|
261
|
+
# @return [Object]
|
|
262
|
+
describe 'twitter_get_similar_tweets 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 twitter_get_space_details
|
|
269
|
+
# Get Space details
|
|
270
|
+
# Get details of a Twitter Space.
|
|
271
|
+
# @param space_id
|
|
272
|
+
# @param [Hash] opts the optional parameters
|
|
273
|
+
# @return [Object]
|
|
274
|
+
describe 'twitter_get_space_details test' do
|
|
275
|
+
it 'should work' do
|
|
276
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
277
|
+
end
|
|
278
|
+
end
|
|
279
|
+
|
|
280
|
+
# unit tests for twitter_get_stream_monitor
|
|
281
|
+
# Get stream monitor
|
|
282
|
+
# Get a single stream monitor by ID.
|
|
283
|
+
# @param monitor_id
|
|
284
|
+
# @param [Hash] opts the optional parameters
|
|
285
|
+
# @return [StreamMonitorResponse]
|
|
286
|
+
describe 'twitter_get_stream_monitor test' do
|
|
287
|
+
it 'should work' do
|
|
288
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
289
|
+
end
|
|
290
|
+
end
|
|
291
|
+
|
|
292
|
+
# unit tests for twitter_get_trending_topics
|
|
293
|
+
# Get trending topics
|
|
294
|
+
# Get trending topics.
|
|
295
|
+
# @param [Hash] opts the optional parameters
|
|
296
|
+
# @option opts [String] :category
|
|
297
|
+
# @option opts [Integer] :count
|
|
298
|
+
# @return [Object]
|
|
299
|
+
describe 'twitter_get_trending_topics test' do
|
|
300
|
+
it 'should work' do
|
|
301
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
302
|
+
end
|
|
303
|
+
end
|
|
304
|
+
|
|
305
|
+
# unit tests for twitter_get_trends_by_location
|
|
306
|
+
# Get trends by location
|
|
307
|
+
# Get trending topics for a specific location (WOEID).
|
|
308
|
+
# @param woeid
|
|
309
|
+
# @param [Hash] opts the optional parameters
|
|
310
|
+
# @return [Object]
|
|
311
|
+
describe 'twitter_get_trends_by_location test' do
|
|
312
|
+
it 'should work' do
|
|
313
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
314
|
+
end
|
|
315
|
+
end
|
|
316
|
+
|
|
317
|
+
# unit tests for twitter_get_tweet_details
|
|
318
|
+
# Get tweet details
|
|
319
|
+
# Get detailed information about a specific tweet.
|
|
320
|
+
# @param tweet_id
|
|
321
|
+
# @param [Hash] opts the optional parameters
|
|
322
|
+
# @option opts [String] :cursor
|
|
323
|
+
# @return [Object]
|
|
324
|
+
describe 'twitter_get_tweet_details test' do
|
|
325
|
+
it 'should work' do
|
|
326
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
327
|
+
end
|
|
328
|
+
end
|
|
329
|
+
|
|
330
|
+
# unit tests for twitter_get_tweet_edit_history
|
|
331
|
+
# Get tweet edit history
|
|
332
|
+
# Get the edit history of a tweet.
|
|
333
|
+
# @param tweet_id
|
|
334
|
+
# @param [Hash] opts the optional parameters
|
|
335
|
+
# @return [Object]
|
|
336
|
+
describe 'twitter_get_tweet_edit_history test' do
|
|
337
|
+
it 'should work' do
|
|
338
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
339
|
+
end
|
|
340
|
+
end
|
|
341
|
+
|
|
342
|
+
# unit tests for twitter_get_tweet_favoriters
|
|
343
|
+
# Get tweet favoriters
|
|
344
|
+
# Get users who favorited a specific tweet.
|
|
345
|
+
# @param tweet_id
|
|
346
|
+
# @param [Hash] opts the optional parameters
|
|
347
|
+
# @option opts [String] :cursor
|
|
348
|
+
# @return [Object]
|
|
349
|
+
describe 'twitter_get_tweet_favoriters test' do
|
|
350
|
+
it 'should work' do
|
|
351
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
352
|
+
end
|
|
353
|
+
end
|
|
354
|
+
|
|
355
|
+
# unit tests for twitter_get_tweet_quotes
|
|
356
|
+
# Get tweet quotes
|
|
357
|
+
# Get tweets that quote a specific tweet.
|
|
358
|
+
# @param tweet_id
|
|
359
|
+
# @param [Hash] opts the optional parameters
|
|
360
|
+
# @option opts [String] :cursor
|
|
361
|
+
# @return [Object]
|
|
362
|
+
describe 'twitter_get_tweet_quotes 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 twitter_get_tweet_replies
|
|
369
|
+
# Get tweet replies
|
|
370
|
+
# Get replies to a specific tweet.
|
|
371
|
+
# @param tweet_id
|
|
372
|
+
# @param [Hash] opts the optional parameters
|
|
373
|
+
# @option opts [String] :cursor
|
|
374
|
+
# @return [Object]
|
|
375
|
+
describe 'twitter_get_tweet_replies test' do
|
|
376
|
+
it 'should work' do
|
|
377
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
378
|
+
end
|
|
379
|
+
end
|
|
380
|
+
|
|
381
|
+
# unit tests for twitter_get_tweet_retweeters
|
|
382
|
+
# Get tweet retweeters
|
|
383
|
+
# Get users who retweeted a specific tweet.
|
|
384
|
+
# @param tweet_id
|
|
385
|
+
# @param [Hash] opts the optional parameters
|
|
386
|
+
# @option opts [String] :cursor
|
|
387
|
+
# @return [Object]
|
|
388
|
+
describe 'twitter_get_tweet_retweeters test' do
|
|
389
|
+
it 'should work' do
|
|
390
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
391
|
+
end
|
|
392
|
+
end
|
|
393
|
+
|
|
394
|
+
# unit tests for twitter_get_tweets_by_ids
|
|
395
|
+
# Get tweets by IDs
|
|
396
|
+
# Get multiple tweets by their IDs.
|
|
397
|
+
# @param tweets
|
|
398
|
+
# @param [Hash] opts the optional parameters
|
|
399
|
+
# @return [Object]
|
|
400
|
+
describe 'twitter_get_tweets_by_ids test' do
|
|
401
|
+
it 'should work' do
|
|
402
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
403
|
+
end
|
|
404
|
+
end
|
|
405
|
+
|
|
406
|
+
# unit tests for twitter_get_user_articles
|
|
407
|
+
# Get user articles
|
|
408
|
+
# Get long-form articles written by a user.
|
|
409
|
+
# @param user_id
|
|
410
|
+
# @param [Hash] opts the optional parameters
|
|
411
|
+
# @option opts [String] :cursor
|
|
412
|
+
# @return [Object]
|
|
413
|
+
describe 'twitter_get_user_articles test' do
|
|
414
|
+
it 'should work' do
|
|
415
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
416
|
+
end
|
|
417
|
+
end
|
|
418
|
+
|
|
419
|
+
# unit tests for twitter_get_user_by_id
|
|
420
|
+
# Get user by ID
|
|
421
|
+
# Get user profile by user ID.
|
|
422
|
+
# @param user_id
|
|
423
|
+
# @param [Hash] opts the optional parameters
|
|
424
|
+
# @return [Object]
|
|
425
|
+
describe 'twitter_get_user_by_id test' do
|
|
426
|
+
it 'should work' do
|
|
427
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
428
|
+
end
|
|
429
|
+
end
|
|
430
|
+
|
|
431
|
+
# unit tests for twitter_get_user_by_username
|
|
432
|
+
# Get user by username
|
|
433
|
+
# Get user profile by username.
|
|
434
|
+
# @param username
|
|
435
|
+
# @param [Hash] opts the optional parameters
|
|
436
|
+
# @return [Object]
|
|
437
|
+
describe 'twitter_get_user_by_username test' do
|
|
438
|
+
it 'should work' do
|
|
439
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
440
|
+
end
|
|
441
|
+
end
|
|
442
|
+
|
|
443
|
+
# unit tests for twitter_get_user_followers
|
|
444
|
+
# Get user followers
|
|
445
|
+
# Get followers of a specific user.
|
|
446
|
+
# @param username
|
|
447
|
+
# @param [Hash] opts the optional parameters
|
|
448
|
+
# @option opts [String] :cursor
|
|
449
|
+
# @return [Object]
|
|
450
|
+
describe 'twitter_get_user_followers test' do
|
|
451
|
+
it 'should work' do
|
|
452
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
453
|
+
end
|
|
454
|
+
end
|
|
455
|
+
|
|
456
|
+
# unit tests for twitter_get_user_following
|
|
457
|
+
# Get user following
|
|
458
|
+
# Get users that a specific user is following.
|
|
459
|
+
# @param username
|
|
460
|
+
# @param [Hash] opts the optional parameters
|
|
461
|
+
# @option opts [String] :cursor
|
|
462
|
+
# @return [Object]
|
|
463
|
+
describe 'twitter_get_user_following test' do
|
|
464
|
+
it 'should work' do
|
|
465
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
466
|
+
end
|
|
467
|
+
end
|
|
468
|
+
|
|
469
|
+
# unit tests for twitter_get_user_mentions
|
|
470
|
+
# Get user mentions
|
|
471
|
+
# Get tweets mentioning a specific user.
|
|
472
|
+
# @param username
|
|
473
|
+
# @param [Hash] opts the optional parameters
|
|
474
|
+
# @option opts [Integer] :count
|
|
475
|
+
# @option opts [String] :cursor
|
|
476
|
+
# @return [Object]
|
|
477
|
+
describe 'twitter_get_user_mentions test' do
|
|
478
|
+
it 'should work' do
|
|
479
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
480
|
+
end
|
|
481
|
+
end
|
|
482
|
+
|
|
483
|
+
# unit tests for twitter_get_user_subscriptions
|
|
484
|
+
# Get user subscriptions
|
|
485
|
+
# Get subscriptions of a specific user.
|
|
486
|
+
# @param user_id
|
|
487
|
+
# @param [Hash] opts the optional parameters
|
|
488
|
+
# @option opts [String] :cursor
|
|
489
|
+
# @return [Object]
|
|
490
|
+
describe 'twitter_get_user_subscriptions test' do
|
|
491
|
+
it 'should work' do
|
|
492
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
493
|
+
end
|
|
494
|
+
end
|
|
495
|
+
|
|
496
|
+
# unit tests for twitter_get_user_tweets
|
|
497
|
+
# Get user tweets
|
|
498
|
+
# Get latest tweets from a specific user.
|
|
499
|
+
# @param username
|
|
500
|
+
# @param [Hash] opts the optional parameters
|
|
501
|
+
# @option opts [String] :cursor
|
|
502
|
+
# @return [Object]
|
|
503
|
+
describe 'twitter_get_user_tweets test' do
|
|
504
|
+
it 'should work' do
|
|
505
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
506
|
+
end
|
|
507
|
+
end
|
|
508
|
+
|
|
509
|
+
# unit tests for twitter_list_billing_logs
|
|
510
|
+
# List billing logs
|
|
511
|
+
# List billing activity logs for the authenticated API key's monitors.
|
|
512
|
+
# @param [Hash] opts the optional parameters
|
|
513
|
+
# @option opts [String] :monitor_id
|
|
514
|
+
# @option opts [Integer] :page
|
|
515
|
+
# @option opts [Integer] :page_size
|
|
516
|
+
# @return [BillingLogListResponse]
|
|
517
|
+
describe 'twitter_list_billing_logs test' do
|
|
518
|
+
it 'should work' do
|
|
519
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
520
|
+
end
|
|
521
|
+
end
|
|
522
|
+
|
|
523
|
+
# unit tests for twitter_list_delivery_logs_for_a_filter_rule
|
|
524
|
+
# List delivery logs for a filter rule
|
|
525
|
+
# List tweet delivery logs for a specific filter rule.
|
|
526
|
+
# @param rule_id
|
|
527
|
+
# @param [Hash] opts the optional parameters
|
|
528
|
+
# @option opts [String] :delivery_status
|
|
529
|
+
# @option opts [String] :author_username
|
|
530
|
+
# @option opts [Integer] :page
|
|
531
|
+
# @option opts [Integer] :page_size
|
|
532
|
+
# @option opts [String] :sort
|
|
533
|
+
# @return [FilterRuleDeliveryLogListResponse]
|
|
534
|
+
describe 'twitter_list_delivery_logs_for_a_filter_rule test' do
|
|
535
|
+
it 'should work' do
|
|
536
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
537
|
+
end
|
|
538
|
+
end
|
|
539
|
+
|
|
540
|
+
# unit tests for twitter_list_filter_rules
|
|
541
|
+
# List filter rules
|
|
542
|
+
# List all filter rules for the authenticated API key.
|
|
543
|
+
# @param [Hash] opts the optional parameters
|
|
544
|
+
# @option opts [String] :status
|
|
545
|
+
# @option opts [Integer] :page
|
|
546
|
+
# @option opts [Integer] :page_size
|
|
547
|
+
# @return [FilterRuleListResponse]
|
|
548
|
+
describe 'twitter_list_filter_rules test' do
|
|
549
|
+
it 'should work' do
|
|
550
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
551
|
+
end
|
|
552
|
+
end
|
|
553
|
+
|
|
554
|
+
# unit tests for twitter_list_stream_monitors
|
|
555
|
+
# List stream monitors
|
|
556
|
+
# List all stream monitors for the authenticated API key.
|
|
557
|
+
# @param [Hash] opts the optional parameters
|
|
558
|
+
# @option opts [String] :status
|
|
559
|
+
# @option opts [Integer] :page
|
|
560
|
+
# @option opts [Integer] :page_size
|
|
561
|
+
# @return [StreamMonitorListResponse]
|
|
562
|
+
describe 'twitter_list_stream_monitors test' do
|
|
563
|
+
it 'should work' do
|
|
564
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
565
|
+
end
|
|
566
|
+
end
|
|
567
|
+
|
|
568
|
+
# unit tests for twitter_list_tweet_delivery_logs
|
|
569
|
+
# List tweet delivery logs
|
|
570
|
+
# List tweet delivery logs for the authenticated API key's monitors.
|
|
571
|
+
# @param [Hash] opts the optional parameters
|
|
572
|
+
# @option opts [String] :monitor_id
|
|
573
|
+
# @option opts [String] :author_username
|
|
574
|
+
# @option opts [String] :delivery_status
|
|
575
|
+
# @option opts [Integer] :page
|
|
576
|
+
# @option opts [Integer] :page_size
|
|
577
|
+
# @option opts [String] :sort
|
|
578
|
+
# @return [TweetDeliveryLogListResponse]
|
|
579
|
+
describe 'twitter_list_tweet_delivery_logs test' do
|
|
580
|
+
it 'should work' do
|
|
581
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
582
|
+
end
|
|
583
|
+
end
|
|
584
|
+
|
|
585
|
+
# unit tests for twitter_list_webhooks
|
|
586
|
+
# List webhooks
|
|
587
|
+
# List all webhook-configured monitors for the authenticated API key.
|
|
588
|
+
# @param [Hash] opts the optional parameters
|
|
589
|
+
# @option opts [String] :monitor_id
|
|
590
|
+
# @return [WebhookListResponse]
|
|
591
|
+
describe 'twitter_list_webhooks test' do
|
|
592
|
+
it 'should work' do
|
|
593
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
594
|
+
end
|
|
595
|
+
end
|
|
596
|
+
|
|
597
|
+
# unit tests for twitter_remove_webhook_from_monitor
|
|
598
|
+
# Remove webhook from monitor
|
|
599
|
+
# Remove webhook configuration from a monitor. webhook_id is the monitor_id.
|
|
600
|
+
# @param webhook_id
|
|
601
|
+
# @param [Hash] opts the optional parameters
|
|
602
|
+
# @return [nil]
|
|
603
|
+
describe 'twitter_remove_webhook_from_monitor test' do
|
|
604
|
+
it 'should work' do
|
|
605
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
606
|
+
end
|
|
607
|
+
end
|
|
608
|
+
|
|
609
|
+
# unit tests for twitter_search_communities
|
|
610
|
+
# Search communities
|
|
611
|
+
# Search for communities by query.
|
|
612
|
+
# @param query
|
|
613
|
+
# @param [Hash] opts the optional parameters
|
|
614
|
+
# @option opts [String] :cursor
|
|
615
|
+
# @return [Object]
|
|
616
|
+
describe 'twitter_search_communities test' do
|
|
617
|
+
it 'should work' do
|
|
618
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
619
|
+
end
|
|
620
|
+
end
|
|
621
|
+
|
|
622
|
+
# unit tests for twitter_search_list_tweets
|
|
623
|
+
# Search list tweets
|
|
624
|
+
# Search tweets within a specific list.
|
|
625
|
+
# @param list_id
|
|
626
|
+
# @param query
|
|
627
|
+
# @param [Hash] opts the optional parameters
|
|
628
|
+
# @option opts [String] :cursor
|
|
629
|
+
# @return [Object]
|
|
630
|
+
describe 'twitter_search_list_tweets test' do
|
|
631
|
+
it 'should work' do
|
|
632
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
633
|
+
end
|
|
634
|
+
end
|
|
635
|
+
|
|
636
|
+
# unit tests for twitter_search_places
|
|
637
|
+
# Search places
|
|
638
|
+
# Search for places by query or coordinates.
|
|
639
|
+
# @param [Hash] opts the optional parameters
|
|
640
|
+
# @option opts [String] :query
|
|
641
|
+
# @option opts [Float] :lat
|
|
642
|
+
# @option opts [Float] :long
|
|
643
|
+
# @return [Object]
|
|
644
|
+
describe 'twitter_search_places test' do
|
|
645
|
+
it 'should work' do
|
|
646
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
647
|
+
end
|
|
648
|
+
end
|
|
649
|
+
|
|
650
|
+
# unit tests for twitter_search_users
|
|
651
|
+
# Search users
|
|
652
|
+
# Search for users by query.
|
|
653
|
+
# @param query
|
|
654
|
+
# @param [Hash] opts the optional parameters
|
|
655
|
+
# @option opts [String] :cursor
|
|
656
|
+
# @return [Object]
|
|
657
|
+
describe 'twitter_search_users test' do
|
|
658
|
+
it 'should work' do
|
|
659
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
660
|
+
end
|
|
661
|
+
end
|
|
662
|
+
|
|
663
|
+
# unit tests for twitter_test_webhook_delivery
|
|
664
|
+
# Test webhook delivery
|
|
665
|
+
# Send a test payload to a monitor's webhook URL. The test payload has type=\"test\" instead of type=\"tweet\". Makes a synchronous HTTP POST and returns the delivery result.
|
|
666
|
+
# @param webhook_test_request
|
|
667
|
+
# @param [Hash] opts the optional parameters
|
|
668
|
+
# @return [WebhookTestResponse]
|
|
669
|
+
describe 'twitter_test_webhook_delivery test' do
|
|
670
|
+
it 'should work' do
|
|
671
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
672
|
+
end
|
|
673
|
+
end
|
|
674
|
+
|
|
675
|
+
# unit tests for twitter_twitter_scraper_health_check
|
|
676
|
+
# Twitter scraper health check
|
|
677
|
+
# Check health of the Twitter scraper service. Accepts ``HEAD`` so external uptime checkers (UptimeRobot uses HEAD by default for HTTP monitors) don't get a 405 Method Not Allowed.
|
|
678
|
+
# @param [Hash] opts the optional parameters
|
|
679
|
+
# @return [Object]
|
|
680
|
+
describe 'twitter_twitter_scraper_health_check test' do
|
|
681
|
+
it 'should work' do
|
|
682
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
683
|
+
end
|
|
684
|
+
end
|
|
685
|
+
|
|
686
|
+
# unit tests for twitter_twitter_scraper_health_check_head
|
|
687
|
+
# Twitter scraper health check
|
|
688
|
+
# Check health of the Twitter scraper service. Accepts ``HEAD`` so external uptime checkers (UptimeRobot uses HEAD by default for HTTP monitors) don't get a 405 Method Not Allowed.
|
|
689
|
+
# @param [Hash] opts the optional parameters
|
|
690
|
+
# @return [Object]
|
|
691
|
+
describe 'twitter_twitter_scraper_health_check_head test' do
|
|
692
|
+
it 'should work' do
|
|
693
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
694
|
+
end
|
|
695
|
+
end
|
|
696
|
+
|
|
697
|
+
# unit tests for twitter_update_filter_rule
|
|
698
|
+
# Update filter rule
|
|
699
|
+
# Partially update a filter rule. Setting status='active' on a paused rule performs a credit check.
|
|
700
|
+
# @param rule_id
|
|
701
|
+
# @param filter_rule_update
|
|
702
|
+
# @param [Hash] opts the optional parameters
|
|
703
|
+
# @return [FilterRuleResponse]
|
|
704
|
+
describe 'twitter_update_filter_rule test' do
|
|
705
|
+
it 'should work' do
|
|
706
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
707
|
+
end
|
|
708
|
+
end
|
|
709
|
+
|
|
710
|
+
# unit tests for twitter_update_stream_monitor
|
|
711
|
+
# Update stream monitor
|
|
712
|
+
# Partially update a stream monitor.
|
|
713
|
+
# @param monitor_id
|
|
714
|
+
# @param stream_monitor_update
|
|
715
|
+
# @param [Hash] opts the optional parameters
|
|
716
|
+
# @return [StreamMonitorResponse]
|
|
717
|
+
describe 'twitter_update_stream_monitor test' do
|
|
718
|
+
it 'should work' do
|
|
719
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
720
|
+
end
|
|
721
|
+
end
|
|
722
|
+
|
|
723
|
+
# unit tests for twitter_validate_search_query
|
|
724
|
+
# Validate search query
|
|
725
|
+
# Validate a Twitter search query string. Performs basic structural validation without making a live Twitter request. Returns valid=True if the query passes syntax checks.
|
|
726
|
+
# @param filter_rule_validate_request
|
|
727
|
+
# @param [Hash] opts the optional parameters
|
|
728
|
+
# @return [FilterRuleValidateResponse]
|
|
729
|
+
describe 'twitter_validate_search_query test' do
|
|
730
|
+
it 'should work' do
|
|
731
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
732
|
+
end
|
|
733
|
+
end
|
|
734
|
+
|
|
735
|
+
end
|