x-twitter-scraper 0.7.2 → 0.9.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 +4 -4
- data/CHANGELOG.md +24 -0
- data/README.md +3 -3
- data/lib/x_twitter_scraper/models/credit_topup_balance_response.rb +5 -5
- data/lib/x_twitter_scraper/models/draw_export_params.rb +8 -3
- data/lib/x_twitter_scraper/models/draw_list_params.rb +2 -2
- data/lib/x_twitter_scraper/models/error.rb +8 -0
- data/lib/x_twitter_scraper/models/event_list_params.rb +13 -5
- data/lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb +731 -82
- data/lib/x_twitter_scraper/models/extraction_estimate_cost_response.rb +1 -0
- data/lib/x_twitter_scraper/models/extraction_export_results_params.rb +145 -1
- data/lib/x_twitter_scraper/models/extraction_list_params.rb +2 -2
- data/lib/x_twitter_scraper/models/extraction_retrieve_params.rb +70 -3
- data/lib/x_twitter_scraper/models/extraction_run_params.rb +662 -1
- data/lib/x_twitter_scraper/models/extraction_run_response.rb +27 -48
- data/lib/x_twitter_scraper/models/guest_wallet_create_response.rb +8 -8
- data/lib/x_twitter_scraper/models/guest_wallet_topup_response.rb +9 -9
- data/lib/x_twitter_scraper/models/monitor.rb +29 -1
- data/lib/x_twitter_scraper/models/paginated_tweets.rb +4 -4
- data/lib/x_twitter_scraper/models/paginated_users.rb +5 -5
- data/lib/x_twitter_scraper/models/support/attachment_download_params.rb +28 -0
- data/lib/x_twitter_scraper/models/x/community_retrieve_members_params.rb +113 -1
- data/lib/x_twitter_scraper/models/x/community_retrieve_moderators_params.rb +117 -1
- data/lib/x_twitter_scraper/models/x/list_retrieve_followers_params.rb +117 -6
- data/lib/x_twitter_scraper/models/x/list_retrieve_members_params.rb +116 -1
- data/lib/x_twitter_scraper/models/x/tweet_get_favoriters_params.rb +117 -6
- data/lib/x_twitter_scraper/models/x/tweet_get_quotes_params.rb +153 -1
- data/lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb +246 -16
- data/lib/x_twitter_scraper/models/x/tweet_get_replies_response.rb +3 -2
- data/lib/x_twitter_scraper/models/x/tweet_get_retweeters_params.rb +117 -6
- data/lib/x_twitter_scraper/models/x/tweet_search_params.rb +187 -14
- data/lib/x_twitter_scraper/models/x/tweet_search_response.rb +299 -0
- data/lib/x_twitter_scraper/models/x/user_retrieve_followers_params.rb +143 -10
- data/lib/x_twitter_scraper/models/x/user_retrieve_followers_response.rb +241 -0
- data/lib/x_twitter_scraper/models/x/user_retrieve_followers_you_know_params.rb +117 -6
- data/lib/x_twitter_scraper/models/x/user_retrieve_following_params.rb +143 -10
- data/lib/x_twitter_scraper/models/x/user_retrieve_following_response.rb +241 -0
- data/lib/x_twitter_scraper/models/x/user_retrieve_likes_params.rb +153 -1
- data/lib/x_twitter_scraper/models/x/user_retrieve_media_params.rb +153 -1
- data/lib/x_twitter_scraper/models/x/user_retrieve_mentions_params.rb +153 -1
- data/lib/x_twitter_scraper/models/x/user_retrieve_replies_params.rb +159 -7
- data/lib/x_twitter_scraper/models/x/user_retrieve_search_params.rb +116 -1
- data/lib/x_twitter_scraper/models/x/user_retrieve_tweets_params.rb +159 -7
- data/lib/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rb +157 -8
- data/lib/x_twitter_scraper/models/x/user_retrieve_verified_followers_response.rb +245 -0
- data/lib/x_twitter_scraper/models/x/x_account.rb +7 -11
- data/lib/x_twitter_scraper/resources/credits.rb +2 -2
- data/lib/x_twitter_scraper/resources/draws.rb +5 -2
- data/lib/x_twitter_scraper/resources/events.rb +10 -4
- data/lib/x_twitter_scraper/resources/extractions.rb +383 -84
- data/lib/x_twitter_scraper/resources/guest_wallets.rb +9 -13
- data/lib/x_twitter_scraper/resources/support/attachments.rb +42 -0
- data/lib/x_twitter_scraper/resources/support.rb +5 -0
- data/lib/x_twitter_scraper/resources/x/communities.rb +95 -4
- data/lib/x_twitter_scraper/resources/x/lists.rb +96 -5
- data/lib/x_twitter_scraper/resources/x/tweets.rb +286 -28
- data/lib/x_twitter_scraper/resources/x/users.rb +531 -41
- data/lib/x_twitter_scraper/version.rb +1 -1
- data/lib/x_twitter_scraper.rb +7 -1
- data/rbi/x_twitter_scraper/models/credit_topup_balance_response.rbi +6 -6
- data/rbi/x_twitter_scraper/models/draw_export_params.rbi +6 -3
- data/rbi/x_twitter_scraper/models/draw_list_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/error.rbi +40 -0
- data/rbi/x_twitter_scraper/models/event_list_params.rbi +15 -4
- data/rbi/x_twitter_scraper/models/extraction_estimate_cost_params.rbi +1338 -86
- data/rbi/x_twitter_scraper/models/extraction_estimate_cost_response.rbi +5 -0
- data/rbi/x_twitter_scraper/models/extraction_export_results_params.rbi +198 -0
- data/rbi/x_twitter_scraper/models/extraction_list_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/extraction_retrieve_params.rbi +194 -2
- data/rbi/x_twitter_scraper/models/extraction_run_params.rbi +1221 -0
- data/rbi/x_twitter_scraper/models/extraction_run_response.rbi +35 -162
- data/rbi/x_twitter_scraper/models/guest_wallet_create_response.rbi +8 -6
- data/rbi/x_twitter_scraper/models/guest_wallet_topup_response.rbi +9 -7
- data/rbi/x_twitter_scraper/models/monitor.rbi +54 -3
- data/rbi/x_twitter_scraper/models/paginated_tweets.rbi +4 -4
- data/rbi/x_twitter_scraper/models/paginated_users.rbi +5 -5
- data/rbi/x_twitter_scraper/models/support/attachment_download_params.rbi +51 -0
- data/rbi/x_twitter_scraper/models/x/community_retrieve_members_params.rbi +154 -0
- data/rbi/x_twitter_scraper/models/x/community_retrieve_moderators_params.rbi +154 -0
- data/rbi/x_twitter_scraper/models/x/list_retrieve_followers_params.rbi +160 -8
- data/rbi/x_twitter_scraper/models/x/list_retrieve_members_params.rbi +154 -0
- data/rbi/x_twitter_scraper/models/x/tweet_get_favoriters_params.rbi +160 -8
- data/rbi/x_twitter_scraper/models/x/tweet_get_quotes_params.rbi +209 -0
- data/rbi/x_twitter_scraper/models/x/tweet_get_replies_params.rbi +403 -20
- data/rbi/x_twitter_scraper/models/x/tweet_get_replies_response.rbi +3 -2
- data/rbi/x_twitter_scraper/models/x/tweet_get_retweeters_params.rbi +160 -8
- data/rbi/x_twitter_scraper/models/x/tweet_search_params.rbi +279 -16
- data/rbi/x_twitter_scraper/models/x/tweet_search_response.rbi +543 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_followers_params.rbi +228 -12
- data/rbi/x_twitter_scraper/models/x/user_retrieve_followers_response.rbi +440 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_followers_you_know_params.rbi +160 -8
- data/rbi/x_twitter_scraper/models/x/user_retrieve_following_params.rbi +228 -12
- data/rbi/x_twitter_scraper/models/x/user_retrieve_following_response.rbi +440 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_likes_params.rbi +209 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_media_params.rbi +209 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_mentions_params.rbi +209 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_replies_params.rbi +217 -8
- data/rbi/x_twitter_scraper/models/x/user_retrieve_search_params.rbi +154 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_tweets_params.rbi +217 -8
- data/rbi/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rbi +248 -10
- data/rbi/x_twitter_scraper/models/x/user_retrieve_verified_followers_response.rbi +440 -0
- data/rbi/x_twitter_scraper/models/x/x_account.rbi +9 -15
- data/rbi/x_twitter_scraper/resources/credits.rbi +2 -2
- data/rbi/x_twitter_scraper/resources/draws.rbi +3 -2
- data/rbi/x_twitter_scraper/resources/events.rbi +5 -2
- data/rbi/x_twitter_scraper/resources/extractions.rbi +525 -83
- data/rbi/x_twitter_scraper/resources/guest_wallets.rbi +9 -13
- data/rbi/x_twitter_scraper/resources/support/attachments.rbi +35 -0
- data/rbi/x_twitter_scraper/resources/support.rbi +4 -0
- data/rbi/x_twitter_scraper/resources/x/communities.rbi +84 -0
- data/rbi/x_twitter_scraper/resources/x/lists.rbi +87 -4
- data/rbi/x_twitter_scraper/resources/x/tweets.rbi +307 -31
- data/rbi/x_twitter_scraper/resources/x/users.rbi +558 -34
- data/sig/x_twitter_scraper/models/error.rbs +16 -0
- data/sig/x_twitter_scraper/models/event_list_params.rbs +7 -0
- data/sig/x_twitter_scraper/models/extraction_estimate_cost_params.rbs +605 -1
- data/sig/x_twitter_scraper/models/extraction_estimate_cost_response.rbs +2 -0
- data/sig/x_twitter_scraper/models/extraction_export_results_params.rbs +127 -1
- data/sig/x_twitter_scraper/models/extraction_retrieve_params.rbs +74 -1
- data/sig/x_twitter_scraper/models/extraction_run_params.rbs +611 -1
- data/sig/x_twitter_scraper/models/extraction_run_response.rbs +29 -67
- data/sig/x_twitter_scraper/models/guest_wallet_create_response.rbs +4 -4
- data/sig/x_twitter_scraper/models/guest_wallet_topup_response.rbs +4 -4
- data/sig/x_twitter_scraper/models/monitor.rbs +29 -3
- data/sig/x_twitter_scraper/models/support/attachment_download_params.rbs +32 -0
- data/sig/x_twitter_scraper/models/x/community_retrieve_members_params.rbs +103 -1
- data/sig/x_twitter_scraper/models/x/community_retrieve_moderators_params.rbs +102 -1
- data/sig/x_twitter_scraper/models/x/list_retrieve_followers_params.rbs +103 -1
- data/sig/x_twitter_scraper/models/x/list_retrieve_members_params.rbs +103 -1
- data/sig/x_twitter_scraper/models/x/tweet_get_favoriters_params.rbs +103 -1
- data/sig/x_twitter_scraper/models/x/tweet_get_quotes_params.rbs +134 -1
- data/sig/x_twitter_scraper/models/x/tweet_get_replies_params.rbs +207 -2
- data/sig/x_twitter_scraper/models/x/tweet_get_retweeters_params.rbs +103 -1
- data/sig/x_twitter_scraper/models/x/tweet_search_params.rbs +154 -1
- data/sig/x_twitter_scraper/models/x/tweet_search_response.rbs +258 -0
- data/sig/x_twitter_scraper/models/x/user_retrieve_followers_params.rbs +119 -1
- data/sig/x_twitter_scraper/models/x/user_retrieve_followers_response.rbs +216 -0
- data/sig/x_twitter_scraper/models/x/user_retrieve_followers_you_know_params.rbs +103 -1
- data/sig/x_twitter_scraper/models/x/user_retrieve_following_params.rbs +119 -1
- data/sig/x_twitter_scraper/models/x/user_retrieve_following_response.rbs +216 -0
- data/sig/x_twitter_scraper/models/x/user_retrieve_likes_params.rbs +134 -1
- data/sig/x_twitter_scraper/models/x/user_retrieve_media_params.rbs +134 -1
- data/sig/x_twitter_scraper/models/x/user_retrieve_mentions_params.rbs +134 -1
- data/sig/x_twitter_scraper/models/x/user_retrieve_replies_params.rbs +134 -1
- data/sig/x_twitter_scraper/models/x/user_retrieve_search_params.rbs +102 -1
- data/sig/x_twitter_scraper/models/x/user_retrieve_tweets_params.rbs +134 -1
- data/sig/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rbs +137 -1
- data/sig/x_twitter_scraper/models/x/user_retrieve_verified_followers_response.rbs +216 -0
- data/sig/x_twitter_scraper/resources/events.rbs +1 -0
- data/sig/x_twitter_scraper/resources/extractions.rbs +137 -0
- data/sig/x_twitter_scraper/resources/support/attachments.rbs +15 -0
- data/sig/x_twitter_scraper/resources/support.rbs +2 -0
- data/sig/x_twitter_scraper/resources/x/communities.rbs +28 -0
- data/sig/x_twitter_scraper/resources/x/lists.rbs +28 -0
- data/sig/x_twitter_scraper/resources/x/tweets.rbs +93 -1
- data/sig/x_twitter_scraper/resources/x/users.rbs +173 -3
- metadata +19 -1
|
@@ -24,6 +24,18 @@ module XTwitterScraper
|
|
|
24
24
|
# @return [String, nil]
|
|
25
25
|
optional :any_words, String
|
|
26
26
|
|
|
27
|
+
# @!attribute blue_verified_only
|
|
28
|
+
# Only return tweets from Blue-verified authors.
|
|
29
|
+
#
|
|
30
|
+
# @return [Boolean, nil]
|
|
31
|
+
optional :blue_verified_only, XTwitterScraper::Internal::Type::Boolean
|
|
32
|
+
|
|
33
|
+
# @!attribute card_name
|
|
34
|
+
# Match the Tweet card name.
|
|
35
|
+
#
|
|
36
|
+
# @return [String, nil]
|
|
37
|
+
optional :card_name, String
|
|
38
|
+
|
|
27
39
|
# @!attribute cashtags
|
|
28
40
|
# Cashtags separated by spaces, commas, or lines.
|
|
29
41
|
#
|
|
@@ -37,7 +49,8 @@ module XTwitterScraper
|
|
|
37
49
|
optional :conversation_id, String
|
|
38
50
|
|
|
39
51
|
# @!attribute cursor
|
|
40
|
-
#
|
|
52
|
+
# Cursor from the previous response. Xquik cursors resume automatic coverage.
|
|
53
|
+
# Existing unprefixed cursors keep legacy standard behavior.
|
|
41
54
|
#
|
|
42
55
|
# @return [String, nil]
|
|
43
56
|
optional :cursor, String
|
|
@@ -48,6 +61,12 @@ module XTwitterScraper
|
|
|
48
61
|
# @return [String, nil]
|
|
49
62
|
optional :exact_phrase, String
|
|
50
63
|
|
|
64
|
+
# @!attribute exclude_source
|
|
65
|
+
# Exclude a source application.
|
|
66
|
+
#
|
|
67
|
+
# @return [String, nil]
|
|
68
|
+
optional :exclude_source, String
|
|
69
|
+
|
|
51
70
|
# @!attribute exclude_words
|
|
52
71
|
# Words or quoted phrases to exclude. Separate with spaces, commas, or lines.
|
|
53
72
|
#
|
|
@@ -60,6 +79,12 @@ module XTwitterScraper
|
|
|
60
79
|
# @return [String, nil]
|
|
61
80
|
optional :from_user, String
|
|
62
81
|
|
|
82
|
+
# @!attribute geocode
|
|
83
|
+
# Match latitude, longitude, and radius.
|
|
84
|
+
#
|
|
85
|
+
# @return [String, nil]
|
|
86
|
+
optional :geocode, String
|
|
87
|
+
|
|
63
88
|
# @!attribute hashtags
|
|
64
89
|
# Hashtags separated by spaces, commas, or lines.
|
|
65
90
|
#
|
|
@@ -84,6 +109,36 @@ module XTwitterScraper
|
|
|
84
109
|
# @return [String, nil]
|
|
85
110
|
optional :language, String
|
|
86
111
|
|
|
112
|
+
# @!attribute max_faves
|
|
113
|
+
# Maximum likes threshold. maxLikes is also accepted.
|
|
114
|
+
#
|
|
115
|
+
# @return [Integer, nil]
|
|
116
|
+
optional :max_faves, Integer
|
|
117
|
+
|
|
118
|
+
# @!attribute max_id
|
|
119
|
+
# Return Tweets older than this Tweet ID.
|
|
120
|
+
#
|
|
121
|
+
# @return [String, nil]
|
|
122
|
+
optional :max_id, String
|
|
123
|
+
|
|
124
|
+
# @!attribute max_quotes
|
|
125
|
+
# Maximum quotes threshold.
|
|
126
|
+
#
|
|
127
|
+
# @return [Integer, nil]
|
|
128
|
+
optional :max_quotes, Integer
|
|
129
|
+
|
|
130
|
+
# @!attribute max_replies
|
|
131
|
+
# Maximum replies threshold.
|
|
132
|
+
#
|
|
133
|
+
# @return [Integer, nil]
|
|
134
|
+
optional :max_replies, Integer
|
|
135
|
+
|
|
136
|
+
# @!attribute max_retweets
|
|
137
|
+
# Maximum retweets threshold.
|
|
138
|
+
#
|
|
139
|
+
# @return [Integer, nil]
|
|
140
|
+
optional :max_retweets, Integer
|
|
141
|
+
|
|
87
142
|
# @!attribute media_type
|
|
88
143
|
# Filter by media type.
|
|
89
144
|
#
|
|
@@ -96,6 +151,12 @@ module XTwitterScraper
|
|
|
96
151
|
# @return [String, nil]
|
|
97
152
|
optional :mentioning, String
|
|
98
153
|
|
|
154
|
+
# @!attribute min_bookmarks
|
|
155
|
+
# Minimum bookmark count threshold.
|
|
156
|
+
#
|
|
157
|
+
# @return [Integer, nil]
|
|
158
|
+
optional :min_bookmarks, Integer
|
|
159
|
+
|
|
99
160
|
# @!attribute min_faves
|
|
100
161
|
# Minimum likes threshold.
|
|
101
162
|
#
|
|
@@ -120,10 +181,33 @@ module XTwitterScraper
|
|
|
120
181
|
# @return [Integer, nil]
|
|
121
182
|
optional :min_retweets, Integer
|
|
122
183
|
|
|
184
|
+
# @!attribute min_views
|
|
185
|
+
# Minimum view count threshold.
|
|
186
|
+
#
|
|
187
|
+
# @return [Integer, nil]
|
|
188
|
+
optional :min_views, Integer
|
|
189
|
+
|
|
190
|
+
# @!attribute native_retweets
|
|
191
|
+
# Only return native reposts.
|
|
192
|
+
#
|
|
193
|
+
# @return [Boolean, nil]
|
|
194
|
+
optional :native_retweets, XTwitterScraper::Internal::Type::Boolean
|
|
195
|
+
|
|
196
|
+
# @!attribute near
|
|
197
|
+
# Match a place name.
|
|
198
|
+
#
|
|
199
|
+
# @return [String, nil]
|
|
200
|
+
optional :near, String
|
|
201
|
+
|
|
202
|
+
# @!attribute news
|
|
203
|
+
# Only return news results.
|
|
204
|
+
#
|
|
205
|
+
# @return [Boolean, nil]
|
|
206
|
+
optional :news, XTwitterScraper::Internal::Type::Boolean
|
|
207
|
+
|
|
123
208
|
# @!attribute page_size
|
|
124
|
-
#
|
|
125
|
-
#
|
|
126
|
-
# aliases remain accepted.
|
|
209
|
+
# Automatic pages accept 1-300 Tweets. Standard pages keep 1-100. Default 20.
|
|
210
|
+
# Continue while has_next_page is true. Deprecated aliases remain accepted.
|
|
127
211
|
#
|
|
128
212
|
# @return [Integer, nil]
|
|
129
213
|
optional :page_size, Integer
|
|
@@ -158,12 +242,30 @@ module XTwitterScraper
|
|
|
158
242
|
# @return [String, nil]
|
|
159
243
|
optional :retweets_of_tweet_id, String
|
|
160
244
|
|
|
245
|
+
# @!attribute safe
|
|
246
|
+
# Enable the safe-search filter.
|
|
247
|
+
#
|
|
248
|
+
# @return [Boolean, nil]
|
|
249
|
+
optional :safe, XTwitterScraper::Internal::Type::Boolean
|
|
250
|
+
|
|
161
251
|
# @!attribute since_date
|
|
162
252
|
# Start date in YYYY-MM-DD format.
|
|
163
253
|
#
|
|
164
254
|
# @return [Date, nil]
|
|
165
255
|
optional :since_date, Date
|
|
166
256
|
|
|
257
|
+
# @!attribute since_id
|
|
258
|
+
# Return Tweets newer than this Tweet ID.
|
|
259
|
+
#
|
|
260
|
+
# @return [String, nil]
|
|
261
|
+
optional :since_id, String
|
|
262
|
+
|
|
263
|
+
# @!attribute source
|
|
264
|
+
# Match the source application.
|
|
265
|
+
#
|
|
266
|
+
# @return [String, nil]
|
|
267
|
+
optional :source, String
|
|
268
|
+
|
|
167
269
|
# @!attribute to_user
|
|
168
270
|
# Filter replies sent to a username.
|
|
169
271
|
#
|
|
@@ -188,7 +290,19 @@ module XTwitterScraper
|
|
|
188
290
|
# @return [Boolean, nil]
|
|
189
291
|
optional :verified_only, XTwitterScraper::Internal::Type::Boolean
|
|
190
292
|
|
|
191
|
-
# @!
|
|
293
|
+
# @!attribute within
|
|
294
|
+
# Set the radius for the near filter.
|
|
295
|
+
#
|
|
296
|
+
# @return [String, nil]
|
|
297
|
+
optional :within, String
|
|
298
|
+
|
|
299
|
+
# @!attribute within_time
|
|
300
|
+
# Match Tweets inside a recent time window.
|
|
301
|
+
#
|
|
302
|
+
# @return [String, nil]
|
|
303
|
+
optional :within_time, String
|
|
304
|
+
|
|
305
|
+
# @!method initialize(id:, any_words: nil, blue_verified_only: nil, card_name: nil, cashtags: nil, conversation_id: nil, cursor: nil, exact_phrase: nil, exclude_source: nil, exclude_words: nil, from_user: nil, geocode: nil, hashtags: nil, include_parent_tweet: nil, in_reply_to_tweet_id: nil, language: nil, max_faves: nil, max_id: nil, max_quotes: nil, max_replies: nil, max_retweets: nil, media_type: nil, mentioning: nil, min_bookmarks: nil, min_faves: nil, min_quotes: nil, min_replies: nil, min_retweets: nil, min_views: nil, native_retweets: nil, near: nil, news: nil, page_size: nil, quotes: nil, quotes_of_tweet_id: nil, replies: nil, retweets: nil, retweets_of_tweet_id: nil, safe: nil, since_date: nil, since_id: nil, source: nil, to_user: nil, until_date: nil, url: nil, verified_only: nil, within: nil, within_time: nil, request_options: {})
|
|
192
306
|
# Some parameter documentations has been truncated, see
|
|
193
307
|
# {XTwitterScraper::Models::X::UserRetrieveRepliesParams} for more details.
|
|
194
308
|
#
|
|
@@ -196,18 +310,26 @@ module XTwitterScraper
|
|
|
196
310
|
#
|
|
197
311
|
# @param any_words [String] Words or quoted phrases where any one can match. Separate with spaces, commas, o
|
|
198
312
|
#
|
|
313
|
+
# @param blue_verified_only [Boolean] Only return tweets from Blue-verified authors.
|
|
314
|
+
#
|
|
315
|
+
# @param card_name [String] Match the Tweet card name.
|
|
316
|
+
#
|
|
199
317
|
# @param cashtags [String] Cashtags separated by spaces, commas, or lines.
|
|
200
318
|
#
|
|
201
319
|
# @param conversation_id [String] Conversation ID filter.
|
|
202
320
|
#
|
|
203
|
-
# @param cursor [String]
|
|
321
|
+
# @param cursor [String] Cursor from the previous response. Xquik cursors resume automatic coverage. Exis
|
|
204
322
|
#
|
|
205
323
|
# @param exact_phrase [String] Exact phrase to match.
|
|
206
324
|
#
|
|
325
|
+
# @param exclude_source [String] Exclude a source application.
|
|
326
|
+
#
|
|
207
327
|
# @param exclude_words [String] Words or quoted phrases to exclude. Separate with spaces, commas, or lines.
|
|
208
328
|
#
|
|
209
329
|
# @param from_user [String] Filter by author username.
|
|
210
330
|
#
|
|
331
|
+
# @param geocode [String] Match latitude, longitude, and radius.
|
|
332
|
+
#
|
|
211
333
|
# @param hashtags [String] Hashtags separated by spaces, commas, or lines.
|
|
212
334
|
#
|
|
213
335
|
# @param include_parent_tweet [Boolean] Include each reply's parent tweet.
|
|
@@ -216,10 +338,22 @@ module XTwitterScraper
|
|
|
216
338
|
#
|
|
217
339
|
# @param language [String] Language code filter, e.g. en or tr.
|
|
218
340
|
#
|
|
341
|
+
# @param max_faves [Integer] Maximum likes threshold. maxLikes is also accepted.
|
|
342
|
+
#
|
|
343
|
+
# @param max_id [String] Return Tweets older than this Tweet ID.
|
|
344
|
+
#
|
|
345
|
+
# @param max_quotes [Integer] Maximum quotes threshold.
|
|
346
|
+
#
|
|
347
|
+
# @param max_replies [Integer] Maximum replies threshold.
|
|
348
|
+
#
|
|
349
|
+
# @param max_retweets [Integer] Maximum retweets threshold.
|
|
350
|
+
#
|
|
219
351
|
# @param media_type [Symbol, XTwitterScraper::Models::X::UserRetrieveRepliesParams::MediaType] Filter by media type.
|
|
220
352
|
#
|
|
221
353
|
# @param mentioning [String] Filter tweets mentioning a username.
|
|
222
354
|
#
|
|
355
|
+
# @param min_bookmarks [Integer] Minimum bookmark count threshold.
|
|
356
|
+
#
|
|
223
357
|
# @param min_faves [Integer] Minimum likes threshold.
|
|
224
358
|
#
|
|
225
359
|
# @param min_quotes [Integer] Minimum quote count threshold.
|
|
@@ -228,7 +362,15 @@ module XTwitterScraper
|
|
|
228
362
|
#
|
|
229
363
|
# @param min_retweets [Integer] Minimum retweets threshold.
|
|
230
364
|
#
|
|
231
|
-
# @param
|
|
365
|
+
# @param min_views [Integer] Minimum view count threshold.
|
|
366
|
+
#
|
|
367
|
+
# @param native_retweets [Boolean] Only return native reposts.
|
|
368
|
+
#
|
|
369
|
+
# @param near [String] Match a place name.
|
|
370
|
+
#
|
|
371
|
+
# @param news [Boolean] Only return news results.
|
|
372
|
+
#
|
|
373
|
+
# @param page_size [Integer] Automatic pages accept 1-300 Tweets. Standard pages keep 1-100. Default 20. Cont
|
|
232
374
|
#
|
|
233
375
|
# @param quotes [Symbol, XTwitterScraper::Models::X::UserRetrieveRepliesParams::Quotes] Quote mode.
|
|
234
376
|
#
|
|
@@ -240,8 +382,14 @@ module XTwitterScraper
|
|
|
240
382
|
#
|
|
241
383
|
# @param retweets_of_tweet_id [String] Only retweets of this tweet ID.
|
|
242
384
|
#
|
|
385
|
+
# @param safe [Boolean] Enable the safe-search filter.
|
|
386
|
+
#
|
|
243
387
|
# @param since_date [Date] Start date in YYYY-MM-DD format.
|
|
244
388
|
#
|
|
389
|
+
# @param since_id [String] Return Tweets newer than this Tweet ID.
|
|
390
|
+
#
|
|
391
|
+
# @param source [String] Match the source application.
|
|
392
|
+
#
|
|
245
393
|
# @param to_user [String] Filter replies sent to a username.
|
|
246
394
|
#
|
|
247
395
|
# @param until_date [Date] End date in YYYY-MM-DD format.
|
|
@@ -250,6 +398,10 @@ module XTwitterScraper
|
|
|
250
398
|
#
|
|
251
399
|
# @param verified_only [Boolean] Only return tweets from verified authors.
|
|
252
400
|
#
|
|
401
|
+
# @param within [String] Set the radius for the near filter.
|
|
402
|
+
#
|
|
403
|
+
# @param within_time [String] Match Tweets inside a recent time window.
|
|
404
|
+
#
|
|
253
405
|
# @param request_options [XTwitterScraper::RequestOptions, Hash{Symbol=>Object}]
|
|
254
406
|
|
|
255
407
|
# Filter by media type.
|
|
@@ -18,17 +18,132 @@ module XTwitterScraper
|
|
|
18
18
|
# @return [String]
|
|
19
19
|
required :q, String
|
|
20
20
|
|
|
21
|
+
# @!attribute bio_contains
|
|
22
|
+
# Match any comma-separated or line-separated bio term, ignoring case.
|
|
23
|
+
#
|
|
24
|
+
# @return [String, nil]
|
|
25
|
+
optional :bio_contains, String
|
|
26
|
+
|
|
21
27
|
# @!attribute cursor
|
|
22
28
|
# Pagination cursor for user search
|
|
23
29
|
#
|
|
24
30
|
# @return [String, nil]
|
|
25
31
|
optional :cursor, String
|
|
26
32
|
|
|
27
|
-
# @!
|
|
33
|
+
# @!attribute has_location
|
|
34
|
+
# Only return profiles with a location.
|
|
35
|
+
#
|
|
36
|
+
# @return [Boolean, nil]
|
|
37
|
+
optional :has_location, XTwitterScraper::Internal::Type::Boolean
|
|
38
|
+
|
|
39
|
+
# @!attribute has_website
|
|
40
|
+
# Only return profiles with a website.
|
|
41
|
+
#
|
|
42
|
+
# @return [Boolean, nil]
|
|
43
|
+
optional :has_website, XTwitterScraper::Internal::Type::Boolean
|
|
44
|
+
|
|
45
|
+
# @!attribute location_contains
|
|
46
|
+
# Match a location substring, ignoring case.
|
|
47
|
+
#
|
|
48
|
+
# @return [String, nil]
|
|
49
|
+
optional :location_contains, String
|
|
50
|
+
|
|
51
|
+
# @!attribute max_followers
|
|
52
|
+
# Maximum follower count. Missing counts pass this maximum.
|
|
53
|
+
#
|
|
54
|
+
# @return [Integer, nil]
|
|
55
|
+
optional :max_followers, Integer
|
|
56
|
+
|
|
57
|
+
# @!attribute max_following
|
|
58
|
+
# Maximum following count.
|
|
59
|
+
#
|
|
60
|
+
# @return [Integer, nil]
|
|
61
|
+
optional :max_following, Integer
|
|
62
|
+
|
|
63
|
+
# @!attribute max_statuses
|
|
64
|
+
# Maximum post count. maxPosts is also accepted.
|
|
65
|
+
#
|
|
66
|
+
# @return [Integer, nil]
|
|
67
|
+
optional :max_statuses, Integer
|
|
68
|
+
|
|
69
|
+
# @!attribute min_account_age_days
|
|
70
|
+
# Minimum account age in whole days.
|
|
71
|
+
#
|
|
72
|
+
# @return [Integer, nil]
|
|
73
|
+
optional :min_account_age_days, Integer
|
|
74
|
+
|
|
75
|
+
# @!attribute min_followers
|
|
76
|
+
# Minimum follower count. Filtering happens before billing.
|
|
77
|
+
#
|
|
78
|
+
# @return [Integer, nil]
|
|
79
|
+
optional :min_followers, Integer
|
|
80
|
+
|
|
81
|
+
# @!attribute min_following
|
|
82
|
+
# Minimum following count.
|
|
83
|
+
#
|
|
84
|
+
# @return [Integer, nil]
|
|
85
|
+
optional :min_following, Integer
|
|
86
|
+
|
|
87
|
+
# @!attribute min_statuses
|
|
88
|
+
# Minimum post count. minPosts is also accepted.
|
|
89
|
+
#
|
|
90
|
+
# @return [Integer, nil]
|
|
91
|
+
optional :min_statuses, Integer
|
|
92
|
+
|
|
93
|
+
# @!attribute username_contains
|
|
94
|
+
# Match a username substring, ignoring case.
|
|
95
|
+
#
|
|
96
|
+
# @return [String, nil]
|
|
97
|
+
optional :username_contains, String
|
|
98
|
+
|
|
99
|
+
# @!attribute verified_only
|
|
100
|
+
# Only return verified profiles.
|
|
101
|
+
#
|
|
102
|
+
# @return [Boolean, nil]
|
|
103
|
+
optional :verified_only, XTwitterScraper::Internal::Type::Boolean
|
|
104
|
+
|
|
105
|
+
# @!attribute verified_type
|
|
106
|
+
# Match the verification type exactly, ignoring case.
|
|
107
|
+
#
|
|
108
|
+
# @return [String, nil]
|
|
109
|
+
optional :verified_type, String
|
|
110
|
+
|
|
111
|
+
# @!method initialize(q:, bio_contains: nil, cursor: nil, has_location: nil, has_website: nil, location_contains: nil, max_followers: nil, max_following: nil, max_statuses: nil, min_account_age_days: nil, min_followers: nil, min_following: nil, min_statuses: nil, username_contains: nil, verified_only: nil, verified_type: nil, request_options: {})
|
|
112
|
+
# Some parameter documentations has been truncated, see
|
|
113
|
+
# {XTwitterScraper::Models::X::UserRetrieveSearchParams} for more details.
|
|
114
|
+
#
|
|
28
115
|
# @param q [String] User search query
|
|
29
116
|
#
|
|
117
|
+
# @param bio_contains [String] Match any comma-separated or line-separated bio term, ignoring case.
|
|
118
|
+
#
|
|
30
119
|
# @param cursor [String] Pagination cursor for user search
|
|
31
120
|
#
|
|
121
|
+
# @param has_location [Boolean] Only return profiles with a location.
|
|
122
|
+
#
|
|
123
|
+
# @param has_website [Boolean] Only return profiles with a website.
|
|
124
|
+
#
|
|
125
|
+
# @param location_contains [String] Match a location substring, ignoring case.
|
|
126
|
+
#
|
|
127
|
+
# @param max_followers [Integer] Maximum follower count. Missing counts pass this maximum.
|
|
128
|
+
#
|
|
129
|
+
# @param max_following [Integer] Maximum following count.
|
|
130
|
+
#
|
|
131
|
+
# @param max_statuses [Integer] Maximum post count. maxPosts is also accepted.
|
|
132
|
+
#
|
|
133
|
+
# @param min_account_age_days [Integer] Minimum account age in whole days.
|
|
134
|
+
#
|
|
135
|
+
# @param min_followers [Integer] Minimum follower count. Filtering happens before billing.
|
|
136
|
+
#
|
|
137
|
+
# @param min_following [Integer] Minimum following count.
|
|
138
|
+
#
|
|
139
|
+
# @param min_statuses [Integer] Minimum post count. minPosts is also accepted.
|
|
140
|
+
#
|
|
141
|
+
# @param username_contains [String] Match a username substring, ignoring case.
|
|
142
|
+
#
|
|
143
|
+
# @param verified_only [Boolean] Only return verified profiles.
|
|
144
|
+
#
|
|
145
|
+
# @param verified_type [String] Match the verification type exactly, ignoring case.
|
|
146
|
+
#
|
|
32
147
|
# @param request_options [XTwitterScraper::RequestOptions, Hash{Symbol=>Object}]
|
|
33
148
|
end
|
|
34
149
|
end
|