Class: XTwitterScraper::Models::ExtractionEstimateCostParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- XTwitterScraper::Models::ExtractionEstimateCostParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb,
sig/x_twitter_scraper/models/extraction_estimate_cost_params.rbs
Overview
Defined Under Namespace
Modules: CollectionStrategy, DedupeMode, MediaType, QueryType, Quotes, Replies, Retweets, Scope, SinceTime, Sort, Target, ToolType, UntilTime Classes: RelationTarget
Constant Summary
Constants included from Internal::Type::RequestParameters
Internal::Type::RequestParameters::XTwitterScraper
Instance Attribute Summary collapse
-
#advanced_query ⇒ String?
Raw advanced search query appended as-is (tweet_search_extractor).
-
#any_words ⇒ String?
Words or quoted phrases where any one can match.
-
#bio_contains ⇒ String?
Bio terms separated by commas or lines.
-
#blue_verified_only ⇒ Boolean?
Return only Blue-verified Tweet authors.
-
#bounding_box ⇒ String?
Geo bounding box, e.g.
-
#card_name ⇒ String?
Match the Tweet card name.
-
#cashtags ⇒ String?
Cashtags separated by spaces, commas, or lines.
-
#collection_strategy ⇒ Symbol, ...
Reply collection strategy.
-
#conversation_id ⇒ String?
Conversation ID filter (tweet_search_extractor).
-
#dedupe_across_targets ⇒ Boolean?
Merge duplicate results across collection targets.
-
#dedupe_mode ⇒ Symbol, ...
Keep target duplicates, first rows, or merged overlap.
-
#exact_phrase ⇒ String?
Exact phrase to match (tweet_search_extractor).
-
#exclude_original_author ⇒ Boolean?
Exclude replies from the source author.
-
#exclude_source ⇒ String?
Exclude a source application.
-
#exclude_words ⇒ String?
Words or quoted phrases to exclude.
-
#from_user ⇒ String?
Filter by author username (tweet_search_extractor).
-
#geocode ⇒ String?
Match latitude, longitude, and radius.
-
#has_location ⇒ Boolean?
Require a profile location.
-
#has_media_only ⇒ Boolean?
Return only replies with media.
-
#has_website ⇒ Boolean?
Require a profile website.
-
#hashtags ⇒ String?
Hashtags separated by spaces, commas, or lines.
-
#in_reply_to_tweet_id ⇒ String?
Only replies to this tweet ID (tweet_search_extractor).
-
#include_original_post ⇒ Boolean?
Include the source post in reply results.
-
#include_search_terms ⇒ Boolean?
Add matching search terms to collection metadata.
-
#include_target_metadata ⇒ Boolean?
Add source target metadata to each result.
-
#language ⇒ String?
Language code filter (tweet_search_extractor).
-
#list_id ⇒ String?
Search within a list ID (tweet_search_extractor).
-
#location_contains ⇒ String?
Required profile location text.
-
#max_depth ⇒ Integer?
Maximum nested reply depth.
-
#max_followers ⇒ Integer?
Maximum follower count for profile results.
-
#max_following ⇒ Integer?
Maximum following count for profile results.
-
#max_id ⇒ String?
Return Tweets older than this Tweet ID.
-
#max_items_per_target ⇒ Integer?
Maximum results collected for each target.
-
#max_likes ⇒ Integer?
Maximum Tweet like count.
-
#max_pages_per_target ⇒ Integer?
Reply pages collected for each target.
-
#max_posts ⇒ Integer?
Maximum post count for profile results.
-
#max_quotes ⇒ Integer?
Maximum Tweet quote count.
-
#max_replies ⇒ Integer?
Maximum Tweet reply count.
-
#max_retweets ⇒ Integer?
Maximum Tweet repost count.
-
#media_type ⇒ Symbol, ...
Media type filter (tweet_search_extractor).
-
#mentioning ⇒ String?
Filter tweets mentioning a username (tweet_search_extractor).
-
#min_account_age_days ⇒ Integer?
Minimum profile age in days.
-
#min_bookmarks ⇒ Integer?
Minimum Tweet bookmark count.
-
#min_faves ⇒ Integer?
Minimum likes threshold (tweet_search_extractor).
-
#min_followers ⇒ Integer?
Minimum follower count for profile results.
-
#min_following ⇒ Integer?
Minimum following count for profile results.
-
#min_posts ⇒ Integer?
Minimum post count for profile results.
-
#min_quotes ⇒ Integer?
Minimum quote count threshold (tweet_search_extractor).
-
#min_replies ⇒ Integer?
Minimum replies threshold (tweet_search_extractor).
-
#min_retweets ⇒ Integer?
Minimum retweets threshold (tweet_search_extractor).
-
#min_views ⇒ Integer?
Minimum Tweet view count.
-
#native_retweets ⇒ Boolean?
Only return native reposts.
-
#near ⇒ String?
Match a place name.
-
#news ⇒ Boolean?
Only return news results.
-
#overlap_mode ⇒ Boolean?
Shortcut for dedupeMode=merge.
-
#place ⇒ String?
Search within a place ID (tweet_search_extractor).
-
#place_country ⇒ String?
Search within a country code (tweet_search_extractor).
-
#point_radius ⇒ String?
Geo point radius, e.g.
-
#query_type ⇒ Symbol, ...
Search ranking applied to every query.
-
#quotes ⇒ Symbol, ...
Quote mode (tweet_search_extractor).
-
#quotes_of_tweet_id ⇒ String?
Only quotes of this tweet ID (tweet_search_extractor).
-
#relation_targets ⇒ Array<XTwitterScraper::Models::ExtractionEstimateCostParams::RelationTarget>?
Profile relations processed within one job.
-
#replies ⇒ Symbol, ...
Reply mode (tweet_search_extractor).
-
#results_limit ⇒ Integer?
Maximum number of results to extract.
-
#retweets ⇒ Symbol, ...
Retweet mode (tweet_search_extractor).
-
#retweets_of_tweet_id ⇒ String?
Only retweets of this tweet ID (tweet_search_extractor).
-
#safe ⇒ Boolean?
Enable the safe-search filter.
-
#scope ⇒ Symbol, ...
Reply depth scope.
-
#search_queries ⇒ Array<String>?
Search queries processed as one collection job.
-
#search_query ⇒ String?
Required for tweet_search_extractor & community_search.
-
#since_date ⇒ Date?
Start date YYYY-MM-DD (tweet_search_extractor).
-
#since_id ⇒ String?
Return Tweets newer than this Tweet ID.
-
#since_time ⇒ Time, ...
Reply start time as ISO 8601 or Unix seconds.
-
#sort ⇒ Symbol, ...
Reply result order.
-
#source ⇒ String?
Match the source application.
-
#start_cursor ⇒ String?
Resume one reply target from this cursor.
-
#target_community_id ⇒ String?
Required for community_post_extractor & community_search.
-
#target_community_ids ⇒ Array<String>?
Community IDs processed as one collection job.
-
#target_list_id ⇒ String?
Required for list_follower_explorer, list_member_extractor & list_post_extractor.
-
#target_list_ids ⇒ Array<String>?
List IDs processed as one collection job.
-
#target_space_id ⇒ String?
Required for space_explorer.
- #target_tweet_id ⇒ String?
-
#target_tweet_ids ⇒ Array<String>?
Tweet IDs processed as one collection job.
- #target_username ⇒ String?
-
#target_usernames ⇒ Array<String>?
Usernames processed as one collection job.
-
#targets ⇒ Array<String, XTwitterScraper::Models::ExtractionEstimateCostParams::Target::UnionMember1>?
Mixed targets auto-routed within one job.
-
#to_user ⇒ String?
Filter replies sent to a username (tweet_search_extractor).
-
#tool_type ⇒ Symbol, XTwitterScraper::Models::ExtractionEstimateCostParams::ToolType
Identifier for the extraction tool used to run a job.
-
#until_date ⇒ Date?
End date YYYY-MM-DD (tweet_search_extractor).
-
#until_time ⇒ Time, ...
Reply end time as ISO 8601 or Unix seconds.
-
#url ⇒ String?
URL substring or domain filter (tweet_search_extractor).
-
#username_contains ⇒ String?
Required username text.
-
#verified_only ⇒ Boolean?
Only verified authors (tweet_search_extractor).
-
#verified_type ⇒ String?
Exact profile verification type.
-
#within ⇒ String?
Set the radius for the near filter.
-
#within_time ⇒ String?
Match Tweets inside a recent time window.
Attributes included from Internal::Type::RequestParameters
Class Method Summary collapse
- .values ⇒ Array<Symbol>
- .variants ⇒ Array(String, XTwitterScraper::Models::ExtractionEstimateCostParams::Target::UnionMember1)
Instance Method Summary collapse
-
#initialize(tool_type:, advanced_query: nil, any_words: nil, bio_contains: nil, blue_verified_only: nil, bounding_box: nil, card_name: nil, cashtags: nil, collection_strategy: nil, conversation_id: nil, dedupe_across_targets: nil, dedupe_mode: nil, exact_phrase: nil, exclude_original_author: nil, exclude_source: nil, exclude_words: nil, from_user: nil, geocode: nil, hashtags: nil, has_location: nil, has_media_only: nil, has_website: nil, include_original_post: nil, include_search_terms: nil, include_target_metadata: nil, in_reply_to_tweet_id: nil, language: nil, list_id: nil, location_contains: nil, max_depth: nil, max_followers: nil, max_following: nil, max_id: nil, max_items_per_target: nil, max_likes: nil, max_pages_per_target: nil, max_posts: nil, max_quotes: nil, max_replies: nil, max_retweets: nil, media_type: nil, mentioning: nil, min_account_age_days: nil, min_bookmarks: nil, min_faves: nil, min_followers: nil, min_following: nil, min_posts: nil, min_quotes: nil, min_replies: nil, min_retweets: nil, min_views: nil, native_retweets: nil, near: nil, news: nil, overlap_mode: nil, place: nil, place_country: nil, point_radius: nil, query_type: nil, quotes: nil, quotes_of_tweet_id: nil, relation_targets: nil, replies: nil, results_limit: nil, retweets: nil, retweets_of_tweet_id: nil, safe: nil, scope: nil, search_queries: nil, search_query: nil, since_date: nil, since_id: nil, since_time: nil, sort: nil, source: nil, start_cursor: nil, target_community_id: nil, target_community_ids: nil, target_list_id: nil, target_list_ids: nil, targets: nil, target_space_id: nil, target_tweet_id: nil, target_tweet_ids: nil, target_username: nil, target_usernames: nil, to_user: nil, until_date: nil, until_time: nil, url: nil, username_contains: nil, verified_only: nil, verified_type: nil, within: nil, within_time: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see ExtractionEstimateCostParams for more details.
- #to_hash ⇒ {
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(tool_type:, advanced_query: nil, any_words: nil, bio_contains: nil, blue_verified_only: nil, bounding_box: nil, card_name: nil, cashtags: nil, collection_strategy: nil, conversation_id: nil, dedupe_across_targets: nil, dedupe_mode: nil, exact_phrase: nil, exclude_original_author: nil, exclude_source: nil, exclude_words: nil, from_user: nil, geocode: nil, hashtags: nil, has_location: nil, has_media_only: nil, has_website: nil, include_original_post: nil, include_search_terms: nil, include_target_metadata: nil, in_reply_to_tweet_id: nil, language: nil, list_id: nil, location_contains: nil, max_depth: nil, max_followers: nil, max_following: nil, max_id: nil, max_items_per_target: nil, max_likes: nil, max_pages_per_target: nil, max_posts: nil, max_quotes: nil, max_replies: nil, max_retweets: nil, media_type: nil, mentioning: nil, min_account_age_days: nil, min_bookmarks: nil, min_faves: nil, min_followers: nil, min_following: nil, min_posts: nil, min_quotes: nil, min_replies: nil, min_retweets: nil, min_views: nil, native_retweets: nil, near: nil, news: nil, overlap_mode: nil, place: nil, place_country: nil, point_radius: nil, query_type: nil, quotes: nil, quotes_of_tweet_id: nil, relation_targets: nil, replies: nil, results_limit: nil, retweets: nil, retweets_of_tweet_id: nil, safe: nil, scope: nil, search_queries: nil, search_query: nil, since_date: nil, since_id: nil, since_time: nil, sort: nil, source: nil, start_cursor: nil, target_community_id: nil, target_community_ids: nil, target_list_id: nil, target_list_ids: nil, targets: nil, target_space_id: nil, target_tweet_id: nil, target_tweet_ids: nil, target_username: nil, target_usernames: nil, to_user: nil, until_date: nil, until_time: nil, url: nil, username_contains: nil, verified_only: nil, verified_type: nil, within: nil, within_time: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see XTwitterScraper::Models::ExtractionEstimateCostParams for more details.
|
|
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 621
|
Instance Attribute Details
#advanced_query ⇒ String?
Raw advanced search query appended as-is (tweet_search_extractor)
26 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 26 optional :advanced_query, String, api_name: :advancedQuery |
#any_words ⇒ String?
Words or quoted phrases where any one can match. Separate with spaces, commas, or lines. (tweet_search_extractor)
33 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 33 optional :any_words, String, api_name: :anyWords |
#bio_contains ⇒ String?
Bio terms separated by commas or lines.
39 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 39 optional :bio_contains, String, api_name: :bioContains |
#blue_verified_only ⇒ Boolean?
Return only Blue-verified Tweet authors.
45 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 45 optional :blue_verified_only, XTwitterScraper::Internal::Type::Boolean, api_name: :blueVerifiedOnly |
#bounding_box ⇒ String?
Geo bounding box, e.g. -74.1 40.6 -73.9 40.8 (tweet_search_extractor)
51 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 51 optional :bounding_box, String, api_name: :boundingBox |
#card_name ⇒ String?
Match the Tweet card name.
57 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 57 optional :card_name, String, api_name: :cardName |
#cashtags ⇒ String?
Cashtags separated by spaces, commas, or lines. (tweet_search_extractor)
63 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 63 optional :cashtags, String |
#collection_strategy ⇒ Symbol, ...
Reply collection strategy.
69 70 71 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 69 optional :collection_strategy, enum: -> { XTwitterScraper::ExtractionEstimateCostParams::CollectionStrategy }, api_name: :collectionStrategy |
#conversation_id ⇒ String?
Conversation ID filter (tweet_search_extractor)
77 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 77 optional :conversation_id, String, api_name: :conversationId |
#dedupe_across_targets ⇒ Boolean?
Merge duplicate results across collection targets.
83 84 85 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 83 optional :dedupe_across_targets, XTwitterScraper::Internal::Type::Boolean, api_name: :dedupeAcrossTargets |
#dedupe_mode ⇒ Symbol, ...
Keep target duplicates, first rows, or merged overlap.
91 92 93 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 91 optional :dedupe_mode, enum: -> { XTwitterScraper::ExtractionEstimateCostParams::DedupeMode }, api_name: :dedupeMode |
#exact_phrase ⇒ String?
Exact phrase to match (tweet_search_extractor)
99 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 99 optional :exact_phrase, String, api_name: :exactPhrase |
#exclude_original_author ⇒ Boolean?
Exclude replies from the source author.
105 106 107 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 105 optional :exclude_original_author, XTwitterScraper::Internal::Type::Boolean, api_name: :excludeOriginalAuthor |
#exclude_source ⇒ String?
Exclude a source application.
113 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 113 optional :exclude_source, String, api_name: :excludeSource |
#exclude_words ⇒ String?
Words or quoted phrases to exclude. Separate with spaces, commas, or lines. (tweet_search_extractor)
120 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 120 optional :exclude_words, String, api_name: :excludeWords |
#from_user ⇒ String?
Filter by author username (tweet_search_extractor)
126 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 126 optional :from_user, String, api_name: :fromUser |
#geocode ⇒ String?
Match latitude, longitude, and radius.
132 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 132 optional :geocode, String |
#has_location ⇒ Boolean?
Require a profile location.
144 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 144 optional :has_location, XTwitterScraper::Internal::Type::Boolean, api_name: :hasLocation |
#has_media_only ⇒ Boolean?
Return only replies with media.
150 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 150 optional :has_media_only, XTwitterScraper::Internal::Type::Boolean, api_name: :hasMediaOnly |
#has_website ⇒ Boolean?
Require a profile website.
156 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 156 optional :has_website, XTwitterScraper::Internal::Type::Boolean, api_name: :hasWebsite |
#hashtags ⇒ String?
Hashtags separated by spaces, commas, or lines. (tweet_search_extractor)
138 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 138 optional :hashtags, String |
#in_reply_to_tweet_id ⇒ String?
Only replies to this tweet ID (tweet_search_extractor)
184 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 184 optional :in_reply_to_tweet_id, String, api_name: :inReplyToTweetId |
#include_original_post ⇒ Boolean?
Include the source post in reply results.
162 163 164 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 162 optional :include_original_post, XTwitterScraper::Internal::Type::Boolean, api_name: :includeOriginalPost |
#include_search_terms ⇒ Boolean?
Add matching search terms to collection metadata.
170 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 170 optional :include_search_terms, XTwitterScraper::Internal::Type::Boolean, api_name: :includeSearchTerms |
#include_target_metadata ⇒ Boolean?
Add source target metadata to each result.
176 177 178 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 176 optional :include_target_metadata, XTwitterScraper::Internal::Type::Boolean, api_name: :includeTargetMetadata |
#language ⇒ String?
Language code filter (tweet_search_extractor)
190 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 190 optional :language, String |
#list_id ⇒ String?
Search within a list ID (tweet_search_extractor)
196 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 196 optional :list_id, String, api_name: :listId |
#location_contains ⇒ String?
Required profile location text.
202 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 202 optional :location_contains, String, api_name: :locationContains |
#max_depth ⇒ Integer?
Maximum nested reply depth.
208 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 208 optional :max_depth, Integer, api_name: :maxDepth |
#max_followers ⇒ Integer?
Maximum follower count for profile results.
214 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 214 optional :max_followers, Integer, api_name: :maxFollowers |
#max_following ⇒ Integer?
Maximum following count for profile results.
220 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 220 optional :max_following, Integer, api_name: :maxFollowing |
#max_id ⇒ String?
Return Tweets older than this Tweet ID.
226 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 226 optional :max_id, String, api_name: :maxId |
#max_items_per_target ⇒ Integer?
Maximum results collected for each target.
232 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 232 optional :max_items_per_target, Integer, api_name: :maxItemsPerTarget |
#max_likes ⇒ Integer?
Maximum Tweet like count.
238 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 238 optional :max_likes, Integer, api_name: :maxLikes |
#max_pages_per_target ⇒ Integer?
Reply pages collected for each target.
244 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 244 optional :max_pages_per_target, Integer, api_name: :maxPagesPerTarget |
#max_posts ⇒ Integer?
Maximum post count for profile results.
250 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 250 optional :max_posts, Integer, api_name: :maxPosts |
#max_quotes ⇒ Integer?
Maximum Tweet quote count.
256 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 256 optional :max_quotes, Integer, api_name: :maxQuotes |
#max_replies ⇒ Integer?
Maximum Tweet reply count.
262 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 262 optional :max_replies, Integer, api_name: :maxReplies |
#max_retweets ⇒ Integer?
Maximum Tweet repost count.
268 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 268 optional :max_retweets, Integer, api_name: :maxRetweets |
#media_type ⇒ Symbol, ...
Media type filter (tweet_search_extractor)
274 275 276 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 274 optional :media_type, enum: -> { XTwitterScraper::ExtractionEstimateCostParams::MediaType }, api_name: :mediaType |
#mentioning ⇒ String?
Filter tweets mentioning a username (tweet_search_extractor)
282 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 282 optional :mentioning, String |
#min_account_age_days ⇒ Integer?
Minimum profile age in days.
288 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 288 optional :min_account_age_days, Integer, api_name: :minAccountAgeDays |
#min_bookmarks ⇒ Integer?
Minimum Tweet bookmark count.
294 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 294 optional :min_bookmarks, Integer, api_name: :minBookmarks |
#min_faves ⇒ Integer?
Minimum likes threshold (tweet_search_extractor)
300 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 300 optional :min_faves, Integer, api_name: :minFaves |
#min_followers ⇒ Integer?
Minimum follower count for profile results.
306 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 306 optional :min_followers, Integer, api_name: :minFollowers |
#min_following ⇒ Integer?
Minimum following count for profile results.
312 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 312 optional :min_following, Integer, api_name: :minFollowing |
#min_posts ⇒ Integer?
Minimum post count for profile results.
318 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 318 optional :min_posts, Integer, api_name: :minPosts |
#min_quotes ⇒ Integer?
Minimum quote count threshold (tweet_search_extractor)
324 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 324 optional :min_quotes, Integer, api_name: :minQuotes |
#min_replies ⇒ Integer?
Minimum replies threshold (tweet_search_extractor)
330 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 330 optional :min_replies, Integer, api_name: :minReplies |
#min_retweets ⇒ Integer?
Minimum retweets threshold (tweet_search_extractor)
336 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 336 optional :min_retweets, Integer, api_name: :minRetweets |
#min_views ⇒ Integer?
Minimum Tweet view count.
342 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 342 optional :min_views, Integer, api_name: :minViews |
#native_retweets ⇒ Boolean?
Only return native reposts.
348 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 348 optional :native_retweets, XTwitterScraper::Internal::Type::Boolean, api_name: :nativeRetweets |
#near ⇒ String?
Match a place name.
354 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 354 optional :near, String |
#news ⇒ Boolean?
Only return news results.
360 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 360 optional :news, XTwitterScraper::Internal::Type::Boolean |
#overlap_mode ⇒ Boolean?
Shortcut for dedupeMode=merge.
366 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 366 optional :overlap_mode, XTwitterScraper::Internal::Type::Boolean, api_name: :overlapMode |
#place ⇒ String?
Search within a place ID (tweet_search_extractor)
372 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 372 optional :place, String |
#place_country ⇒ String?
Search within a country code (tweet_search_extractor)
378 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 378 optional :place_country, String, api_name: :placeCountry |
#point_radius ⇒ String?
Geo point radius, e.g. -73.99 40.73 25mi (tweet_search_extractor)
384 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 384 optional :point_radius, String, api_name: :pointRadius |
#query_type ⇒ Symbol, ...
Search ranking applied to every query.
390 391 392 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 390 optional :query_type, enum: -> { XTwitterScraper::ExtractionEstimateCostParams::QueryType }, api_name: :queryType |
#quotes ⇒ Symbol, ...
Quote mode (tweet_search_extractor)
398 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 398 optional :quotes, enum: -> { XTwitterScraper::ExtractionEstimateCostParams::Quotes } |
#quotes_of_tweet_id ⇒ String?
Only quotes of this tweet ID (tweet_search_extractor)
404 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 404 optional :quotes_of_tweet_id, String, api_name: :quotesOfTweetId |
#relation_targets ⇒ Array<XTwitterScraper::Models::ExtractionEstimateCostParams::RelationTarget>?
Profile relations processed within one job.
410 411 412 413 414 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 410 optional :relation_targets, -> { XTwitterScraper::Internal::Type::ArrayOf[XTwitterScraper::ExtractionEstimateCostParams::RelationTarget] }, api_name: :relationTargets |
#replies ⇒ Symbol, ...
Reply mode (tweet_search_extractor)
420 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 420 optional :replies, enum: -> { XTwitterScraper::ExtractionEstimateCostParams::Replies } |
#results_limit ⇒ Integer?
Maximum number of results to extract. When set, the extraction stops after reaching this limit.
427 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 427 optional :results_limit, Integer, api_name: :resultsLimit |
#retweets ⇒ Symbol, ...
Retweet mode (tweet_search_extractor)
433 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 433 optional :retweets, enum: -> { XTwitterScraper::ExtractionEstimateCostParams::Retweets } |
#retweets_of_tweet_id ⇒ String?
Only retweets of this tweet ID (tweet_search_extractor)
439 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 439 optional :retweets_of_tweet_id, String, api_name: :retweetsOfTweetId |
#safe ⇒ Boolean?
Enable the safe-search filter.
445 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 445 optional :safe, XTwitterScraper::Internal::Type::Boolean |
#scope ⇒ Symbol, ...
Reply depth scope.
451 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 451 optional :scope, enum: -> { XTwitterScraper::ExtractionEstimateCostParams::Scope } |
#search_queries ⇒ Array<String>?
Search queries processed as one collection job.
457 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 457 optional :search_queries, XTwitterScraper::Internal::Type::ArrayOf[String], api_name: :searchQueries |
#search_query ⇒ String?
Required for tweet_search_extractor & community_search.
463 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 463 optional :search_query, String, api_name: :searchQuery |
#since_date ⇒ Date?
Start date YYYY-MM-DD (tweet_search_extractor)
469 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 469 optional :since_date, Date, api_name: :sinceDate |
#since_id ⇒ String?
Return Tweets newer than this Tweet ID.
475 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 475 optional :since_id, String, api_name: :sinceId |
#since_time ⇒ Time, ...
Reply start time as ISO 8601 or Unix seconds.
481 482 483 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 481 optional :since_time, union: -> { XTwitterScraper::ExtractionEstimateCostParams::SinceTime }, api_name: :sinceTime |
#sort ⇒ Symbol, ...
Reply result order.
489 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 489 optional :sort, enum: -> { XTwitterScraper::ExtractionEstimateCostParams::Sort } |
#source ⇒ String?
Match the source application.
495 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 495 optional :source, String |
#start_cursor ⇒ String?
Resume one reply target from this cursor.
501 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 501 optional :start_cursor, String, api_name: :startCursor |
#target_community_id ⇒ String?
Required for community_post_extractor & community_search.
507 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 507 optional :target_community_id, String, api_name: :targetCommunityId |
#target_community_ids ⇒ Array<String>?
Community IDs processed as one collection job.
513 514 515 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 513 optional :target_community_ids, XTwitterScraper::Internal::Type::ArrayOf[String], api_name: :targetCommunityIds |
#target_list_id ⇒ String?
Required for list_follower_explorer, list_member_extractor & list_post_extractor.
522 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 522 optional :target_list_id, String, api_name: :targetListId |
#target_list_ids ⇒ Array<String>?
List IDs processed as one collection job.
528 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 528 optional :target_list_ids, XTwitterScraper::Internal::Type::ArrayOf[String], api_name: :targetListIds |
#target_space_id ⇒ String?
Required for space_explorer.
541 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 541 optional :target_space_id, String, api_name: :targetSpaceId |
#target_tweet_id ⇒ String?
546 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 546 optional :target_tweet_id, String, api_name: :targetTweetId |
#target_tweet_ids ⇒ Array<String>?
Tweet IDs processed as one collection job.
552 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 552 optional :target_tweet_ids, XTwitterScraper::Internal::Type::ArrayOf[String], api_name: :targetTweetIds |
#target_username ⇒ String?
557 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 557 optional :target_username, String, api_name: :targetUsername |
#target_usernames ⇒ Array<String>?
Usernames processed as one collection job.
563 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 563 optional :target_usernames, XTwitterScraper::Internal::Type::ArrayOf[String], api_name: :targetUsernames |
#targets ⇒ Array<String, XTwitterScraper::Models::ExtractionEstimateCostParams::Target::UnionMember1>?
Mixed targets auto-routed within one job.
534 535 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 534 optional :targets, -> { XTwitterScraper::Internal::Type::ArrayOf[union: XTwitterScraper::ExtractionEstimateCostParams::Target] } |
#to_user ⇒ String?
Filter replies sent to a username (tweet_search_extractor)
569 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 569 optional :to_user, String, api_name: :toUser |
#tool_type ⇒ Symbol, XTwitterScraper::Models::ExtractionEstimateCostParams::ToolType
Identifier for the extraction tool used to run a job.
18 19 20 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 18 required :tool_type, enum: -> { XTwitterScraper::ExtractionEstimateCostParams::ToolType }, api_name: :toolType |
#until_date ⇒ Date?
End date YYYY-MM-DD (tweet_search_extractor)
575 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 575 optional :until_date, Date, api_name: :untilDate |
#until_time ⇒ Time, ...
Reply end time as ISO 8601 or Unix seconds.
581 582 583 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 581 optional :until_time, union: -> { XTwitterScraper::ExtractionEstimateCostParams::UntilTime }, api_name: :untilTime |
#url ⇒ String?
URL substring or domain filter (tweet_search_extractor)
589 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 589 optional :url, String |
#username_contains ⇒ String?
Required username text.
595 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 595 optional :username_contains, String, api_name: :usernameContains |
#verified_only ⇒ Boolean?
Only verified authors (tweet_search_extractor)
601 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 601 optional :verified_only, XTwitterScraper::Internal::Type::Boolean, api_name: :verifiedOnly |
#verified_type ⇒ String?
Exact profile verification type.
607 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 607 optional :verified_type, String, api_name: :verifiedType |
#within ⇒ String?
Set the radius for the near filter.
613 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 613 optional :within, String |
#within_time ⇒ String?
Match Tweets inside a recent time window.
619 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 619 optional :within_time, String, api_name: :withinTime |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 847
|
.variants ⇒ Array(String, XTwitterScraper::Models::ExtractionEstimateCostParams::Target::UnionMember1)
|
|
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 993
|
Instance Method Details
#to_hash ⇒ {
620 |
# File 'sig/x_twitter_scraper/models/extraction_estimate_cost_params.rbs', line 620
def to_hash: -> {
|