x-twitter-scraper 0.7.3 → 0.9.1
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
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8792afcc912a8fd874ef1043061e5665ea854668ad08416dd828db64110c4df0
|
|
4
|
+
data.tar.gz: 3f8bb5f24306f664e560a1c3cb8d0cb999ee65a1140ec7b4a84ff22ec8bc46c8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 451d33d084cdeb8b5f7a9faab57ae296eff565682277aa2a655e2f5916c5ce43f8d1d94d7029832bd9cdf2bf8432e6bd836077b67b9feb38e9262429a92a36cd
|
|
7
|
+
data.tar.gz: fd3d82bc8347ff72b9b259b0e9ccaf8f22f7b9c45572f7d3e5c7b7a3e7e19f5dfc63bf3020077f94072b261ce6c4691f96a3076dd787c170269992b8d426f0e3
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.9.1 (2026-08-11)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.9.0...v0.9.1](https://github.com/Xquik-dev/x-twitter-scraper-ruby/compare/v0.9.0...v0.9.1)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([287b467](https://github.com/Xquik-dev/x-twitter-scraper-ruby/commit/287b46763e0eb97c1f9f1b8ba61aabe77e2f70c3))
|
|
10
|
+
|
|
11
|
+
## 0.9.0 (2026-08-11)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v0.8.0...v0.9.0](https://github.com/Xquik-dev/x-twitter-scraper-ruby/compare/v0.8.0...v0.9.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** api update ([2647a56](https://github.com/Xquik-dev/x-twitter-scraper-ruby/commit/2647a56dbde8e668cc71e0fb233b1b86857c1e0f))
|
|
18
|
+
|
|
19
|
+
## 0.8.0 (2026-08-11)
|
|
20
|
+
|
|
21
|
+
Full Changelog: [v0.7.3...v0.8.0](https://github.com/Xquik-dev/x-twitter-scraper-ruby/compare/v0.7.3...v0.8.0)
|
|
22
|
+
|
|
23
|
+
### Features
|
|
24
|
+
|
|
25
|
+
* **api:** api update ([b854ae2](https://github.com/Xquik-dev/x-twitter-scraper-ruby/commit/b854ae2f7bbfc3891ed68f224c4e09f9aaca56d4))
|
|
26
|
+
|
|
3
27
|
## 0.7.3 (2026-08-11)
|
|
4
28
|
|
|
5
29
|
Full Changelog: [v0.7.2...v0.7.3](https://github.com/Xquik-dev/x-twitter-scraper-ruby/compare/v0.7.2...v0.7.3)
|
data/README.md
CHANGED
|
@@ -35,7 +35,7 @@ Add the gem to your `Gemfile`:
|
|
|
35
35
|
<!-- x-release-please-start-version -->
|
|
36
36
|
|
|
37
37
|
```ruby
|
|
38
|
-
gem "x-twitter-scraper", "~> 0.
|
|
38
|
+
gem "x-twitter-scraper", "~> 0.9.1"
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
<!-- x-release-please-end -->
|
|
@@ -50,9 +50,9 @@ x_twitter_scraper = XTwitterScraper::Client.new(
|
|
|
50
50
|
api_key: ENV["X_TWITTER_SCRAPER_API_KEY"] # This is the default and can be omitted
|
|
51
51
|
)
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
response = x_twitter_scraper.x.tweets.search(q: "from:elonmusk", limit: 10)
|
|
54
54
|
|
|
55
|
-
puts(
|
|
55
|
+
puts(response)
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
### Handling errors
|
|
@@ -9,14 +9,14 @@ module XTwitterScraper
|
|
|
9
9
|
# @see XTwitterScraper::Resources::Credits#topup_balance
|
|
10
10
|
class CreditTopupBalanceResponse < XTwitterScraper::Internal::Type::BaseModel
|
|
11
11
|
# @!attribute redirect_url
|
|
12
|
-
# Stable
|
|
12
|
+
# Stable Xquik redirect URL for the active checkout.
|
|
13
13
|
#
|
|
14
14
|
# @return [String]
|
|
15
15
|
required :redirect_url, String
|
|
16
16
|
|
|
17
17
|
# @!attribute url
|
|
18
|
-
# Same stable
|
|
19
|
-
#
|
|
18
|
+
# Same stable Xquik redirect URL as redirect_url. The response never exposes the
|
|
19
|
+
# hosted checkout URL.
|
|
20
20
|
#
|
|
21
21
|
# @return [String]
|
|
22
22
|
required :url, String
|
|
@@ -25,9 +25,9 @@ module XTwitterScraper
|
|
|
25
25
|
# Some parameter documentations has been truncated, see
|
|
26
26
|
# {XTwitterScraper::Models::CreditTopupBalanceResponse} for more details.
|
|
27
27
|
#
|
|
28
|
-
# @param redirect_url [String] Stable
|
|
28
|
+
# @param redirect_url [String] Stable Xquik redirect URL for the active checkout.
|
|
29
29
|
#
|
|
30
|
-
# @param url [String] Same stable
|
|
30
|
+
# @param url [String] Same stable Xquik redirect URL as redirect_url. The response never exposes the h
|
|
31
31
|
end
|
|
32
32
|
end
|
|
33
33
|
end
|
|
@@ -17,7 +17,8 @@ module XTwitterScraper
|
|
|
17
17
|
required :id, String
|
|
18
18
|
|
|
19
19
|
# @!attribute format_
|
|
20
|
-
# Export output format
|
|
20
|
+
# Export output format. PDF entry exports include up to 10,000 rows. Other entry
|
|
21
|
+
# formats include up to 100,000 rows.
|
|
21
22
|
#
|
|
22
23
|
# @return [Symbol, XTwitterScraper::Models::DrawExportParams::Format]
|
|
23
24
|
required :format_, enum: -> { XTwitterScraper::DrawExportParams::Format }
|
|
@@ -29,15 +30,19 @@ module XTwitterScraper
|
|
|
29
30
|
optional :type, enum: -> { XTwitterScraper::DrawExportParams::Type }
|
|
30
31
|
|
|
31
32
|
# @!method initialize(id:, format_:, type: nil, request_options: {})
|
|
33
|
+
# Some parameter documentations has been truncated, see
|
|
34
|
+
# {XTwitterScraper::Models::DrawExportParams} for more details.
|
|
35
|
+
#
|
|
32
36
|
# @param id [String]
|
|
33
37
|
#
|
|
34
|
-
# @param format_ [Symbol, XTwitterScraper::Models::DrawExportParams::Format] Export output format
|
|
38
|
+
# @param format_ [Symbol, XTwitterScraper::Models::DrawExportParams::Format] Export output format. PDF entry exports include up to 10,000 rows. Other entry f
|
|
35
39
|
#
|
|
36
40
|
# @param type [Symbol, XTwitterScraper::Models::DrawExportParams::Type] Export winners or all entries
|
|
37
41
|
#
|
|
38
42
|
# @param request_options [XTwitterScraper::RequestOptions, Hash{Symbol=>Object}]
|
|
39
43
|
|
|
40
|
-
# Export output format
|
|
44
|
+
# Export output format. PDF entry exports include up to 10,000 rows. Other entry
|
|
45
|
+
# formats include up to 100,000 rows.
|
|
41
46
|
module Format
|
|
42
47
|
extend XTwitterScraper::Internal::Type::Enum
|
|
43
48
|
|
|
@@ -12,7 +12,7 @@ module XTwitterScraper
|
|
|
12
12
|
include XTwitterScraper::Internal::Type::RequestParameters
|
|
13
13
|
|
|
14
14
|
# @!attribute cursor
|
|
15
|
-
#
|
|
15
|
+
# Previous nextCursor.
|
|
16
16
|
#
|
|
17
17
|
# @return [String, nil]
|
|
18
18
|
optional :cursor, String
|
|
@@ -30,7 +30,7 @@ module XTwitterScraper
|
|
|
30
30
|
# Some parameter documentations has been truncated, see
|
|
31
31
|
# {XTwitterScraper::Models::DrawListParams} for more details.
|
|
32
32
|
#
|
|
33
|
-
# @param cursor [String]
|
|
33
|
+
# @param cursor [String] Previous nextCursor.
|
|
34
34
|
#
|
|
35
35
|
# @param limit [Integer] Maximum number of items to return (1-100, default 50). For paid per-result endpo
|
|
36
36
|
#
|
|
@@ -89,6 +89,7 @@ module XTwitterScraper
|
|
|
89
89
|
MISSING_PARAMS = :missing_params
|
|
90
90
|
MISSING_QUERY = :missing_query
|
|
91
91
|
MONITOR_ALREADY_EXISTS = :monitor_already_exists
|
|
92
|
+
MONITOR_PROFILE_UNAVAILABLE = :monitor_profile_unavailable
|
|
92
93
|
NO_MEDIA = :no_media
|
|
93
94
|
NO_CREDITS = :no_credits
|
|
94
95
|
NO_SUBSCRIPTION = :no_subscription
|
|
@@ -106,6 +107,8 @@ module XTwitterScraper
|
|
|
106
107
|
CHECKOUT_UNAVAILABLE = :checkout_unavailable
|
|
107
108
|
CONNECTION_CHALLENGE_EXPIRED = :connection_challenge_expired
|
|
108
109
|
CONNECTION_CHALLENGE_INACTIVE = :connection_challenge_inactive
|
|
110
|
+
COVERAGE_CURSOR_GONE = :coverage_cursor_gone
|
|
111
|
+
COVERAGE_CURSOR_UNAVAILABLE = :coverage_cursor_unavailable
|
|
109
112
|
DRAFT_NOT_FOUND = :draft_not_found
|
|
110
113
|
FAVORITERS_UNAVAILABLE = :favoriters_unavailable
|
|
111
114
|
FORBIDDEN = :forbidden
|
|
@@ -115,6 +118,7 @@ module XTwitterScraper
|
|
|
115
118
|
IDEMPOTENCY_CONFLICT = :idempotency_conflict
|
|
116
119
|
IDEMPOTENCY_KEY_CONFLICT = :idempotency_key_conflict
|
|
117
120
|
INVALID_COMMUNITY_ID = :invalid_community_id
|
|
121
|
+
INVALID_COVERAGE_CURSOR = :invalid_coverage_cursor
|
|
118
122
|
INVALID_IDEMPOTENCY_KEY = :invalid_idempotency_key
|
|
119
123
|
INVALID_LIST_ID = :invalid_list_id
|
|
120
124
|
INVALID_PAYMENT_AMOUNT = :invalid_payment_amount
|
|
@@ -218,6 +222,7 @@ module XTwitterScraper
|
|
|
218
222
|
MISSING_PARAMS = :missing_params
|
|
219
223
|
MISSING_QUERY = :missing_query
|
|
220
224
|
MONITOR_ALREADY_EXISTS = :monitor_already_exists
|
|
225
|
+
MONITOR_PROFILE_UNAVAILABLE = :monitor_profile_unavailable
|
|
221
226
|
NO_MEDIA = :no_media
|
|
222
227
|
NO_CREDITS = :no_credits
|
|
223
228
|
NO_SUBSCRIPTION = :no_subscription
|
|
@@ -235,6 +240,8 @@ module XTwitterScraper
|
|
|
235
240
|
CHECKOUT_UNAVAILABLE = :checkout_unavailable
|
|
236
241
|
CONNECTION_CHALLENGE_EXPIRED = :connection_challenge_expired
|
|
237
242
|
CONNECTION_CHALLENGE_INACTIVE = :connection_challenge_inactive
|
|
243
|
+
COVERAGE_CURSOR_GONE = :coverage_cursor_gone
|
|
244
|
+
COVERAGE_CURSOR_UNAVAILABLE = :coverage_cursor_unavailable
|
|
238
245
|
DRAFT_NOT_FOUND = :draft_not_found
|
|
239
246
|
FAVORITERS_UNAVAILABLE = :favoriters_unavailable
|
|
240
247
|
FORBIDDEN = :forbidden
|
|
@@ -244,6 +251,7 @@ module XTwitterScraper
|
|
|
244
251
|
IDEMPOTENCY_CONFLICT = :idempotency_conflict
|
|
245
252
|
IDEMPOTENCY_KEY_CONFLICT = :idempotency_key_conflict
|
|
246
253
|
INVALID_COMMUNITY_ID = :invalid_community_id
|
|
254
|
+
INVALID_COVERAGE_CURSOR = :invalid_coverage_cursor
|
|
247
255
|
INVALID_IDEMPOTENCY_KEY = :invalid_idempotency_key
|
|
248
256
|
INVALID_LIST_ID = :invalid_list_id
|
|
249
257
|
INVALID_PAYMENT_AMOUNT = :invalid_payment_amount
|
|
@@ -12,7 +12,7 @@ module XTwitterScraper
|
|
|
12
12
|
include XTwitterScraper::Internal::Type::RequestParameters
|
|
13
13
|
|
|
14
14
|
# @!attribute cursor
|
|
15
|
-
#
|
|
15
|
+
# Previous nextCursor.
|
|
16
16
|
#
|
|
17
17
|
# @return [String, nil]
|
|
18
18
|
optional :cursor, String
|
|
@@ -23,6 +23,12 @@ module XTwitterScraper
|
|
|
23
23
|
# @return [Symbol, XTwitterScraper::Models::EventType, nil]
|
|
24
24
|
optional :event_type, enum: -> { XTwitterScraper::EventType }
|
|
25
25
|
|
|
26
|
+
# @!attribute keyword_monitor_id
|
|
27
|
+
# Keyword monitor ID.
|
|
28
|
+
#
|
|
29
|
+
# @return [String, nil]
|
|
30
|
+
optional :keyword_monitor_id, String
|
|
31
|
+
|
|
26
32
|
# @!attribute limit
|
|
27
33
|
# Maximum number of items to return (1-100, default 50). For paid per-result
|
|
28
34
|
# endpoints, the returned count may be lower when remaining credits cannot cover
|
|
@@ -33,22 +39,24 @@ module XTwitterScraper
|
|
|
33
39
|
optional :limit, Integer
|
|
34
40
|
|
|
35
41
|
# @!attribute monitor_id
|
|
36
|
-
#
|
|
42
|
+
# Account monitor ID.
|
|
37
43
|
#
|
|
38
44
|
# @return [String, nil]
|
|
39
45
|
optional :monitor_id, String
|
|
40
46
|
|
|
41
|
-
# @!method initialize(cursor: nil, event_type: nil, limit: nil, monitor_id: nil, request_options: {})
|
|
47
|
+
# @!method initialize(cursor: nil, event_type: nil, keyword_monitor_id: nil, limit: nil, monitor_id: nil, request_options: {})
|
|
42
48
|
# Some parameter documentations has been truncated, see
|
|
43
49
|
# {XTwitterScraper::Models::EventListParams} for more details.
|
|
44
50
|
#
|
|
45
|
-
# @param cursor [String]
|
|
51
|
+
# @param cursor [String] Previous nextCursor.
|
|
46
52
|
#
|
|
47
53
|
# @param event_type [Symbol, XTwitterScraper::Models::EventType] Filter events by type
|
|
48
54
|
#
|
|
55
|
+
# @param keyword_monitor_id [String] Keyword monitor ID.
|
|
56
|
+
#
|
|
49
57
|
# @param limit [Integer] Maximum number of items to return (1-100, default 50). For paid per-result endpo
|
|
50
58
|
#
|
|
51
|
-
# @param monitor_id [String]
|
|
59
|
+
# @param monitor_id [String] Account monitor ID.
|
|
52
60
|
#
|
|
53
61
|
# @param request_options [XTwitterScraper::RequestOptions, Hash{Symbol=>Object}]
|
|
54
62
|
end
|