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