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,36 +9,61 @@ 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_original_author: bool,
|
|
19
|
+
exclude_source: String,
|
|
16
20
|
exclude_words: String,
|
|
17
21
|
from_user: String,
|
|
22
|
+
geocode: String,
|
|
18
23
|
hashtags: String,
|
|
24
|
+
has_media_only: bool,
|
|
25
|
+
include_original_post: bool,
|
|
19
26
|
in_reply_to_tweet_id: String,
|
|
20
27
|
language: String,
|
|
21
28
|
limit: Integer,
|
|
29
|
+
max_depth: Integer,
|
|
30
|
+
max_faves: Integer,
|
|
31
|
+
max_id: String,
|
|
32
|
+
max_quotes: Integer,
|
|
33
|
+
max_replies: Integer,
|
|
34
|
+
max_retweets: Integer,
|
|
22
35
|
media_type: XTwitterScraper::Models::X::TweetGetRepliesParams::media_type,
|
|
23
36
|
mentioning: String,
|
|
37
|
+
min_bookmarks: Integer,
|
|
24
38
|
min_faves: Integer,
|
|
25
39
|
min_quotes: Integer,
|
|
26
40
|
min_replies: Integer,
|
|
27
41
|
min_retweets: Integer,
|
|
42
|
+
min_views: Integer,
|
|
28
43
|
mode: XTwitterScraper::Models::X::TweetGetRepliesParams::mode,
|
|
44
|
+
native_retweets: bool,
|
|
45
|
+
near: String,
|
|
46
|
+
news: bool,
|
|
29
47
|
page_size: Integer,
|
|
30
48
|
quotes: XTwitterScraper::Models::X::TweetGetRepliesParams::quotes,
|
|
31
49
|
quotes_of_tweet_id: String,
|
|
32
50
|
replies: XTwitterScraper::Models::X::TweetGetRepliesParams::replies,
|
|
33
51
|
retweets: XTwitterScraper::Models::X::TweetGetRepliesParams::retweets,
|
|
34
52
|
retweets_of_tweet_id: String,
|
|
53
|
+
safe: bool,
|
|
54
|
+
scope: XTwitterScraper::Models::X::TweetGetRepliesParams::scope,
|
|
35
55
|
since_date: Date,
|
|
56
|
+
since_id: String,
|
|
36
57
|
since_time: String,
|
|
58
|
+
sort: XTwitterScraper::Models::X::TweetGetRepliesParams::sort,
|
|
59
|
+
source: String,
|
|
37
60
|
to_user: String,
|
|
38
61
|
until_date: Date,
|
|
39
62
|
until_time: String,
|
|
40
63
|
url: String,
|
|
41
|
-
verified_only: bool
|
|
64
|
+
verified_only: bool,
|
|
65
|
+
within: String,
|
|
66
|
+
within_time: String
|
|
42
67
|
}
|
|
43
68
|
& XTwitterScraper::Internal::Type::request_parameters
|
|
44
69
|
|
|
@@ -52,6 +77,14 @@ module XTwitterScraper
|
|
|
52
77
|
|
|
53
78
|
def any_words=: (String) -> String
|
|
54
79
|
|
|
80
|
+
attr_reader blue_verified_only: bool?
|
|
81
|
+
|
|
82
|
+
def blue_verified_only=: (bool) -> bool
|
|
83
|
+
|
|
84
|
+
attr_reader card_name: String?
|
|
85
|
+
|
|
86
|
+
def card_name=: (String) -> String
|
|
87
|
+
|
|
55
88
|
attr_reader cashtags: String?
|
|
56
89
|
|
|
57
90
|
def cashtags=: (String) -> String
|
|
@@ -68,6 +101,14 @@ module XTwitterScraper
|
|
|
68
101
|
|
|
69
102
|
def exact_phrase=: (String) -> String
|
|
70
103
|
|
|
104
|
+
attr_reader exclude_original_author: bool?
|
|
105
|
+
|
|
106
|
+
def exclude_original_author=: (bool) -> bool
|
|
107
|
+
|
|
108
|
+
attr_reader exclude_source: String?
|
|
109
|
+
|
|
110
|
+
def exclude_source=: (String) -> String
|
|
111
|
+
|
|
71
112
|
attr_reader exclude_words: String?
|
|
72
113
|
|
|
73
114
|
def exclude_words=: (String) -> String
|
|
@@ -76,10 +117,22 @@ module XTwitterScraper
|
|
|
76
117
|
|
|
77
118
|
def from_user=: (String) -> String
|
|
78
119
|
|
|
120
|
+
attr_reader geocode: String?
|
|
121
|
+
|
|
122
|
+
def geocode=: (String) -> String
|
|
123
|
+
|
|
79
124
|
attr_reader hashtags: String?
|
|
80
125
|
|
|
81
126
|
def hashtags=: (String) -> String
|
|
82
127
|
|
|
128
|
+
attr_reader has_media_only: bool?
|
|
129
|
+
|
|
130
|
+
def has_media_only=: (bool) -> bool
|
|
131
|
+
|
|
132
|
+
attr_reader include_original_post: bool?
|
|
133
|
+
|
|
134
|
+
def include_original_post=: (bool) -> bool
|
|
135
|
+
|
|
83
136
|
attr_reader in_reply_to_tweet_id: String?
|
|
84
137
|
|
|
85
138
|
def in_reply_to_tweet_id=: (String) -> String
|
|
@@ -92,6 +145,30 @@ module XTwitterScraper
|
|
|
92
145
|
|
|
93
146
|
def limit=: (Integer) -> Integer
|
|
94
147
|
|
|
148
|
+
attr_reader max_depth: Integer?
|
|
149
|
+
|
|
150
|
+
def max_depth=: (Integer) -> Integer
|
|
151
|
+
|
|
152
|
+
attr_reader max_faves: Integer?
|
|
153
|
+
|
|
154
|
+
def max_faves=: (Integer) -> Integer
|
|
155
|
+
|
|
156
|
+
attr_reader max_id: String?
|
|
157
|
+
|
|
158
|
+
def max_id=: (String) -> String
|
|
159
|
+
|
|
160
|
+
attr_reader max_quotes: Integer?
|
|
161
|
+
|
|
162
|
+
def max_quotes=: (Integer) -> Integer
|
|
163
|
+
|
|
164
|
+
attr_reader max_replies: Integer?
|
|
165
|
+
|
|
166
|
+
def max_replies=: (Integer) -> Integer
|
|
167
|
+
|
|
168
|
+
attr_reader max_retweets: Integer?
|
|
169
|
+
|
|
170
|
+
def max_retweets=: (Integer) -> Integer
|
|
171
|
+
|
|
95
172
|
attr_reader media_type: XTwitterScraper::Models::X::TweetGetRepliesParams::media_type?
|
|
96
173
|
|
|
97
174
|
def media_type=: (
|
|
@@ -102,6 +179,10 @@ module XTwitterScraper
|
|
|
102
179
|
|
|
103
180
|
def mentioning=: (String) -> String
|
|
104
181
|
|
|
182
|
+
attr_reader min_bookmarks: Integer?
|
|
183
|
+
|
|
184
|
+
def min_bookmarks=: (Integer) -> Integer
|
|
185
|
+
|
|
105
186
|
attr_reader min_faves: Integer?
|
|
106
187
|
|
|
107
188
|
def min_faves=: (Integer) -> Integer
|
|
@@ -118,12 +199,28 @@ module XTwitterScraper
|
|
|
118
199
|
|
|
119
200
|
def min_retweets=: (Integer) -> Integer
|
|
120
201
|
|
|
202
|
+
attr_reader min_views: Integer?
|
|
203
|
+
|
|
204
|
+
def min_views=: (Integer) -> Integer
|
|
205
|
+
|
|
121
206
|
attr_reader mode: XTwitterScraper::Models::X::TweetGetRepliesParams::mode?
|
|
122
207
|
|
|
123
208
|
def mode=: (
|
|
124
209
|
XTwitterScraper::Models::X::TweetGetRepliesParams::mode
|
|
125
210
|
) -> XTwitterScraper::Models::X::TweetGetRepliesParams::mode
|
|
126
211
|
|
|
212
|
+
attr_reader native_retweets: bool?
|
|
213
|
+
|
|
214
|
+
def native_retweets=: (bool) -> bool
|
|
215
|
+
|
|
216
|
+
attr_reader near: String?
|
|
217
|
+
|
|
218
|
+
def near=: (String) -> String
|
|
219
|
+
|
|
220
|
+
attr_reader news: bool?
|
|
221
|
+
|
|
222
|
+
def news=: (bool) -> bool
|
|
223
|
+
|
|
127
224
|
attr_reader page_size: Integer?
|
|
128
225
|
|
|
129
226
|
def page_size=: (Integer) -> Integer
|
|
@@ -154,14 +251,38 @@ module XTwitterScraper
|
|
|
154
251
|
|
|
155
252
|
def retweets_of_tweet_id=: (String) -> String
|
|
156
253
|
|
|
254
|
+
attr_reader safe: bool?
|
|
255
|
+
|
|
256
|
+
def safe=: (bool) -> bool
|
|
257
|
+
|
|
258
|
+
attr_reader scope: XTwitterScraper::Models::X::TweetGetRepliesParams::scope?
|
|
259
|
+
|
|
260
|
+
def scope=: (
|
|
261
|
+
XTwitterScraper::Models::X::TweetGetRepliesParams::scope
|
|
262
|
+
) -> XTwitterScraper::Models::X::TweetGetRepliesParams::scope
|
|
263
|
+
|
|
157
264
|
attr_reader since_date: Date?
|
|
158
265
|
|
|
159
266
|
def since_date=: (Date) -> Date
|
|
160
267
|
|
|
268
|
+
attr_reader since_id: String?
|
|
269
|
+
|
|
270
|
+
def since_id=: (String) -> String
|
|
271
|
+
|
|
161
272
|
attr_reader since_time: String?
|
|
162
273
|
|
|
163
274
|
def since_time=: (String) -> String
|
|
164
275
|
|
|
276
|
+
attr_reader sort: XTwitterScraper::Models::X::TweetGetRepliesParams::sort?
|
|
277
|
+
|
|
278
|
+
def sort=: (
|
|
279
|
+
XTwitterScraper::Models::X::TweetGetRepliesParams::sort
|
|
280
|
+
) -> XTwitterScraper::Models::X::TweetGetRepliesParams::sort
|
|
281
|
+
|
|
282
|
+
attr_reader source: String?
|
|
283
|
+
|
|
284
|
+
def source=: (String) -> String
|
|
285
|
+
|
|
165
286
|
attr_reader to_user: String?
|
|
166
287
|
|
|
167
288
|
def to_user=: (String) -> String
|
|
@@ -182,75 +303,133 @@ module XTwitterScraper
|
|
|
182
303
|
|
|
183
304
|
def verified_only=: (bool) -> bool
|
|
184
305
|
|
|
306
|
+
attr_reader within: String?
|
|
307
|
+
|
|
308
|
+
def within=: (String) -> String
|
|
309
|
+
|
|
310
|
+
attr_reader within_time: String?
|
|
311
|
+
|
|
312
|
+
def within_time=: (String) -> String
|
|
313
|
+
|
|
185
314
|
def initialize: (
|
|
186
315
|
id: String,
|
|
187
316
|
?any_words: String,
|
|
317
|
+
?blue_verified_only: bool,
|
|
318
|
+
?card_name: String,
|
|
188
319
|
?cashtags: String,
|
|
189
320
|
?conversation_id: String,
|
|
190
321
|
?cursor: String,
|
|
191
322
|
?exact_phrase: String,
|
|
323
|
+
?exclude_original_author: bool,
|
|
324
|
+
?exclude_source: String,
|
|
192
325
|
?exclude_words: String,
|
|
193
326
|
?from_user: String,
|
|
327
|
+
?geocode: String,
|
|
194
328
|
?hashtags: String,
|
|
329
|
+
?has_media_only: bool,
|
|
330
|
+
?include_original_post: bool,
|
|
195
331
|
?in_reply_to_tweet_id: String,
|
|
196
332
|
?language: String,
|
|
197
333
|
?limit: Integer,
|
|
334
|
+
?max_depth: Integer,
|
|
335
|
+
?max_faves: Integer,
|
|
336
|
+
?max_id: String,
|
|
337
|
+
?max_quotes: Integer,
|
|
338
|
+
?max_replies: Integer,
|
|
339
|
+
?max_retweets: Integer,
|
|
198
340
|
?media_type: XTwitterScraper::Models::X::TweetGetRepliesParams::media_type,
|
|
199
341
|
?mentioning: String,
|
|
342
|
+
?min_bookmarks: Integer,
|
|
200
343
|
?min_faves: Integer,
|
|
201
344
|
?min_quotes: Integer,
|
|
202
345
|
?min_replies: Integer,
|
|
203
346
|
?min_retweets: Integer,
|
|
347
|
+
?min_views: Integer,
|
|
204
348
|
?mode: XTwitterScraper::Models::X::TweetGetRepliesParams::mode,
|
|
349
|
+
?native_retweets: bool,
|
|
350
|
+
?near: String,
|
|
351
|
+
?news: bool,
|
|
205
352
|
?page_size: Integer,
|
|
206
353
|
?quotes: XTwitterScraper::Models::X::TweetGetRepliesParams::quotes,
|
|
207
354
|
?quotes_of_tweet_id: String,
|
|
208
355
|
?replies: XTwitterScraper::Models::X::TweetGetRepliesParams::replies,
|
|
209
356
|
?retweets: XTwitterScraper::Models::X::TweetGetRepliesParams::retweets,
|
|
210
357
|
?retweets_of_tweet_id: String,
|
|
358
|
+
?safe: bool,
|
|
359
|
+
?scope: XTwitterScraper::Models::X::TweetGetRepliesParams::scope,
|
|
211
360
|
?since_date: Date,
|
|
361
|
+
?since_id: String,
|
|
212
362
|
?since_time: String,
|
|
363
|
+
?sort: XTwitterScraper::Models::X::TweetGetRepliesParams::sort,
|
|
364
|
+
?source: String,
|
|
213
365
|
?to_user: String,
|
|
214
366
|
?until_date: Date,
|
|
215
367
|
?until_time: String,
|
|
216
368
|
?url: String,
|
|
217
369
|
?verified_only: bool,
|
|
370
|
+
?within: String,
|
|
371
|
+
?within_time: String,
|
|
218
372
|
?request_options: XTwitterScraper::request_opts
|
|
219
373
|
) -> void
|
|
220
374
|
|
|
221
375
|
def to_hash: -> {
|
|
222
376
|
id: String,
|
|
223
377
|
any_words: String,
|
|
378
|
+
blue_verified_only: bool,
|
|
379
|
+
card_name: String,
|
|
224
380
|
cashtags: String,
|
|
225
381
|
conversation_id: String,
|
|
226
382
|
cursor: String,
|
|
227
383
|
exact_phrase: String,
|
|
384
|
+
exclude_original_author: bool,
|
|
385
|
+
exclude_source: String,
|
|
228
386
|
exclude_words: String,
|
|
229
387
|
from_user: String,
|
|
388
|
+
geocode: String,
|
|
230
389
|
hashtags: String,
|
|
390
|
+
has_media_only: bool,
|
|
391
|
+
include_original_post: bool,
|
|
231
392
|
in_reply_to_tweet_id: String,
|
|
232
393
|
language: String,
|
|
233
394
|
limit: Integer,
|
|
395
|
+
max_depth: Integer,
|
|
396
|
+
max_faves: Integer,
|
|
397
|
+
max_id: String,
|
|
398
|
+
max_quotes: Integer,
|
|
399
|
+
max_replies: Integer,
|
|
400
|
+
max_retweets: Integer,
|
|
234
401
|
media_type: XTwitterScraper::Models::X::TweetGetRepliesParams::media_type,
|
|
235
402
|
mentioning: String,
|
|
403
|
+
min_bookmarks: Integer,
|
|
236
404
|
min_faves: Integer,
|
|
237
405
|
min_quotes: Integer,
|
|
238
406
|
min_replies: Integer,
|
|
239
407
|
min_retweets: Integer,
|
|
408
|
+
min_views: Integer,
|
|
240
409
|
mode: XTwitterScraper::Models::X::TweetGetRepliesParams::mode,
|
|
410
|
+
native_retweets: bool,
|
|
411
|
+
near: String,
|
|
412
|
+
news: bool,
|
|
241
413
|
page_size: Integer,
|
|
242
414
|
quotes: XTwitterScraper::Models::X::TweetGetRepliesParams::quotes,
|
|
243
415
|
quotes_of_tweet_id: String,
|
|
244
416
|
replies: XTwitterScraper::Models::X::TweetGetRepliesParams::replies,
|
|
245
417
|
retweets: XTwitterScraper::Models::X::TweetGetRepliesParams::retweets,
|
|
246
418
|
retweets_of_tweet_id: String,
|
|
419
|
+
safe: bool,
|
|
420
|
+
scope: XTwitterScraper::Models::X::TweetGetRepliesParams::scope,
|
|
247
421
|
since_date: Date,
|
|
422
|
+
since_id: String,
|
|
248
423
|
since_time: String,
|
|
424
|
+
sort: XTwitterScraper::Models::X::TweetGetRepliesParams::sort,
|
|
425
|
+
source: String,
|
|
249
426
|
to_user: String,
|
|
250
427
|
until_date: Date,
|
|
251
428
|
until_time: String,
|
|
252
429
|
url: String,
|
|
253
430
|
verified_only: bool,
|
|
431
|
+
within: String,
|
|
432
|
+
within_time: String,
|
|
254
433
|
request_options: XTwitterScraper::RequestOptions
|
|
255
434
|
}
|
|
256
435
|
|
|
@@ -269,11 +448,12 @@ module XTwitterScraper
|
|
|
269
448
|
def self?.values: -> ::Array[XTwitterScraper::Models::X::TweetGetRepliesParams::media_type]
|
|
270
449
|
end
|
|
271
450
|
|
|
272
|
-
type mode = :complete
|
|
451
|
+
type mode = :standard | :complete
|
|
273
452
|
|
|
274
453
|
module Mode
|
|
275
454
|
extend XTwitterScraper::Internal::Type::Enum
|
|
276
455
|
|
|
456
|
+
STANDARD: :standard
|
|
277
457
|
COMPLETE: :complete
|
|
278
458
|
|
|
279
459
|
def self?.values: -> ::Array[XTwitterScraper::Models::X::TweetGetRepliesParams::mode]
|
|
@@ -314,6 +494,31 @@ module XTwitterScraper
|
|
|
314
494
|
|
|
315
495
|
def self?.values: -> ::Array[XTwitterScraper::Models::X::TweetGetRepliesParams::retweets]
|
|
316
496
|
end
|
|
497
|
+
|
|
498
|
+
type scope = :all | :direct | :nested
|
|
499
|
+
|
|
500
|
+
module Scope
|
|
501
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
502
|
+
|
|
503
|
+
ALL: :all
|
|
504
|
+
DIRECT: :direct
|
|
505
|
+
NESTED: :nested
|
|
506
|
+
|
|
507
|
+
def self?.values: -> ::Array[XTwitterScraper::Models::X::TweetGetRepliesParams::scope]
|
|
508
|
+
end
|
|
509
|
+
|
|
510
|
+
type sort = :relevance | :latest | :oldest | :likes
|
|
511
|
+
|
|
512
|
+
module Sort
|
|
513
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
514
|
+
|
|
515
|
+
RELEVANCE: :relevance
|
|
516
|
+
LATEST: :latest
|
|
517
|
+
OLDEST: :oldest
|
|
518
|
+
LIKES: :likes
|
|
519
|
+
|
|
520
|
+
def self?.values: -> ::Array[XTwitterScraper::Models::X::TweetGetRepliesParams::sort]
|
|
521
|
+
end
|
|
317
522
|
end
|
|
318
523
|
end
|
|
319
524
|
end
|
|
@@ -6,7 +6,25 @@ module XTwitterScraper
|
|
|
6
6
|
module Models
|
|
7
7
|
module X
|
|
8
8
|
type tweet_get_retweeters_params =
|
|
9
|
-
{
|
|
9
|
+
{
|
|
10
|
+
id: 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
|
+
page_size: Integer,
|
|
24
|
+
username_contains: String,
|
|
25
|
+
verified_only: bool,
|
|
26
|
+
verified_type: String
|
|
27
|
+
}
|
|
10
28
|
& XTwitterScraper::Internal::Type::request_parameters
|
|
11
29
|
|
|
12
30
|
class TweetGetRetweetersParams < XTwitterScraper::Internal::Type::BaseModel
|
|
@@ -15,25 +33,109 @@ module XTwitterScraper
|
|
|
15
33
|
|
|
16
34
|
attr_accessor id: String
|
|
17
35
|
|
|
36
|
+
attr_reader bio_contains: String?
|
|
37
|
+
|
|
38
|
+
def bio_contains=: (String) -> String
|
|
39
|
+
|
|
18
40
|
attr_reader cursor: String?
|
|
19
41
|
|
|
20
42
|
def cursor=: (String) -> String
|
|
21
43
|
|
|
44
|
+
attr_reader has_location: bool?
|
|
45
|
+
|
|
46
|
+
def has_location=: (bool) -> bool
|
|
47
|
+
|
|
48
|
+
attr_reader has_website: bool?
|
|
49
|
+
|
|
50
|
+
def has_website=: (bool) -> bool
|
|
51
|
+
|
|
52
|
+
attr_reader location_contains: String?
|
|
53
|
+
|
|
54
|
+
def location_contains=: (String) -> String
|
|
55
|
+
|
|
56
|
+
attr_reader max_followers: Integer?
|
|
57
|
+
|
|
58
|
+
def max_followers=: (Integer) -> Integer
|
|
59
|
+
|
|
60
|
+
attr_reader max_following: Integer?
|
|
61
|
+
|
|
62
|
+
def max_following=: (Integer) -> Integer
|
|
63
|
+
|
|
64
|
+
attr_reader max_statuses: Integer?
|
|
65
|
+
|
|
66
|
+
def max_statuses=: (Integer) -> Integer
|
|
67
|
+
|
|
68
|
+
attr_reader min_account_age_days: Integer?
|
|
69
|
+
|
|
70
|
+
def min_account_age_days=: (Integer) -> Integer
|
|
71
|
+
|
|
72
|
+
attr_reader min_followers: Integer?
|
|
73
|
+
|
|
74
|
+
def min_followers=: (Integer) -> Integer
|
|
75
|
+
|
|
76
|
+
attr_reader min_following: Integer?
|
|
77
|
+
|
|
78
|
+
def min_following=: (Integer) -> Integer
|
|
79
|
+
|
|
80
|
+
attr_reader min_statuses: Integer?
|
|
81
|
+
|
|
82
|
+
def min_statuses=: (Integer) -> Integer
|
|
83
|
+
|
|
22
84
|
attr_reader page_size: Integer?
|
|
23
85
|
|
|
24
86
|
def page_size=: (Integer) -> Integer
|
|
25
87
|
|
|
88
|
+
attr_reader username_contains: String?
|
|
89
|
+
|
|
90
|
+
def username_contains=: (String) -> String
|
|
91
|
+
|
|
92
|
+
attr_reader verified_only: bool?
|
|
93
|
+
|
|
94
|
+
def verified_only=: (bool) -> bool
|
|
95
|
+
|
|
96
|
+
attr_reader verified_type: String?
|
|
97
|
+
|
|
98
|
+
def verified_type=: (String) -> String
|
|
99
|
+
|
|
26
100
|
def initialize: (
|
|
27
101
|
id: String,
|
|
102
|
+
?bio_contains: String,
|
|
28
103
|
?cursor: String,
|
|
104
|
+
?has_location: bool,
|
|
105
|
+
?has_website: bool,
|
|
106
|
+
?location_contains: String,
|
|
107
|
+
?max_followers: Integer,
|
|
108
|
+
?max_following: Integer,
|
|
109
|
+
?max_statuses: Integer,
|
|
110
|
+
?min_account_age_days: Integer,
|
|
111
|
+
?min_followers: Integer,
|
|
112
|
+
?min_following: Integer,
|
|
113
|
+
?min_statuses: Integer,
|
|
29
114
|
?page_size: Integer,
|
|
115
|
+
?username_contains: String,
|
|
116
|
+
?verified_only: bool,
|
|
117
|
+
?verified_type: String,
|
|
30
118
|
?request_options: XTwitterScraper::request_opts
|
|
31
119
|
) -> void
|
|
32
120
|
|
|
33
121
|
def to_hash: -> {
|
|
34
122
|
id: String,
|
|
123
|
+
bio_contains: String,
|
|
35
124
|
cursor: String,
|
|
125
|
+
has_location: bool,
|
|
126
|
+
has_website: bool,
|
|
127
|
+
location_contains: String,
|
|
128
|
+
max_followers: Integer,
|
|
129
|
+
max_following: Integer,
|
|
130
|
+
max_statuses: Integer,
|
|
131
|
+
min_account_age_days: Integer,
|
|
132
|
+
min_followers: Integer,
|
|
133
|
+
min_following: Integer,
|
|
134
|
+
min_statuses: Integer,
|
|
36
135
|
page_size: Integer,
|
|
136
|
+
username_contains: String,
|
|
137
|
+
verified_only: bool,
|
|
138
|
+
verified_type: String,
|
|
37
139
|
request_options: XTwitterScraper::RequestOptions
|
|
38
140
|
}
|
|
39
141
|
end
|