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
|
@@ -9,32 +9,51 @@ module XTwitterScraper
|
|
|
9
9
|
{
|
|
10
10
|
id: String,
|
|
11
11
|
any_words: String,
|
|
12
|
+
blue_verified_only: bool,
|
|
13
|
+
card_name: String,
|
|
12
14
|
cashtags: String,
|
|
13
15
|
conversation_id: String,
|
|
14
16
|
cursor: String,
|
|
15
17
|
exact_phrase: String,
|
|
18
|
+
exclude_source: String,
|
|
16
19
|
exclude_words: String,
|
|
17
20
|
from_user: String,
|
|
21
|
+
geocode: String,
|
|
18
22
|
hashtags: String,
|
|
19
23
|
in_reply_to_tweet_id: String,
|
|
20
24
|
language: String,
|
|
25
|
+
max_faves: Integer,
|
|
26
|
+
max_id: String,
|
|
27
|
+
max_quotes: Integer,
|
|
28
|
+
max_replies: Integer,
|
|
29
|
+
max_retweets: Integer,
|
|
21
30
|
media_type: XTwitterScraper::Models::X::UserRetrieveMediaParams::media_type,
|
|
22
31
|
mentioning: String,
|
|
32
|
+
min_bookmarks: Integer,
|
|
23
33
|
min_faves: Integer,
|
|
24
34
|
min_quotes: Integer,
|
|
25
35
|
min_replies: Integer,
|
|
26
36
|
min_retweets: Integer,
|
|
37
|
+
min_views: Integer,
|
|
38
|
+
native_retweets: bool,
|
|
39
|
+
near: String,
|
|
40
|
+
news: bool,
|
|
27
41
|
page_size: Integer,
|
|
28
42
|
quotes: XTwitterScraper::Models::X::UserRetrieveMediaParams::quotes,
|
|
29
43
|
quotes_of_tweet_id: String,
|
|
30
44
|
replies: XTwitterScraper::Models::X::UserRetrieveMediaParams::replies,
|
|
31
45
|
retweets: XTwitterScraper::Models::X::UserRetrieveMediaParams::retweets,
|
|
32
46
|
retweets_of_tweet_id: String,
|
|
47
|
+
safe: bool,
|
|
33
48
|
since_date: Date,
|
|
49
|
+
since_id: String,
|
|
50
|
+
source: String,
|
|
34
51
|
to_user: String,
|
|
35
52
|
until_date: Date,
|
|
36
53
|
url: String,
|
|
37
|
-
verified_only: bool
|
|
54
|
+
verified_only: bool,
|
|
55
|
+
within: String,
|
|
56
|
+
within_time: String
|
|
38
57
|
}
|
|
39
58
|
& XTwitterScraper::Internal::Type::request_parameters
|
|
40
59
|
|
|
@@ -48,6 +67,14 @@ module XTwitterScraper
|
|
|
48
67
|
|
|
49
68
|
def any_words=: (String) -> String
|
|
50
69
|
|
|
70
|
+
attr_reader blue_verified_only: bool?
|
|
71
|
+
|
|
72
|
+
def blue_verified_only=: (bool) -> bool
|
|
73
|
+
|
|
74
|
+
attr_reader card_name: String?
|
|
75
|
+
|
|
76
|
+
def card_name=: (String) -> String
|
|
77
|
+
|
|
51
78
|
attr_reader cashtags: String?
|
|
52
79
|
|
|
53
80
|
def cashtags=: (String) -> String
|
|
@@ -64,6 +91,10 @@ module XTwitterScraper
|
|
|
64
91
|
|
|
65
92
|
def exact_phrase=: (String) -> String
|
|
66
93
|
|
|
94
|
+
attr_reader exclude_source: String?
|
|
95
|
+
|
|
96
|
+
def exclude_source=: (String) -> String
|
|
97
|
+
|
|
67
98
|
attr_reader exclude_words: String?
|
|
68
99
|
|
|
69
100
|
def exclude_words=: (String) -> String
|
|
@@ -72,6 +103,10 @@ module XTwitterScraper
|
|
|
72
103
|
|
|
73
104
|
def from_user=: (String) -> String
|
|
74
105
|
|
|
106
|
+
attr_reader geocode: String?
|
|
107
|
+
|
|
108
|
+
def geocode=: (String) -> String
|
|
109
|
+
|
|
75
110
|
attr_reader hashtags: String?
|
|
76
111
|
|
|
77
112
|
def hashtags=: (String) -> String
|
|
@@ -84,6 +119,26 @@ module XTwitterScraper
|
|
|
84
119
|
|
|
85
120
|
def language=: (String) -> String
|
|
86
121
|
|
|
122
|
+
attr_reader max_faves: Integer?
|
|
123
|
+
|
|
124
|
+
def max_faves=: (Integer) -> Integer
|
|
125
|
+
|
|
126
|
+
attr_reader max_id: String?
|
|
127
|
+
|
|
128
|
+
def max_id=: (String) -> String
|
|
129
|
+
|
|
130
|
+
attr_reader max_quotes: Integer?
|
|
131
|
+
|
|
132
|
+
def max_quotes=: (Integer) -> Integer
|
|
133
|
+
|
|
134
|
+
attr_reader max_replies: Integer?
|
|
135
|
+
|
|
136
|
+
def max_replies=: (Integer) -> Integer
|
|
137
|
+
|
|
138
|
+
attr_reader max_retweets: Integer?
|
|
139
|
+
|
|
140
|
+
def max_retweets=: (Integer) -> Integer
|
|
141
|
+
|
|
87
142
|
attr_reader media_type: XTwitterScraper::Models::X::UserRetrieveMediaParams::media_type?
|
|
88
143
|
|
|
89
144
|
def media_type=: (
|
|
@@ -94,6 +149,10 @@ module XTwitterScraper
|
|
|
94
149
|
|
|
95
150
|
def mentioning=: (String) -> String
|
|
96
151
|
|
|
152
|
+
attr_reader min_bookmarks: Integer?
|
|
153
|
+
|
|
154
|
+
def min_bookmarks=: (Integer) -> Integer
|
|
155
|
+
|
|
97
156
|
attr_reader min_faves: Integer?
|
|
98
157
|
|
|
99
158
|
def min_faves=: (Integer) -> Integer
|
|
@@ -110,6 +169,22 @@ module XTwitterScraper
|
|
|
110
169
|
|
|
111
170
|
def min_retweets=: (Integer) -> Integer
|
|
112
171
|
|
|
172
|
+
attr_reader min_views: Integer?
|
|
173
|
+
|
|
174
|
+
def min_views=: (Integer) -> Integer
|
|
175
|
+
|
|
176
|
+
attr_reader native_retweets: bool?
|
|
177
|
+
|
|
178
|
+
def native_retweets=: (bool) -> bool
|
|
179
|
+
|
|
180
|
+
attr_reader near: String?
|
|
181
|
+
|
|
182
|
+
def near=: (String) -> String
|
|
183
|
+
|
|
184
|
+
attr_reader news: bool?
|
|
185
|
+
|
|
186
|
+
def news=: (bool) -> bool
|
|
187
|
+
|
|
113
188
|
attr_reader page_size: Integer?
|
|
114
189
|
|
|
115
190
|
def page_size=: (Integer) -> Integer
|
|
@@ -140,10 +215,22 @@ module XTwitterScraper
|
|
|
140
215
|
|
|
141
216
|
def retweets_of_tweet_id=: (String) -> String
|
|
142
217
|
|
|
218
|
+
attr_reader safe: bool?
|
|
219
|
+
|
|
220
|
+
def safe=: (bool) -> bool
|
|
221
|
+
|
|
143
222
|
attr_reader since_date: Date?
|
|
144
223
|
|
|
145
224
|
def since_date=: (Date) -> Date
|
|
146
225
|
|
|
226
|
+
attr_reader since_id: String?
|
|
227
|
+
|
|
228
|
+
def since_id=: (String) -> String
|
|
229
|
+
|
|
230
|
+
attr_reader source: String?
|
|
231
|
+
|
|
232
|
+
def source=: (String) -> String
|
|
233
|
+
|
|
147
234
|
attr_reader to_user: String?
|
|
148
235
|
|
|
149
236
|
def to_user=: (String) -> String
|
|
@@ -160,67 +247,113 @@ module XTwitterScraper
|
|
|
160
247
|
|
|
161
248
|
def verified_only=: (bool) -> bool
|
|
162
249
|
|
|
250
|
+
attr_reader within: String?
|
|
251
|
+
|
|
252
|
+
def within=: (String) -> String
|
|
253
|
+
|
|
254
|
+
attr_reader within_time: String?
|
|
255
|
+
|
|
256
|
+
def within_time=: (String) -> String
|
|
257
|
+
|
|
163
258
|
def initialize: (
|
|
164
259
|
id: String,
|
|
165
260
|
?any_words: String,
|
|
261
|
+
?blue_verified_only: bool,
|
|
262
|
+
?card_name: String,
|
|
166
263
|
?cashtags: String,
|
|
167
264
|
?conversation_id: String,
|
|
168
265
|
?cursor: String,
|
|
169
266
|
?exact_phrase: String,
|
|
267
|
+
?exclude_source: String,
|
|
170
268
|
?exclude_words: String,
|
|
171
269
|
?from_user: String,
|
|
270
|
+
?geocode: String,
|
|
172
271
|
?hashtags: String,
|
|
173
272
|
?in_reply_to_tweet_id: String,
|
|
174
273
|
?language: String,
|
|
274
|
+
?max_faves: Integer,
|
|
275
|
+
?max_id: String,
|
|
276
|
+
?max_quotes: Integer,
|
|
277
|
+
?max_replies: Integer,
|
|
278
|
+
?max_retweets: Integer,
|
|
175
279
|
?media_type: XTwitterScraper::Models::X::UserRetrieveMediaParams::media_type,
|
|
176
280
|
?mentioning: String,
|
|
281
|
+
?min_bookmarks: Integer,
|
|
177
282
|
?min_faves: Integer,
|
|
178
283
|
?min_quotes: Integer,
|
|
179
284
|
?min_replies: Integer,
|
|
180
285
|
?min_retweets: Integer,
|
|
286
|
+
?min_views: Integer,
|
|
287
|
+
?native_retweets: bool,
|
|
288
|
+
?near: String,
|
|
289
|
+
?news: bool,
|
|
181
290
|
?page_size: Integer,
|
|
182
291
|
?quotes: XTwitterScraper::Models::X::UserRetrieveMediaParams::quotes,
|
|
183
292
|
?quotes_of_tweet_id: String,
|
|
184
293
|
?replies: XTwitterScraper::Models::X::UserRetrieveMediaParams::replies,
|
|
185
294
|
?retweets: XTwitterScraper::Models::X::UserRetrieveMediaParams::retweets,
|
|
186
295
|
?retweets_of_tweet_id: String,
|
|
296
|
+
?safe: bool,
|
|
187
297
|
?since_date: Date,
|
|
298
|
+
?since_id: String,
|
|
299
|
+
?source: String,
|
|
188
300
|
?to_user: String,
|
|
189
301
|
?until_date: Date,
|
|
190
302
|
?url: String,
|
|
191
303
|
?verified_only: bool,
|
|
304
|
+
?within: String,
|
|
305
|
+
?within_time: String,
|
|
192
306
|
?request_options: XTwitterScraper::request_opts
|
|
193
307
|
) -> void
|
|
194
308
|
|
|
195
309
|
def to_hash: -> {
|
|
196
310
|
id: String,
|
|
197
311
|
any_words: String,
|
|
312
|
+
blue_verified_only: bool,
|
|
313
|
+
card_name: String,
|
|
198
314
|
cashtags: String,
|
|
199
315
|
conversation_id: String,
|
|
200
316
|
cursor: String,
|
|
201
317
|
exact_phrase: String,
|
|
318
|
+
exclude_source: String,
|
|
202
319
|
exclude_words: String,
|
|
203
320
|
from_user: String,
|
|
321
|
+
geocode: String,
|
|
204
322
|
hashtags: String,
|
|
205
323
|
in_reply_to_tweet_id: String,
|
|
206
324
|
language: String,
|
|
325
|
+
max_faves: Integer,
|
|
326
|
+
max_id: String,
|
|
327
|
+
max_quotes: Integer,
|
|
328
|
+
max_replies: Integer,
|
|
329
|
+
max_retweets: Integer,
|
|
207
330
|
media_type: XTwitterScraper::Models::X::UserRetrieveMediaParams::media_type,
|
|
208
331
|
mentioning: String,
|
|
332
|
+
min_bookmarks: Integer,
|
|
209
333
|
min_faves: Integer,
|
|
210
334
|
min_quotes: Integer,
|
|
211
335
|
min_replies: Integer,
|
|
212
336
|
min_retweets: Integer,
|
|
337
|
+
min_views: Integer,
|
|
338
|
+
native_retweets: bool,
|
|
339
|
+
near: String,
|
|
340
|
+
news: bool,
|
|
213
341
|
page_size: Integer,
|
|
214
342
|
quotes: XTwitterScraper::Models::X::UserRetrieveMediaParams::quotes,
|
|
215
343
|
quotes_of_tweet_id: String,
|
|
216
344
|
replies: XTwitterScraper::Models::X::UserRetrieveMediaParams::replies,
|
|
217
345
|
retweets: XTwitterScraper::Models::X::UserRetrieveMediaParams::retweets,
|
|
218
346
|
retweets_of_tweet_id: String,
|
|
347
|
+
safe: bool,
|
|
219
348
|
since_date: Date,
|
|
349
|
+
since_id: String,
|
|
350
|
+
source: String,
|
|
220
351
|
to_user: String,
|
|
221
352
|
until_date: Date,
|
|
222
353
|
url: String,
|
|
223
354
|
verified_only: bool,
|
|
355
|
+
within: String,
|
|
356
|
+
within_time: String,
|
|
224
357
|
request_options: XTwitterScraper::RequestOptions
|
|
225
358
|
}
|
|
226
359
|
|
|
@@ -9,34 +9,53 @@ module XTwitterScraper
|
|
|
9
9
|
{
|
|
10
10
|
id: String,
|
|
11
11
|
any_words: String,
|
|
12
|
+
blue_verified_only: bool,
|
|
13
|
+
card_name: String,
|
|
12
14
|
cashtags: String,
|
|
13
15
|
conversation_id: String,
|
|
14
16
|
cursor: String,
|
|
15
17
|
exact_phrase: String,
|
|
18
|
+
exclude_source: String,
|
|
16
19
|
exclude_words: String,
|
|
17
20
|
from_user: String,
|
|
21
|
+
geocode: String,
|
|
18
22
|
hashtags: String,
|
|
19
23
|
in_reply_to_tweet_id: String,
|
|
20
24
|
language: String,
|
|
25
|
+
max_faves: Integer,
|
|
26
|
+
max_id: String,
|
|
27
|
+
max_quotes: Integer,
|
|
28
|
+
max_replies: Integer,
|
|
29
|
+
max_retweets: Integer,
|
|
21
30
|
media_type: XTwitterScraper::Models::X::UserRetrieveMentionsParams::media_type,
|
|
22
31
|
mentioning: String,
|
|
32
|
+
min_bookmarks: Integer,
|
|
23
33
|
min_faves: Integer,
|
|
24
34
|
min_quotes: Integer,
|
|
25
35
|
min_replies: Integer,
|
|
26
36
|
min_retweets: Integer,
|
|
37
|
+
min_views: Integer,
|
|
38
|
+
native_retweets: bool,
|
|
39
|
+
near: String,
|
|
40
|
+
news: bool,
|
|
27
41
|
page_size: Integer,
|
|
28
42
|
quotes: XTwitterScraper::Models::X::UserRetrieveMentionsParams::quotes,
|
|
29
43
|
quotes_of_tweet_id: String,
|
|
30
44
|
replies: XTwitterScraper::Models::X::UserRetrieveMentionsParams::replies,
|
|
31
45
|
retweets: XTwitterScraper::Models::X::UserRetrieveMentionsParams::retweets,
|
|
32
46
|
retweets_of_tweet_id: String,
|
|
47
|
+
safe: bool,
|
|
33
48
|
since_date: Date,
|
|
49
|
+
since_id: String,
|
|
34
50
|
since_time: String,
|
|
51
|
+
source: String,
|
|
35
52
|
to_user: String,
|
|
36
53
|
until_date: Date,
|
|
37
54
|
until_time: String,
|
|
38
55
|
url: String,
|
|
39
|
-
verified_only: bool
|
|
56
|
+
verified_only: bool,
|
|
57
|
+
within: String,
|
|
58
|
+
within_time: String
|
|
40
59
|
}
|
|
41
60
|
& XTwitterScraper::Internal::Type::request_parameters
|
|
42
61
|
|
|
@@ -50,6 +69,14 @@ module XTwitterScraper
|
|
|
50
69
|
|
|
51
70
|
def any_words=: (String) -> String
|
|
52
71
|
|
|
72
|
+
attr_reader blue_verified_only: bool?
|
|
73
|
+
|
|
74
|
+
def blue_verified_only=: (bool) -> bool
|
|
75
|
+
|
|
76
|
+
attr_reader card_name: String?
|
|
77
|
+
|
|
78
|
+
def card_name=: (String) -> String
|
|
79
|
+
|
|
53
80
|
attr_reader cashtags: String?
|
|
54
81
|
|
|
55
82
|
def cashtags=: (String) -> String
|
|
@@ -66,6 +93,10 @@ module XTwitterScraper
|
|
|
66
93
|
|
|
67
94
|
def exact_phrase=: (String) -> String
|
|
68
95
|
|
|
96
|
+
attr_reader exclude_source: String?
|
|
97
|
+
|
|
98
|
+
def exclude_source=: (String) -> String
|
|
99
|
+
|
|
69
100
|
attr_reader exclude_words: String?
|
|
70
101
|
|
|
71
102
|
def exclude_words=: (String) -> String
|
|
@@ -74,6 +105,10 @@ module XTwitterScraper
|
|
|
74
105
|
|
|
75
106
|
def from_user=: (String) -> String
|
|
76
107
|
|
|
108
|
+
attr_reader geocode: String?
|
|
109
|
+
|
|
110
|
+
def geocode=: (String) -> String
|
|
111
|
+
|
|
77
112
|
attr_reader hashtags: String?
|
|
78
113
|
|
|
79
114
|
def hashtags=: (String) -> String
|
|
@@ -86,6 +121,26 @@ module XTwitterScraper
|
|
|
86
121
|
|
|
87
122
|
def language=: (String) -> String
|
|
88
123
|
|
|
124
|
+
attr_reader max_faves: Integer?
|
|
125
|
+
|
|
126
|
+
def max_faves=: (Integer) -> Integer
|
|
127
|
+
|
|
128
|
+
attr_reader max_id: String?
|
|
129
|
+
|
|
130
|
+
def max_id=: (String) -> String
|
|
131
|
+
|
|
132
|
+
attr_reader max_quotes: Integer?
|
|
133
|
+
|
|
134
|
+
def max_quotes=: (Integer) -> Integer
|
|
135
|
+
|
|
136
|
+
attr_reader max_replies: Integer?
|
|
137
|
+
|
|
138
|
+
def max_replies=: (Integer) -> Integer
|
|
139
|
+
|
|
140
|
+
attr_reader max_retweets: Integer?
|
|
141
|
+
|
|
142
|
+
def max_retweets=: (Integer) -> Integer
|
|
143
|
+
|
|
89
144
|
attr_reader media_type: XTwitterScraper::Models::X::UserRetrieveMentionsParams::media_type?
|
|
90
145
|
|
|
91
146
|
def media_type=: (
|
|
@@ -96,6 +151,10 @@ module XTwitterScraper
|
|
|
96
151
|
|
|
97
152
|
def mentioning=: (String) -> String
|
|
98
153
|
|
|
154
|
+
attr_reader min_bookmarks: Integer?
|
|
155
|
+
|
|
156
|
+
def min_bookmarks=: (Integer) -> Integer
|
|
157
|
+
|
|
99
158
|
attr_reader min_faves: Integer?
|
|
100
159
|
|
|
101
160
|
def min_faves=: (Integer) -> Integer
|
|
@@ -112,6 +171,22 @@ module XTwitterScraper
|
|
|
112
171
|
|
|
113
172
|
def min_retweets=: (Integer) -> Integer
|
|
114
173
|
|
|
174
|
+
attr_reader min_views: Integer?
|
|
175
|
+
|
|
176
|
+
def min_views=: (Integer) -> Integer
|
|
177
|
+
|
|
178
|
+
attr_reader native_retweets: bool?
|
|
179
|
+
|
|
180
|
+
def native_retweets=: (bool) -> bool
|
|
181
|
+
|
|
182
|
+
attr_reader near: String?
|
|
183
|
+
|
|
184
|
+
def near=: (String) -> String
|
|
185
|
+
|
|
186
|
+
attr_reader news: bool?
|
|
187
|
+
|
|
188
|
+
def news=: (bool) -> bool
|
|
189
|
+
|
|
115
190
|
attr_reader page_size: Integer?
|
|
116
191
|
|
|
117
192
|
def page_size=: (Integer) -> Integer
|
|
@@ -142,14 +217,26 @@ module XTwitterScraper
|
|
|
142
217
|
|
|
143
218
|
def retweets_of_tweet_id=: (String) -> String
|
|
144
219
|
|
|
220
|
+
attr_reader safe: bool?
|
|
221
|
+
|
|
222
|
+
def safe=: (bool) -> bool
|
|
223
|
+
|
|
145
224
|
attr_reader since_date: Date?
|
|
146
225
|
|
|
147
226
|
def since_date=: (Date) -> Date
|
|
148
227
|
|
|
228
|
+
attr_reader since_id: String?
|
|
229
|
+
|
|
230
|
+
def since_id=: (String) -> String
|
|
231
|
+
|
|
149
232
|
attr_reader since_time: String?
|
|
150
233
|
|
|
151
234
|
def since_time=: (String) -> String
|
|
152
235
|
|
|
236
|
+
attr_reader source: String?
|
|
237
|
+
|
|
238
|
+
def source=: (String) -> String
|
|
239
|
+
|
|
153
240
|
attr_reader to_user: String?
|
|
154
241
|
|
|
155
242
|
def to_user=: (String) -> String
|
|
@@ -170,71 +257,117 @@ module XTwitterScraper
|
|
|
170
257
|
|
|
171
258
|
def verified_only=: (bool) -> bool
|
|
172
259
|
|
|
260
|
+
attr_reader within: String?
|
|
261
|
+
|
|
262
|
+
def within=: (String) -> String
|
|
263
|
+
|
|
264
|
+
attr_reader within_time: String?
|
|
265
|
+
|
|
266
|
+
def within_time=: (String) -> String
|
|
267
|
+
|
|
173
268
|
def initialize: (
|
|
174
269
|
id: String,
|
|
175
270
|
?any_words: String,
|
|
271
|
+
?blue_verified_only: bool,
|
|
272
|
+
?card_name: String,
|
|
176
273
|
?cashtags: String,
|
|
177
274
|
?conversation_id: String,
|
|
178
275
|
?cursor: String,
|
|
179
276
|
?exact_phrase: String,
|
|
277
|
+
?exclude_source: String,
|
|
180
278
|
?exclude_words: String,
|
|
181
279
|
?from_user: String,
|
|
280
|
+
?geocode: String,
|
|
182
281
|
?hashtags: String,
|
|
183
282
|
?in_reply_to_tweet_id: String,
|
|
184
283
|
?language: String,
|
|
284
|
+
?max_faves: Integer,
|
|
285
|
+
?max_id: String,
|
|
286
|
+
?max_quotes: Integer,
|
|
287
|
+
?max_replies: Integer,
|
|
288
|
+
?max_retweets: Integer,
|
|
185
289
|
?media_type: XTwitterScraper::Models::X::UserRetrieveMentionsParams::media_type,
|
|
186
290
|
?mentioning: String,
|
|
291
|
+
?min_bookmarks: Integer,
|
|
187
292
|
?min_faves: Integer,
|
|
188
293
|
?min_quotes: Integer,
|
|
189
294
|
?min_replies: Integer,
|
|
190
295
|
?min_retweets: Integer,
|
|
296
|
+
?min_views: Integer,
|
|
297
|
+
?native_retweets: bool,
|
|
298
|
+
?near: String,
|
|
299
|
+
?news: bool,
|
|
191
300
|
?page_size: Integer,
|
|
192
301
|
?quotes: XTwitterScraper::Models::X::UserRetrieveMentionsParams::quotes,
|
|
193
302
|
?quotes_of_tweet_id: String,
|
|
194
303
|
?replies: XTwitterScraper::Models::X::UserRetrieveMentionsParams::replies,
|
|
195
304
|
?retweets: XTwitterScraper::Models::X::UserRetrieveMentionsParams::retweets,
|
|
196
305
|
?retweets_of_tweet_id: String,
|
|
306
|
+
?safe: bool,
|
|
197
307
|
?since_date: Date,
|
|
308
|
+
?since_id: String,
|
|
198
309
|
?since_time: String,
|
|
310
|
+
?source: String,
|
|
199
311
|
?to_user: String,
|
|
200
312
|
?until_date: Date,
|
|
201
313
|
?until_time: String,
|
|
202
314
|
?url: String,
|
|
203
315
|
?verified_only: bool,
|
|
316
|
+
?within: String,
|
|
317
|
+
?within_time: String,
|
|
204
318
|
?request_options: XTwitterScraper::request_opts
|
|
205
319
|
) -> void
|
|
206
320
|
|
|
207
321
|
def to_hash: -> {
|
|
208
322
|
id: String,
|
|
209
323
|
any_words: String,
|
|
324
|
+
blue_verified_only: bool,
|
|
325
|
+
card_name: String,
|
|
210
326
|
cashtags: String,
|
|
211
327
|
conversation_id: String,
|
|
212
328
|
cursor: String,
|
|
213
329
|
exact_phrase: String,
|
|
330
|
+
exclude_source: String,
|
|
214
331
|
exclude_words: String,
|
|
215
332
|
from_user: String,
|
|
333
|
+
geocode: String,
|
|
216
334
|
hashtags: String,
|
|
217
335
|
in_reply_to_tweet_id: String,
|
|
218
336
|
language: String,
|
|
337
|
+
max_faves: Integer,
|
|
338
|
+
max_id: String,
|
|
339
|
+
max_quotes: Integer,
|
|
340
|
+
max_replies: Integer,
|
|
341
|
+
max_retweets: Integer,
|
|
219
342
|
media_type: XTwitterScraper::Models::X::UserRetrieveMentionsParams::media_type,
|
|
220
343
|
mentioning: String,
|
|
344
|
+
min_bookmarks: Integer,
|
|
221
345
|
min_faves: Integer,
|
|
222
346
|
min_quotes: Integer,
|
|
223
347
|
min_replies: Integer,
|
|
224
348
|
min_retweets: Integer,
|
|
349
|
+
min_views: Integer,
|
|
350
|
+
native_retweets: bool,
|
|
351
|
+
near: String,
|
|
352
|
+
news: bool,
|
|
225
353
|
page_size: Integer,
|
|
226
354
|
quotes: XTwitterScraper::Models::X::UserRetrieveMentionsParams::quotes,
|
|
227
355
|
quotes_of_tweet_id: String,
|
|
228
356
|
replies: XTwitterScraper::Models::X::UserRetrieveMentionsParams::replies,
|
|
229
357
|
retweets: XTwitterScraper::Models::X::UserRetrieveMentionsParams::retweets,
|
|
230
358
|
retweets_of_tweet_id: String,
|
|
359
|
+
safe: bool,
|
|
231
360
|
since_date: Date,
|
|
361
|
+
since_id: String,
|
|
232
362
|
since_time: String,
|
|
363
|
+
source: String,
|
|
233
364
|
to_user: String,
|
|
234
365
|
until_date: Date,
|
|
235
366
|
until_time: String,
|
|
236
367
|
url: String,
|
|
237
368
|
verified_only: bool,
|
|
369
|
+
within: String,
|
|
370
|
+
within_time: String,
|
|
238
371
|
request_options: XTwitterScraper::RequestOptions
|
|
239
372
|
}
|
|
240
373
|
|