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.
Files changed (157) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +24 -0
  3. data/README.md +3 -3
  4. data/lib/x_twitter_scraper/models/credit_topup_balance_response.rb +5 -5
  5. data/lib/x_twitter_scraper/models/draw_export_params.rb +8 -3
  6. data/lib/x_twitter_scraper/models/draw_list_params.rb +2 -2
  7. data/lib/x_twitter_scraper/models/error.rb +8 -0
  8. data/lib/x_twitter_scraper/models/event_list_params.rb +13 -5
  9. data/lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb +731 -82
  10. data/lib/x_twitter_scraper/models/extraction_estimate_cost_response.rb +1 -0
  11. data/lib/x_twitter_scraper/models/extraction_export_results_params.rb +145 -1
  12. data/lib/x_twitter_scraper/models/extraction_list_params.rb +2 -2
  13. data/lib/x_twitter_scraper/models/extraction_retrieve_params.rb +70 -3
  14. data/lib/x_twitter_scraper/models/extraction_run_params.rb +662 -1
  15. data/lib/x_twitter_scraper/models/extraction_run_response.rb +27 -48
  16. data/lib/x_twitter_scraper/models/guest_wallet_create_response.rb +8 -8
  17. data/lib/x_twitter_scraper/models/guest_wallet_topup_response.rb +9 -9
  18. data/lib/x_twitter_scraper/models/monitor.rb +29 -1
  19. data/lib/x_twitter_scraper/models/paginated_tweets.rb +4 -4
  20. data/lib/x_twitter_scraper/models/paginated_users.rb +5 -5
  21. data/lib/x_twitter_scraper/models/support/attachment_download_params.rb +28 -0
  22. data/lib/x_twitter_scraper/models/x/community_retrieve_members_params.rb +113 -1
  23. data/lib/x_twitter_scraper/models/x/community_retrieve_moderators_params.rb +117 -1
  24. data/lib/x_twitter_scraper/models/x/list_retrieve_followers_params.rb +117 -6
  25. data/lib/x_twitter_scraper/models/x/list_retrieve_members_params.rb +116 -1
  26. data/lib/x_twitter_scraper/models/x/tweet_get_favoriters_params.rb +117 -6
  27. data/lib/x_twitter_scraper/models/x/tweet_get_quotes_params.rb +153 -1
  28. data/lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb +246 -16
  29. data/lib/x_twitter_scraper/models/x/tweet_get_replies_response.rb +3 -2
  30. data/lib/x_twitter_scraper/models/x/tweet_get_retweeters_params.rb +117 -6
  31. data/lib/x_twitter_scraper/models/x/tweet_search_params.rb +187 -14
  32. data/lib/x_twitter_scraper/models/x/tweet_search_response.rb +299 -0
  33. data/lib/x_twitter_scraper/models/x/user_retrieve_followers_params.rb +143 -10
  34. data/lib/x_twitter_scraper/models/x/user_retrieve_followers_response.rb +241 -0
  35. data/lib/x_twitter_scraper/models/x/user_retrieve_followers_you_know_params.rb +117 -6
  36. data/lib/x_twitter_scraper/models/x/user_retrieve_following_params.rb +143 -10
  37. data/lib/x_twitter_scraper/models/x/user_retrieve_following_response.rb +241 -0
  38. data/lib/x_twitter_scraper/models/x/user_retrieve_likes_params.rb +153 -1
  39. data/lib/x_twitter_scraper/models/x/user_retrieve_media_params.rb +153 -1
  40. data/lib/x_twitter_scraper/models/x/user_retrieve_mentions_params.rb +153 -1
  41. data/lib/x_twitter_scraper/models/x/user_retrieve_replies_params.rb +159 -7
  42. data/lib/x_twitter_scraper/models/x/user_retrieve_search_params.rb +116 -1
  43. data/lib/x_twitter_scraper/models/x/user_retrieve_tweets_params.rb +159 -7
  44. data/lib/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rb +157 -8
  45. data/lib/x_twitter_scraper/models/x/user_retrieve_verified_followers_response.rb +245 -0
  46. data/lib/x_twitter_scraper/models/x/x_account.rb +7 -11
  47. data/lib/x_twitter_scraper/resources/credits.rb +2 -2
  48. data/lib/x_twitter_scraper/resources/draws.rb +5 -2
  49. data/lib/x_twitter_scraper/resources/events.rb +10 -4
  50. data/lib/x_twitter_scraper/resources/extractions.rb +383 -84
  51. data/lib/x_twitter_scraper/resources/guest_wallets.rb +9 -13
  52. data/lib/x_twitter_scraper/resources/support/attachments.rb +42 -0
  53. data/lib/x_twitter_scraper/resources/support.rb +5 -0
  54. data/lib/x_twitter_scraper/resources/x/communities.rb +95 -4
  55. data/lib/x_twitter_scraper/resources/x/lists.rb +96 -5
  56. data/lib/x_twitter_scraper/resources/x/tweets.rb +286 -28
  57. data/lib/x_twitter_scraper/resources/x/users.rb +531 -41
  58. data/lib/x_twitter_scraper/version.rb +1 -1
  59. data/lib/x_twitter_scraper.rb +7 -1
  60. data/rbi/x_twitter_scraper/models/credit_topup_balance_response.rbi +6 -6
  61. data/rbi/x_twitter_scraper/models/draw_export_params.rbi +6 -3
  62. data/rbi/x_twitter_scraper/models/draw_list_params.rbi +2 -2
  63. data/rbi/x_twitter_scraper/models/error.rbi +40 -0
  64. data/rbi/x_twitter_scraper/models/event_list_params.rbi +15 -4
  65. data/rbi/x_twitter_scraper/models/extraction_estimate_cost_params.rbi +1338 -86
  66. data/rbi/x_twitter_scraper/models/extraction_estimate_cost_response.rbi +5 -0
  67. data/rbi/x_twitter_scraper/models/extraction_export_results_params.rbi +198 -0
  68. data/rbi/x_twitter_scraper/models/extraction_list_params.rbi +2 -2
  69. data/rbi/x_twitter_scraper/models/extraction_retrieve_params.rbi +194 -2
  70. data/rbi/x_twitter_scraper/models/extraction_run_params.rbi +1221 -0
  71. data/rbi/x_twitter_scraper/models/extraction_run_response.rbi +35 -162
  72. data/rbi/x_twitter_scraper/models/guest_wallet_create_response.rbi +8 -6
  73. data/rbi/x_twitter_scraper/models/guest_wallet_topup_response.rbi +9 -7
  74. data/rbi/x_twitter_scraper/models/monitor.rbi +54 -3
  75. data/rbi/x_twitter_scraper/models/paginated_tweets.rbi +4 -4
  76. data/rbi/x_twitter_scraper/models/paginated_users.rbi +5 -5
  77. data/rbi/x_twitter_scraper/models/support/attachment_download_params.rbi +51 -0
  78. data/rbi/x_twitter_scraper/models/x/community_retrieve_members_params.rbi +154 -0
  79. data/rbi/x_twitter_scraper/models/x/community_retrieve_moderators_params.rbi +154 -0
  80. data/rbi/x_twitter_scraper/models/x/list_retrieve_followers_params.rbi +160 -8
  81. data/rbi/x_twitter_scraper/models/x/list_retrieve_members_params.rbi +154 -0
  82. data/rbi/x_twitter_scraper/models/x/tweet_get_favoriters_params.rbi +160 -8
  83. data/rbi/x_twitter_scraper/models/x/tweet_get_quotes_params.rbi +209 -0
  84. data/rbi/x_twitter_scraper/models/x/tweet_get_replies_params.rbi +403 -20
  85. data/rbi/x_twitter_scraper/models/x/tweet_get_replies_response.rbi +3 -2
  86. data/rbi/x_twitter_scraper/models/x/tweet_get_retweeters_params.rbi +160 -8
  87. data/rbi/x_twitter_scraper/models/x/tweet_search_params.rbi +279 -16
  88. data/rbi/x_twitter_scraper/models/x/tweet_search_response.rbi +543 -0
  89. data/rbi/x_twitter_scraper/models/x/user_retrieve_followers_params.rbi +228 -12
  90. data/rbi/x_twitter_scraper/models/x/user_retrieve_followers_response.rbi +440 -0
  91. data/rbi/x_twitter_scraper/models/x/user_retrieve_followers_you_know_params.rbi +160 -8
  92. data/rbi/x_twitter_scraper/models/x/user_retrieve_following_params.rbi +228 -12
  93. data/rbi/x_twitter_scraper/models/x/user_retrieve_following_response.rbi +440 -0
  94. data/rbi/x_twitter_scraper/models/x/user_retrieve_likes_params.rbi +209 -0
  95. data/rbi/x_twitter_scraper/models/x/user_retrieve_media_params.rbi +209 -0
  96. data/rbi/x_twitter_scraper/models/x/user_retrieve_mentions_params.rbi +209 -0
  97. data/rbi/x_twitter_scraper/models/x/user_retrieve_replies_params.rbi +217 -8
  98. data/rbi/x_twitter_scraper/models/x/user_retrieve_search_params.rbi +154 -0
  99. data/rbi/x_twitter_scraper/models/x/user_retrieve_tweets_params.rbi +217 -8
  100. data/rbi/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rbi +248 -10
  101. data/rbi/x_twitter_scraper/models/x/user_retrieve_verified_followers_response.rbi +440 -0
  102. data/rbi/x_twitter_scraper/models/x/x_account.rbi +9 -15
  103. data/rbi/x_twitter_scraper/resources/credits.rbi +2 -2
  104. data/rbi/x_twitter_scraper/resources/draws.rbi +3 -2
  105. data/rbi/x_twitter_scraper/resources/events.rbi +5 -2
  106. data/rbi/x_twitter_scraper/resources/extractions.rbi +525 -83
  107. data/rbi/x_twitter_scraper/resources/guest_wallets.rbi +9 -13
  108. data/rbi/x_twitter_scraper/resources/support/attachments.rbi +35 -0
  109. data/rbi/x_twitter_scraper/resources/support.rbi +4 -0
  110. data/rbi/x_twitter_scraper/resources/x/communities.rbi +84 -0
  111. data/rbi/x_twitter_scraper/resources/x/lists.rbi +87 -4
  112. data/rbi/x_twitter_scraper/resources/x/tweets.rbi +307 -31
  113. data/rbi/x_twitter_scraper/resources/x/users.rbi +558 -34
  114. data/sig/x_twitter_scraper/models/error.rbs +16 -0
  115. data/sig/x_twitter_scraper/models/event_list_params.rbs +7 -0
  116. data/sig/x_twitter_scraper/models/extraction_estimate_cost_params.rbs +605 -1
  117. data/sig/x_twitter_scraper/models/extraction_estimate_cost_response.rbs +2 -0
  118. data/sig/x_twitter_scraper/models/extraction_export_results_params.rbs +127 -1
  119. data/sig/x_twitter_scraper/models/extraction_retrieve_params.rbs +74 -1
  120. data/sig/x_twitter_scraper/models/extraction_run_params.rbs +611 -1
  121. data/sig/x_twitter_scraper/models/extraction_run_response.rbs +29 -67
  122. data/sig/x_twitter_scraper/models/guest_wallet_create_response.rbs +4 -4
  123. data/sig/x_twitter_scraper/models/guest_wallet_topup_response.rbs +4 -4
  124. data/sig/x_twitter_scraper/models/monitor.rbs +29 -3
  125. data/sig/x_twitter_scraper/models/support/attachment_download_params.rbs +32 -0
  126. data/sig/x_twitter_scraper/models/x/community_retrieve_members_params.rbs +103 -1
  127. data/sig/x_twitter_scraper/models/x/community_retrieve_moderators_params.rbs +102 -1
  128. data/sig/x_twitter_scraper/models/x/list_retrieve_followers_params.rbs +103 -1
  129. data/sig/x_twitter_scraper/models/x/list_retrieve_members_params.rbs +103 -1
  130. data/sig/x_twitter_scraper/models/x/tweet_get_favoriters_params.rbs +103 -1
  131. data/sig/x_twitter_scraper/models/x/tweet_get_quotes_params.rbs +134 -1
  132. data/sig/x_twitter_scraper/models/x/tweet_get_replies_params.rbs +207 -2
  133. data/sig/x_twitter_scraper/models/x/tweet_get_retweeters_params.rbs +103 -1
  134. data/sig/x_twitter_scraper/models/x/tweet_search_params.rbs +154 -1
  135. data/sig/x_twitter_scraper/models/x/tweet_search_response.rbs +258 -0
  136. data/sig/x_twitter_scraper/models/x/user_retrieve_followers_params.rbs +119 -1
  137. data/sig/x_twitter_scraper/models/x/user_retrieve_followers_response.rbs +216 -0
  138. data/sig/x_twitter_scraper/models/x/user_retrieve_followers_you_know_params.rbs +103 -1
  139. data/sig/x_twitter_scraper/models/x/user_retrieve_following_params.rbs +119 -1
  140. data/sig/x_twitter_scraper/models/x/user_retrieve_following_response.rbs +216 -0
  141. data/sig/x_twitter_scraper/models/x/user_retrieve_likes_params.rbs +134 -1
  142. data/sig/x_twitter_scraper/models/x/user_retrieve_media_params.rbs +134 -1
  143. data/sig/x_twitter_scraper/models/x/user_retrieve_mentions_params.rbs +134 -1
  144. data/sig/x_twitter_scraper/models/x/user_retrieve_replies_params.rbs +134 -1
  145. data/sig/x_twitter_scraper/models/x/user_retrieve_search_params.rbs +102 -1
  146. data/sig/x_twitter_scraper/models/x/user_retrieve_tweets_params.rbs +134 -1
  147. data/sig/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rbs +137 -1
  148. data/sig/x_twitter_scraper/models/x/user_retrieve_verified_followers_response.rbs +216 -0
  149. data/sig/x_twitter_scraper/resources/events.rbs +1 -0
  150. data/sig/x_twitter_scraper/resources/extractions.rbs +137 -0
  151. data/sig/x_twitter_scraper/resources/support/attachments.rbs +15 -0
  152. data/sig/x_twitter_scraper/resources/support.rbs +2 -0
  153. data/sig/x_twitter_scraper/resources/x/communities.rbs +28 -0
  154. data/sig/x_twitter_scraper/resources/x/lists.rbs +28 -0
  155. data/sig/x_twitter_scraper/resources/x/tweets.rbs +93 -1
  156. data/sig/x_twitter_scraper/resources/x/users.rbs +173 -3
  157. metadata +19 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4025dd923fed829257648813ba68f725debaeeac2d4baa73d05894c27ba877e1
4
- data.tar.gz: b5d0240718233a5f2577a017e77212faea5e701adc7f291775f88fdc1785dfbe
3
+ metadata.gz: 8792afcc912a8fd874ef1043061e5665ea854668ad08416dd828db64110c4df0
4
+ data.tar.gz: 3f8bb5f24306f664e560a1c3cb8d0cb999ee65a1140ec7b4a84ff22ec8bc46c8
5
5
  SHA512:
6
- metadata.gz: ae2bd4df26f5120ad3fbf8e69908685b7fefef363d1a2643c11c42afb11f5e53051229e1630d268e0b3eb58fe70048a7e8d6533b4fb97e7b574155c7fbad7588
7
- data.tar.gz: 53c27881cc9786a435da0aaa834419cdecdfe47c6f411fac5a59e7f9a2f648707072ecb9c03c6441f80de701974ed9dddd52d332d8c3cb92f7212af34efe7f2f
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.7.3"
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
- paginated_tweets = x_twitter_scraper.x.tweets.search(q: "from:elonmusk", limit: 10)
53
+ response = x_twitter_scraper.x.tweets.search(q: "from:elonmusk", limit: 10)
54
54
 
55
- puts(paginated_tweets.has_next_page)
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 first-party Xquik redirect URL for the active Stripe Checkout session.
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 first-party Xquik redirect URL as redirect_url. The response never
19
- # exposes a raw Stripe Checkout URL.
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 first-party Xquik redirect URL for the active Stripe Checkout session.
28
+ # @param redirect_url [String] Stable Xquik redirect URL for the active checkout.
29
29
  #
30
- # @param url [String] Same stable first-party Xquik redirect URL as redirect_url. The response never e
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
- # Cursor for keyset pagination from prior response next_cursor
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] Cursor for keyset pagination from prior response next_cursor
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
- # Cursor for keyset pagination from prior response next_cursor
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
- # Filter events by monitor ID
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] Cursor for keyset pagination from prior response next_cursor
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] Filter events by monitor ID
59
+ # @param monitor_id [String] Account monitor ID.
52
60
  #
53
61
  # @param request_options [XTwitterScraper::RequestOptions, Hash{Symbol=>Object}]
54
62
  end