x-twitter-scraper 0.9.0 → 0.10.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 +16 -0
- data/README.md +1 -1
- data/lib/x_twitter_scraper/models/error.rb +12 -0
- data/lib/x_twitter_scraper/models/x/tweet_get_quotes_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/tweet_get_thread_params.rb +309 -1
- data/lib/x_twitter_scraper/models/x/tweet_search_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/user_retrieve_likes_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/user_retrieve_media_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/user_retrieve_mentions_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/user_retrieve_replies_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/user_retrieve_tweets_params.rb +2 -2
- data/lib/x_twitter_scraper/resources/guest_wallets.rb +1 -1
- data/lib/x_twitter_scraper/resources/x/tweets.rb +98 -6
- data/lib/x_twitter_scraper/resources/x/users.rb +5 -5
- data/lib/x_twitter_scraper/version.rb +1 -1
- data/rbi/x_twitter_scraper/models/error.rbi +60 -0
- data/rbi/x_twitter_scraper/models/x/tweet_get_quotes_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/tweet_get_replies_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/tweet_get_thread_params.rbi +566 -0
- data/rbi/x_twitter_scraper/models/x/tweet_search_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/user_retrieve_likes_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/user_retrieve_media_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/user_retrieve_mentions_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/user_retrieve_replies_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/user_retrieve_tweets_params.rbi +2 -2
- data/rbi/x_twitter_scraper/resources/guest_wallets.rbi +1 -1
- data/rbi/x_twitter_scraper/resources/x/tweets.rbi +106 -4
- data/rbi/x_twitter_scraper/resources/x/users.rbi +5 -5
- data/sig/x_twitter_scraper/models/error.rbs +24 -0
- data/sig/x_twitter_scraper/models/x/tweet_get_thread_params.rbs +288 -1
- data/sig/x_twitter_scraper/resources/x/tweets.rbs +32 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5f3cc0414acafe6f28d5e4f7ff3dc1256fd6ec5f6e53da6bd17a6fc15f01fd6b
|
|
4
|
+
data.tar.gz: 869c3bc0cebda16b1e082d6b79310712b455a3e6ff5e0362d544b861f0e6f40f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f48e30e4f4727986fa4e4ae2c57f8dc33703f61ce0ce54ed443d225dfd98a9a06cd55a31ebb9a0073fc60a64e166e200ba8f88031c39496dfce1596236539f1e
|
|
7
|
+
data.tar.gz: c9928ce4d434a0dfddb7d1491b652eacd1338869ddc3976f24cae6ebf7499d9cba86d0389dd249e32efc7b5fd801f75a4f26c444314f4c0e959e174f3507c3f0
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.10.0 (2026-08-12)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.9.1...v0.10.0](https://github.com/Xquik-dev/x-twitter-scraper-ruby/compare/v0.9.1...v0.10.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** sync public contracts ([b7fafe0](https://github.com/Xquik-dev/x-twitter-scraper-ruby/commit/b7fafe0efcf6b27464565ca4c54159c2276cb58a))
|
|
10
|
+
|
|
11
|
+
## 0.9.1 (2026-08-11)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v0.9.0...v0.9.1](https://github.com/Xquik-dev/x-twitter-scraper-ruby/compare/v0.9.0...v0.9.1)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** api update ([287b467](https://github.com/Xquik-dev/x-twitter-scraper-ruby/commit/287b46763e0eb97c1f9f1b8ba61aabe77e2f70c3))
|
|
18
|
+
|
|
3
19
|
## 0.9.0 (2026-08-11)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v0.8.0...v0.9.0](https://github.com/Xquik-dev/x-twitter-scraper-ruby/compare/v0.8.0...v0.9.0)
|
data/README.md
CHANGED
|
@@ -118,12 +118,17 @@ module XTwitterScraper
|
|
|
118
118
|
IDEMPOTENCY_CONFLICT = :idempotency_conflict
|
|
119
119
|
IDEMPOTENCY_KEY_CONFLICT = :idempotency_key_conflict
|
|
120
120
|
INVALID_COMMUNITY_ID = :invalid_community_id
|
|
121
|
+
INVALID_COMPLETE_REPLIES_REQUEST = :invalid_complete_replies_request
|
|
121
122
|
INVALID_COVERAGE_CURSOR = :invalid_coverage_cursor
|
|
123
|
+
INVALID_COVERAGE_REQUEST = :invalid_coverage_request
|
|
122
124
|
INVALID_IDEMPOTENCY_KEY = :invalid_idempotency_key
|
|
123
125
|
INVALID_LIST_ID = :invalid_list_id
|
|
126
|
+
INVALID_OUTPUT_OPTIONS = :invalid_output_options
|
|
124
127
|
INVALID_PAYMENT_AMOUNT = :invalid_payment_amount
|
|
125
128
|
INVALID_RANGE = :invalid_range
|
|
129
|
+
INVALID_REPLY_OPTIONS = :invalid_reply_options
|
|
126
130
|
LOGIN_RATE_LIMITED = :login_rate_limited
|
|
131
|
+
LOGIN_SERVICE_UNAVAILABLE = :login_service_unavailable
|
|
127
132
|
MISSING_IDEMPOTENCY_KEY = :missing_idempotency_key
|
|
128
133
|
MISSING_IDS = :missing_ids
|
|
129
134
|
NO_CACHED_STYLE = :no_cached_style
|
|
@@ -134,6 +139,7 @@ module XTwitterScraper
|
|
|
134
139
|
SUPPORT_MEDIA_RATE_LIMIT = :support_media_rate_limit
|
|
135
140
|
SUPPORT_REQUEST_RATE_LIMIT = :support_request_rate_limit
|
|
136
141
|
TOO_MANY_IDS = :too_many_ids
|
|
142
|
+
TOO_MANY_TWEETS = :too_many_tweets
|
|
137
143
|
UNKNOWN_FIELD = :unknown_field
|
|
138
144
|
UNSUPPORTED_MEDIA_TYPE = :unsupported_media_type
|
|
139
145
|
WEBHOOK_INACTIVE = :webhook_inactive
|
|
@@ -251,12 +257,17 @@ module XTwitterScraper
|
|
|
251
257
|
IDEMPOTENCY_CONFLICT = :idempotency_conflict
|
|
252
258
|
IDEMPOTENCY_KEY_CONFLICT = :idempotency_key_conflict
|
|
253
259
|
INVALID_COMMUNITY_ID = :invalid_community_id
|
|
260
|
+
INVALID_COMPLETE_REPLIES_REQUEST = :invalid_complete_replies_request
|
|
254
261
|
INVALID_COVERAGE_CURSOR = :invalid_coverage_cursor
|
|
262
|
+
INVALID_COVERAGE_REQUEST = :invalid_coverage_request
|
|
255
263
|
INVALID_IDEMPOTENCY_KEY = :invalid_idempotency_key
|
|
256
264
|
INVALID_LIST_ID = :invalid_list_id
|
|
265
|
+
INVALID_OUTPUT_OPTIONS = :invalid_output_options
|
|
257
266
|
INVALID_PAYMENT_AMOUNT = :invalid_payment_amount
|
|
258
267
|
INVALID_RANGE = :invalid_range
|
|
268
|
+
INVALID_REPLY_OPTIONS = :invalid_reply_options
|
|
259
269
|
LOGIN_RATE_LIMITED = :login_rate_limited
|
|
270
|
+
LOGIN_SERVICE_UNAVAILABLE = :login_service_unavailable
|
|
260
271
|
MISSING_IDEMPOTENCY_KEY = :missing_idempotency_key
|
|
261
272
|
MISSING_IDS = :missing_ids
|
|
262
273
|
NO_CACHED_STYLE = :no_cached_style
|
|
@@ -267,6 +278,7 @@ module XTwitterScraper
|
|
|
267
278
|
SUPPORT_MEDIA_RATE_LIMIT = :support_media_rate_limit
|
|
268
279
|
SUPPORT_REQUEST_RATE_LIMIT = :support_request_rate_limit
|
|
269
280
|
TOO_MANY_IDS = :too_many_ids
|
|
281
|
+
TOO_MANY_TWEETS = :too_many_tweets
|
|
270
282
|
UNKNOWN_FIELD = :unknown_field
|
|
271
283
|
UNSUPPORTED_MEDIA_TYPE = :unsupported_media_type
|
|
272
284
|
WEBHOOK_INACTIVE = :webhook_inactive
|
|
@@ -157,7 +157,7 @@ module XTwitterScraper
|
|
|
157
157
|
optional :min_bookmarks, Integer
|
|
158
158
|
|
|
159
159
|
# @!attribute min_faves
|
|
160
|
-
# Minimum likes threshold.
|
|
160
|
+
# Minimum likes threshold. minLikes is also accepted.
|
|
161
161
|
#
|
|
162
162
|
# @return [Integer, nil]
|
|
163
163
|
optional :min_faves, Integer
|
|
@@ -366,7 +366,7 @@ module XTwitterScraper
|
|
|
366
366
|
#
|
|
367
367
|
# @param min_bookmarks [Integer] Minimum bookmark count threshold.
|
|
368
368
|
#
|
|
369
|
-
# @param min_faves [Integer] Minimum likes threshold.
|
|
369
|
+
# @param min_faves [Integer] Minimum likes threshold. minLikes is also accepted.
|
|
370
370
|
#
|
|
371
371
|
# @param min_quotes [Integer] Minimum quote count threshold.
|
|
372
372
|
#
|
|
@@ -184,7 +184,7 @@ module XTwitterScraper
|
|
|
184
184
|
optional :min_bookmarks, Integer
|
|
185
185
|
|
|
186
186
|
# @!attribute min_faves
|
|
187
|
-
# Minimum likes threshold.
|
|
187
|
+
# Minimum likes threshold. minLikes is also accepted.
|
|
188
188
|
#
|
|
189
189
|
# @return [Integer, nil]
|
|
190
190
|
optional :min_faves, Integer
|
|
@@ -421,7 +421,7 @@ module XTwitterScraper
|
|
|
421
421
|
#
|
|
422
422
|
# @param min_bookmarks [Integer] Minimum bookmark count threshold.
|
|
423
423
|
#
|
|
424
|
-
# @param min_faves [Integer] Minimum likes threshold.
|
|
424
|
+
# @param min_faves [Integer] Minimum likes threshold. minLikes is also accepted.
|
|
425
425
|
#
|
|
426
426
|
# @param min_quotes [Integer] Minimum quote count threshold.
|
|
427
427
|
#
|
|
@@ -17,12 +17,145 @@ module XTwitterScraper
|
|
|
17
17
|
# @return [String]
|
|
18
18
|
required :id, String
|
|
19
19
|
|
|
20
|
+
# @!attribute any_words
|
|
21
|
+
# Words or quoted phrases where any one can match. Separate with spaces, commas,
|
|
22
|
+
# or lines.
|
|
23
|
+
#
|
|
24
|
+
# @return [String, nil]
|
|
25
|
+
optional :any_words, String
|
|
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 cashtags
|
|
34
|
+
# Cashtags separated by spaces, commas, or lines.
|
|
35
|
+
#
|
|
36
|
+
# @return [String, nil]
|
|
37
|
+
optional :cashtags, String
|
|
38
|
+
|
|
39
|
+
# @!attribute conversation_id
|
|
40
|
+
# Conversation ID filter.
|
|
41
|
+
#
|
|
42
|
+
# @return [String, nil]
|
|
43
|
+
optional :conversation_id, String
|
|
44
|
+
|
|
20
45
|
# @!attribute cursor
|
|
21
46
|
# Pagination cursor for thread tweets
|
|
22
47
|
#
|
|
23
48
|
# @return [String, nil]
|
|
24
49
|
optional :cursor, String
|
|
25
50
|
|
|
51
|
+
# @!attribute exact_phrase
|
|
52
|
+
# Exact phrase to match.
|
|
53
|
+
#
|
|
54
|
+
# @return [String, nil]
|
|
55
|
+
optional :exact_phrase, String
|
|
56
|
+
|
|
57
|
+
# @!attribute exclude_words
|
|
58
|
+
# Words or quoted phrases to exclude. Separate with spaces, commas, or lines.
|
|
59
|
+
#
|
|
60
|
+
# @return [String, nil]
|
|
61
|
+
optional :exclude_words, String
|
|
62
|
+
|
|
63
|
+
# @!attribute from_user
|
|
64
|
+
# Filter by author username.
|
|
65
|
+
#
|
|
66
|
+
# @return [String, nil]
|
|
67
|
+
optional :from_user, String
|
|
68
|
+
|
|
69
|
+
# @!attribute hashtags
|
|
70
|
+
# Hashtags separated by spaces, commas, or lines.
|
|
71
|
+
#
|
|
72
|
+
# @return [String, nil]
|
|
73
|
+
optional :hashtags, String
|
|
74
|
+
|
|
75
|
+
# @!attribute in_reply_to_tweet_id
|
|
76
|
+
# Only replies to this tweet ID.
|
|
77
|
+
#
|
|
78
|
+
# @return [String, nil]
|
|
79
|
+
optional :in_reply_to_tweet_id, String
|
|
80
|
+
|
|
81
|
+
# @!attribute language
|
|
82
|
+
# Language code filter, e.g. en or tr.
|
|
83
|
+
#
|
|
84
|
+
# @return [String, nil]
|
|
85
|
+
optional :language, String
|
|
86
|
+
|
|
87
|
+
# @!attribute max_faves
|
|
88
|
+
# Maximum likes threshold. maxLikes is also accepted.
|
|
89
|
+
#
|
|
90
|
+
# @return [Integer, nil]
|
|
91
|
+
optional :max_faves, Integer
|
|
92
|
+
|
|
93
|
+
# @!attribute max_quotes
|
|
94
|
+
# Maximum quotes threshold.
|
|
95
|
+
#
|
|
96
|
+
# @return [Integer, nil]
|
|
97
|
+
optional :max_quotes, Integer
|
|
98
|
+
|
|
99
|
+
# @!attribute max_replies
|
|
100
|
+
# Maximum replies threshold.
|
|
101
|
+
#
|
|
102
|
+
# @return [Integer, nil]
|
|
103
|
+
optional :max_replies, Integer
|
|
104
|
+
|
|
105
|
+
# @!attribute max_retweets
|
|
106
|
+
# Maximum retweets threshold.
|
|
107
|
+
#
|
|
108
|
+
# @return [Integer, nil]
|
|
109
|
+
optional :max_retweets, Integer
|
|
110
|
+
|
|
111
|
+
# @!attribute media_type
|
|
112
|
+
# Filter by media type.
|
|
113
|
+
#
|
|
114
|
+
# @return [Symbol, XTwitterScraper::Models::X::TweetGetThreadParams::MediaType, nil]
|
|
115
|
+
optional :media_type, enum: -> { XTwitterScraper::X::TweetGetThreadParams::MediaType }
|
|
116
|
+
|
|
117
|
+
# @!attribute mentioning
|
|
118
|
+
# Filter tweets mentioning a username.
|
|
119
|
+
#
|
|
120
|
+
# @return [String, nil]
|
|
121
|
+
optional :mentioning, String
|
|
122
|
+
|
|
123
|
+
# @!attribute min_bookmarks
|
|
124
|
+
# Minimum bookmark count threshold.
|
|
125
|
+
#
|
|
126
|
+
# @return [Integer, nil]
|
|
127
|
+
optional :min_bookmarks, Integer
|
|
128
|
+
|
|
129
|
+
# @!attribute min_faves
|
|
130
|
+
# Minimum likes threshold. minLikes is also accepted.
|
|
131
|
+
#
|
|
132
|
+
# @return [Integer, nil]
|
|
133
|
+
optional :min_faves, Integer
|
|
134
|
+
|
|
135
|
+
# @!attribute min_quotes
|
|
136
|
+
# Minimum quote count threshold.
|
|
137
|
+
#
|
|
138
|
+
# @return [Integer, nil]
|
|
139
|
+
optional :min_quotes, Integer
|
|
140
|
+
|
|
141
|
+
# @!attribute min_replies
|
|
142
|
+
# Minimum replies threshold.
|
|
143
|
+
#
|
|
144
|
+
# @return [Integer, nil]
|
|
145
|
+
optional :min_replies, Integer
|
|
146
|
+
|
|
147
|
+
# @!attribute min_retweets
|
|
148
|
+
# Minimum retweets threshold.
|
|
149
|
+
#
|
|
150
|
+
# @return [Integer, nil]
|
|
151
|
+
optional :min_retweets, Integer
|
|
152
|
+
|
|
153
|
+
# @!attribute min_views
|
|
154
|
+
# Minimum view count threshold.
|
|
155
|
+
#
|
|
156
|
+
# @return [Integer, nil]
|
|
157
|
+
optional :min_views, Integer
|
|
158
|
+
|
|
26
159
|
# @!attribute page_size
|
|
27
160
|
# Maximum page items (1-100, default 20). Source, filters, or credits can reduce
|
|
28
161
|
# results. Continue while has_next_page is true. Deprecated limit and count
|
|
@@ -31,17 +164,192 @@ module XTwitterScraper
|
|
|
31
164
|
# @return [Integer, nil]
|
|
32
165
|
optional :page_size, Integer
|
|
33
166
|
|
|
34
|
-
# @!
|
|
167
|
+
# @!attribute quotes
|
|
168
|
+
# Quote mode.
|
|
169
|
+
#
|
|
170
|
+
# @return [Symbol, XTwitterScraper::Models::X::TweetGetThreadParams::Quotes, nil]
|
|
171
|
+
optional :quotes, enum: -> { XTwitterScraper::X::TweetGetThreadParams::Quotes }
|
|
172
|
+
|
|
173
|
+
# @!attribute quotes_of_tweet_id
|
|
174
|
+
# Only quotes of this tweet ID.
|
|
175
|
+
#
|
|
176
|
+
# @return [String, nil]
|
|
177
|
+
optional :quotes_of_tweet_id, String
|
|
178
|
+
|
|
179
|
+
# @!attribute replies
|
|
180
|
+
# Reply mode.
|
|
181
|
+
#
|
|
182
|
+
# @return [Symbol, XTwitterScraper::Models::X::TweetGetThreadParams::Replies, nil]
|
|
183
|
+
optional :replies, enum: -> { XTwitterScraper::X::TweetGetThreadParams::Replies }
|
|
184
|
+
|
|
185
|
+
# @!attribute retweets
|
|
186
|
+
# Retweet mode.
|
|
187
|
+
#
|
|
188
|
+
# @return [Symbol, XTwitterScraper::Models::X::TweetGetThreadParams::Retweets, nil]
|
|
189
|
+
optional :retweets, enum: -> { XTwitterScraper::X::TweetGetThreadParams::Retweets }
|
|
190
|
+
|
|
191
|
+
# @!attribute retweets_of_tweet_id
|
|
192
|
+
# Only retweets of this tweet ID.
|
|
193
|
+
#
|
|
194
|
+
# @return [String, nil]
|
|
195
|
+
optional :retweets_of_tweet_id, String
|
|
196
|
+
|
|
197
|
+
# @!attribute since_date
|
|
198
|
+
# Start date in YYYY-MM-DD format.
|
|
199
|
+
#
|
|
200
|
+
# @return [Date, nil]
|
|
201
|
+
optional :since_date, Date
|
|
202
|
+
|
|
203
|
+
# @!attribute to_user
|
|
204
|
+
# Filter replies sent to a username.
|
|
205
|
+
#
|
|
206
|
+
# @return [String, nil]
|
|
207
|
+
optional :to_user, String
|
|
208
|
+
|
|
209
|
+
# @!attribute until_date
|
|
210
|
+
# End date in YYYY-MM-DD format.
|
|
211
|
+
#
|
|
212
|
+
# @return [Date, nil]
|
|
213
|
+
optional :until_date, Date
|
|
214
|
+
|
|
215
|
+
# @!attribute url
|
|
216
|
+
# URL substring or domain filter.
|
|
217
|
+
#
|
|
218
|
+
# @return [String, nil]
|
|
219
|
+
optional :url, String
|
|
220
|
+
|
|
221
|
+
# @!attribute verified_only
|
|
222
|
+
# Only return tweets from verified authors.
|
|
223
|
+
#
|
|
224
|
+
# @return [Boolean, nil]
|
|
225
|
+
optional :verified_only, XTwitterScraper::Internal::Type::Boolean
|
|
226
|
+
|
|
227
|
+
# @!method initialize(id:, any_words: nil, blue_verified_only: nil, cashtags: nil, conversation_id: nil, cursor: nil, exact_phrase: nil, exclude_words: nil, from_user: nil, hashtags: nil, in_reply_to_tweet_id: nil, language: nil, max_faves: 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, page_size: nil, quotes: nil, quotes_of_tweet_id: nil, replies: nil, retweets: nil, retweets_of_tweet_id: nil, since_date: nil, to_user: nil, until_date: nil, url: nil, verified_only: nil, request_options: {})
|
|
35
228
|
# Some parameter documentations has been truncated, see
|
|
36
229
|
# {XTwitterScraper::Models::X::TweetGetThreadParams} for more details.
|
|
37
230
|
#
|
|
38
231
|
# @param id [String]
|
|
39
232
|
#
|
|
233
|
+
# @param any_words [String] Words or quoted phrases where any one can match. Separate with spaces, commas, o
|
|
234
|
+
#
|
|
235
|
+
# @param blue_verified_only [Boolean] Only return tweets from Blue-verified authors.
|
|
236
|
+
#
|
|
237
|
+
# @param cashtags [String] Cashtags separated by spaces, commas, or lines.
|
|
238
|
+
#
|
|
239
|
+
# @param conversation_id [String] Conversation ID filter.
|
|
240
|
+
#
|
|
40
241
|
# @param cursor [String] Pagination cursor for thread tweets
|
|
41
242
|
#
|
|
243
|
+
# @param exact_phrase [String] Exact phrase to match.
|
|
244
|
+
#
|
|
245
|
+
# @param exclude_words [String] Words or quoted phrases to exclude. Separate with spaces, commas, or lines.
|
|
246
|
+
#
|
|
247
|
+
# @param from_user [String] Filter by author username.
|
|
248
|
+
#
|
|
249
|
+
# @param hashtags [String] Hashtags separated by spaces, commas, or lines.
|
|
250
|
+
#
|
|
251
|
+
# @param in_reply_to_tweet_id [String] Only replies to this tweet ID.
|
|
252
|
+
#
|
|
253
|
+
# @param language [String] Language code filter, e.g. en or tr.
|
|
254
|
+
#
|
|
255
|
+
# @param max_faves [Integer] Maximum likes threshold. maxLikes is also accepted.
|
|
256
|
+
#
|
|
257
|
+
# @param max_quotes [Integer] Maximum quotes threshold.
|
|
258
|
+
#
|
|
259
|
+
# @param max_replies [Integer] Maximum replies threshold.
|
|
260
|
+
#
|
|
261
|
+
# @param max_retweets [Integer] Maximum retweets threshold.
|
|
262
|
+
#
|
|
263
|
+
# @param media_type [Symbol, XTwitterScraper::Models::X::TweetGetThreadParams::MediaType] Filter by media type.
|
|
264
|
+
#
|
|
265
|
+
# @param mentioning [String] Filter tweets mentioning a username.
|
|
266
|
+
#
|
|
267
|
+
# @param min_bookmarks [Integer] Minimum bookmark count threshold.
|
|
268
|
+
#
|
|
269
|
+
# @param min_faves [Integer] Minimum likes threshold. minLikes is also accepted.
|
|
270
|
+
#
|
|
271
|
+
# @param min_quotes [Integer] Minimum quote count threshold.
|
|
272
|
+
#
|
|
273
|
+
# @param min_replies [Integer] Minimum replies threshold.
|
|
274
|
+
#
|
|
275
|
+
# @param min_retweets [Integer] Minimum retweets threshold.
|
|
276
|
+
#
|
|
277
|
+
# @param min_views [Integer] Minimum view count threshold.
|
|
278
|
+
#
|
|
42
279
|
# @param page_size [Integer] Maximum page items (1-100, default 20). Source, filters, or credits can reduce r
|
|
43
280
|
#
|
|
281
|
+
# @param quotes [Symbol, XTwitterScraper::Models::X::TweetGetThreadParams::Quotes] Quote mode.
|
|
282
|
+
#
|
|
283
|
+
# @param quotes_of_tweet_id [String] Only quotes of this tweet ID.
|
|
284
|
+
#
|
|
285
|
+
# @param replies [Symbol, XTwitterScraper::Models::X::TweetGetThreadParams::Replies] Reply mode.
|
|
286
|
+
#
|
|
287
|
+
# @param retweets [Symbol, XTwitterScraper::Models::X::TweetGetThreadParams::Retweets] Retweet mode.
|
|
288
|
+
#
|
|
289
|
+
# @param retweets_of_tweet_id [String] Only retweets of this tweet ID.
|
|
290
|
+
#
|
|
291
|
+
# @param since_date [Date] Start date in YYYY-MM-DD format.
|
|
292
|
+
#
|
|
293
|
+
# @param to_user [String] Filter replies sent to a username.
|
|
294
|
+
#
|
|
295
|
+
# @param until_date [Date] End date in YYYY-MM-DD format.
|
|
296
|
+
#
|
|
297
|
+
# @param url [String] URL substring or domain filter.
|
|
298
|
+
#
|
|
299
|
+
# @param verified_only [Boolean] Only return tweets from verified authors.
|
|
300
|
+
#
|
|
44
301
|
# @param request_options [XTwitterScraper::RequestOptions, Hash{Symbol=>Object}]
|
|
302
|
+
|
|
303
|
+
# Filter by media type.
|
|
304
|
+
module MediaType
|
|
305
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
306
|
+
|
|
307
|
+
IMAGES = :images
|
|
308
|
+
VIDEOS = :videos
|
|
309
|
+
GIFS = :gifs
|
|
310
|
+
MEDIA = :media
|
|
311
|
+
LINKS = :links
|
|
312
|
+
NONE = :none
|
|
313
|
+
|
|
314
|
+
# @!method self.values
|
|
315
|
+
# @return [Array<Symbol>]
|
|
316
|
+
end
|
|
317
|
+
|
|
318
|
+
# Quote mode.
|
|
319
|
+
module Quotes
|
|
320
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
321
|
+
|
|
322
|
+
INCLUDE = :include
|
|
323
|
+
EXCLUDE = :exclude
|
|
324
|
+
ONLY = :only
|
|
325
|
+
|
|
326
|
+
# @!method self.values
|
|
327
|
+
# @return [Array<Symbol>]
|
|
328
|
+
end
|
|
329
|
+
|
|
330
|
+
# Reply mode.
|
|
331
|
+
module Replies
|
|
332
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
333
|
+
|
|
334
|
+
INCLUDE = :include
|
|
335
|
+
EXCLUDE = :exclude
|
|
336
|
+
ONLY = :only
|
|
337
|
+
|
|
338
|
+
# @!method self.values
|
|
339
|
+
# @return [Array<Symbol>]
|
|
340
|
+
end
|
|
341
|
+
|
|
342
|
+
# Retweet mode.
|
|
343
|
+
module Retweets
|
|
344
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
345
|
+
|
|
346
|
+
INCLUDE = :include
|
|
347
|
+
EXCLUDE = :exclude
|
|
348
|
+
ONLY = :only
|
|
349
|
+
|
|
350
|
+
# @!method self.values
|
|
351
|
+
# @return [Array<Symbol>]
|
|
352
|
+
end
|
|
45
353
|
end
|
|
46
354
|
end
|
|
47
355
|
end
|
|
@@ -179,7 +179,7 @@ module XTwitterScraper
|
|
|
179
179
|
optional :min_bookmarks, Integer
|
|
180
180
|
|
|
181
181
|
# @!attribute min_faves
|
|
182
|
-
# Minimum likes threshold.
|
|
182
|
+
# Minimum likes threshold. minLikes is also accepted.
|
|
183
183
|
#
|
|
184
184
|
# @return [Integer, nil]
|
|
185
185
|
optional :min_faves, Integer
|
|
@@ -417,7 +417,7 @@ module XTwitterScraper
|
|
|
417
417
|
#
|
|
418
418
|
# @param min_bookmarks [Integer] Minimum bookmark count threshold.
|
|
419
419
|
#
|
|
420
|
-
# @param min_faves [Integer] Minimum likes threshold.
|
|
420
|
+
# @param min_faves [Integer] Minimum likes threshold. minLikes is also accepted.
|
|
421
421
|
#
|
|
422
422
|
# @param min_quotes [Integer] Minimum quote count threshold.
|
|
423
423
|
#
|
|
@@ -151,7 +151,7 @@ module XTwitterScraper
|
|
|
151
151
|
optional :min_bookmarks, Integer
|
|
152
152
|
|
|
153
153
|
# @!attribute min_faves
|
|
154
|
-
# Minimum likes threshold.
|
|
154
|
+
# Minimum likes threshold. minLikes is also accepted.
|
|
155
155
|
#
|
|
156
156
|
# @return [Integer, nil]
|
|
157
157
|
optional :min_faves, Integer
|
|
@@ -346,7 +346,7 @@ module XTwitterScraper
|
|
|
346
346
|
#
|
|
347
347
|
# @param min_bookmarks [Integer] Minimum bookmark count threshold.
|
|
348
348
|
#
|
|
349
|
-
# @param min_faves [Integer] Minimum likes threshold.
|
|
349
|
+
# @param min_faves [Integer] Minimum likes threshold. minLikes is also accepted.
|
|
350
350
|
#
|
|
351
351
|
# @param min_quotes [Integer] Minimum quote count threshold.
|
|
352
352
|
#
|
|
@@ -151,7 +151,7 @@ module XTwitterScraper
|
|
|
151
151
|
optional :min_bookmarks, Integer
|
|
152
152
|
|
|
153
153
|
# @!attribute min_faves
|
|
154
|
-
# Minimum likes threshold.
|
|
154
|
+
# Minimum likes threshold. minLikes is also accepted.
|
|
155
155
|
#
|
|
156
156
|
# @return [Integer, nil]
|
|
157
157
|
optional :min_faves, Integer
|
|
@@ -346,7 +346,7 @@ module XTwitterScraper
|
|
|
346
346
|
#
|
|
347
347
|
# @param min_bookmarks [Integer] Minimum bookmark count threshold.
|
|
348
348
|
#
|
|
349
|
-
# @param min_faves [Integer] Minimum likes threshold.
|
|
349
|
+
# @param min_faves [Integer] Minimum likes threshold. minLikes is also accepted.
|
|
350
350
|
#
|
|
351
351
|
# @param min_quotes [Integer] Minimum quote count threshold.
|
|
352
352
|
#
|
|
@@ -151,7 +151,7 @@ module XTwitterScraper
|
|
|
151
151
|
optional :min_bookmarks, Integer
|
|
152
152
|
|
|
153
153
|
# @!attribute min_faves
|
|
154
|
-
# Minimum likes threshold.
|
|
154
|
+
# Minimum likes threshold. minLikes is also accepted.
|
|
155
155
|
#
|
|
156
156
|
# @return [Integer, nil]
|
|
157
157
|
optional :min_faves, Integer
|
|
@@ -358,7 +358,7 @@ module XTwitterScraper
|
|
|
358
358
|
#
|
|
359
359
|
# @param min_bookmarks [Integer] Minimum bookmark count threshold.
|
|
360
360
|
#
|
|
361
|
-
# @param min_faves [Integer] Minimum likes threshold.
|
|
361
|
+
# @param min_faves [Integer] Minimum likes threshold. minLikes is also accepted.
|
|
362
362
|
#
|
|
363
363
|
# @param min_quotes [Integer] Minimum quote count threshold.
|
|
364
364
|
#
|
|
@@ -158,7 +158,7 @@ module XTwitterScraper
|
|
|
158
158
|
optional :min_bookmarks, Integer
|
|
159
159
|
|
|
160
160
|
# @!attribute min_faves
|
|
161
|
-
# Minimum likes threshold.
|
|
161
|
+
# Minimum likes threshold. minLikes is also accepted.
|
|
162
162
|
#
|
|
163
163
|
# @return [Integer, nil]
|
|
164
164
|
optional :min_faves, Integer
|
|
@@ -354,7 +354,7 @@ module XTwitterScraper
|
|
|
354
354
|
#
|
|
355
355
|
# @param min_bookmarks [Integer] Minimum bookmark count threshold.
|
|
356
356
|
#
|
|
357
|
-
# @param min_faves [Integer] Minimum likes threshold.
|
|
357
|
+
# @param min_faves [Integer] Minimum likes threshold. minLikes is also accepted.
|
|
358
358
|
#
|
|
359
359
|
# @param min_quotes [Integer] Minimum quote count threshold.
|
|
360
360
|
#
|
|
@@ -164,7 +164,7 @@ module XTwitterScraper
|
|
|
164
164
|
optional :min_bookmarks, Integer
|
|
165
165
|
|
|
166
166
|
# @!attribute min_faves
|
|
167
|
-
# Minimum likes threshold.
|
|
167
|
+
# Minimum likes threshold. minLikes is also accepted.
|
|
168
168
|
#
|
|
169
169
|
# @return [Integer, nil]
|
|
170
170
|
optional :min_faves, Integer
|
|
@@ -362,7 +362,7 @@ module XTwitterScraper
|
|
|
362
362
|
#
|
|
363
363
|
# @param min_bookmarks [Integer] Minimum bookmark count threshold.
|
|
364
364
|
#
|
|
365
|
-
# @param min_faves [Integer] Minimum likes threshold.
|
|
365
|
+
# @param min_faves [Integer] Minimum likes threshold. minLikes is also accepted.
|
|
366
366
|
#
|
|
367
367
|
# @param min_quotes [Integer] Minimum quote count threshold.
|
|
368
368
|
#
|
|
@@ -13,7 +13,7 @@ module XTwitterScraper
|
|
|
13
13
|
#
|
|
14
14
|
# Create a one-use hosted checkout after the user confirms $10-$250 USD. The
|
|
15
15
|
# request creates no charge. It returns a paid-read API key without an Xquik
|
|
16
|
-
# account.
|
|
16
|
+
# account. Idempotent replays return the same key.
|
|
17
17
|
#
|
|
18
18
|
# @overload create(amount_minor:, idempotency_key:, currency: :usd, request_options: {})
|
|
19
19
|
#
|