x-twitter-scraper 0.4.3 → 0.4.4
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 +14 -0
- data/LICENSE +201 -0
- data/README.md +10 -12
- data/lib/x_twitter_scraper/client.rb +30 -26
- data/lib/x_twitter_scraper/internal/transport/base_client.rb +5 -0
- data/lib/x_twitter_scraper/internal/type/base_model.rb +4 -3
- data/lib/x_twitter_scraper/internal/util.rb +3 -1
- data/lib/x_twitter_scraper/models/account_retrieve_response.rb +138 -23
- data/lib/x_twitter_scraper/models/content_disclosure.rb +66 -0
- data/lib/x_twitter_scraper/models/credit_redirect_topup_checkout_params.rb +22 -0
- data/lib/x_twitter_scraper/models/credit_retrieve_balance_response.rb +37 -10
- data/lib/x_twitter_scraper/models/credit_retrieve_topup_status_params.rb +22 -0
- data/lib/x_twitter_scraper/models/credit_retrieve_topup_status_response.rb +45 -0
- data/lib/x_twitter_scraper/models/credit_topup_balance_params.rb +13 -5
- data/lib/x_twitter_scraper/models/credit_topup_balance_response.rb +18 -5
- data/lib/x_twitter_scraper/models/draft_list_params.rb +8 -2
- data/lib/x_twitter_scraper/models/draw_detail.rb +15 -1
- data/lib/x_twitter_scraper/models/draw_export_params.rb +3 -3
- data/lib/x_twitter_scraper/models/draw_list_item.rb +8 -1
- data/lib/x_twitter_scraper/models/draw_list_params.rb +13 -7
- data/lib/x_twitter_scraper/models/draw_run_response.rb +13 -2
- data/lib/x_twitter_scraper/models/embedded_tweet.rb +202 -0
- data/lib/x_twitter_scraper/models/error.rb +203 -34
- data/lib/x_twitter_scraper/models/event.rb +48 -6
- data/lib/x_twitter_scraper/models/event_detail.rb +46 -7
- data/lib/x_twitter_scraper/models/event_list_params.rb +13 -7
- data/lib/x_twitter_scraper/models/event_type.rb +17 -2
- data/lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb +308 -7
- data/lib/x_twitter_scraper/models/extraction_estimate_cost_response.rb +38 -14
- data/lib/x_twitter_scraper/models/extraction_export_results_params.rb +3 -3
- data/lib/x_twitter_scraper/models/extraction_job.rb +3 -0
- data/lib/x_twitter_scraper/models/extraction_list_params.rb +16 -7
- data/lib/x_twitter_scraper/models/extraction_retrieve_params.rb +5 -5
- data/lib/x_twitter_scraper/models/extraction_retrieve_response.rb +2 -2
- data/lib/x_twitter_scraper/models/extraction_run_params.rb +304 -7
- data/lib/x_twitter_scraper/models/extraction_run_response.rb +3 -0
- data/lib/x_twitter_scraper/models/guest_wallet_amount.rb +25 -0
- data/lib/x_twitter_scraper/models/guest_wallet_create_params.rb +36 -0
- data/lib/x_twitter_scraper/models/guest_wallet_create_response.rb +161 -0
- data/lib/x_twitter_scraper/models/{integration_list_params.rb → guest_wallet_retrieve_status_params.rb} +2 -2
- data/lib/x_twitter_scraper/models/guest_wallet_retrieve_status_response.rb +196 -0
- data/lib/x_twitter_scraper/models/guest_wallet_topup_params.rb +36 -0
- data/lib/x_twitter_scraper/models/guest_wallet_topup_response.rb +172 -0
- data/lib/x_twitter_scraper/models/monitor.rb +9 -1
- data/lib/x_twitter_scraper/models/monitor_create_response.rb +16 -1
- data/lib/x_twitter_scraper/models/monitors/keyword_create_params.rb +34 -0
- data/lib/x_twitter_scraper/models/monitors/keyword_create_response.rb +59 -0
- data/lib/x_twitter_scraper/models/monitors/keyword_deactivate_params.rb +22 -0
- data/lib/x_twitter_scraper/models/monitors/keyword_deactivate_response.rb +18 -0
- data/lib/x_twitter_scraper/models/monitors/keyword_list_params.rb +16 -0
- data/lib/x_twitter_scraper/models/monitors/keyword_list_response.rb +76 -0
- data/lib/x_twitter_scraper/models/monitors/keyword_retrieve_params.rb +22 -0
- data/lib/x_twitter_scraper/models/monitors/keyword_retrieve_response.rb +59 -0
- data/lib/x_twitter_scraper/models/monitors/keyword_update_params.rb +40 -0
- data/lib/x_twitter_scraper/models/monitors/keyword_update_response.rb +59 -0
- data/lib/x_twitter_scraper/models/paginated_tweets.rb +8 -4
- data/lib/x_twitter_scraper/models/paginated_users.rb +8 -4
- data/lib/x_twitter_scraper/models/radar_item.rb +99 -6
- data/lib/x_twitter_scraper/models/radar_retrieve_trending_topics_params.rb +39 -14
- data/lib/x_twitter_scraper/models/radar_retrieve_trending_topics_response.rb +14 -5
- data/lib/x_twitter_scraper/models/search_tweet.rb +236 -0
- data/lib/x_twitter_scraper/models/subscribe_create_params.rb +21 -1
- data/lib/x_twitter_scraper/models/subscribe_create_response.rb +10 -10
- data/lib/x_twitter_scraper/models/trend_list_params.rb +7 -4
- data/lib/x_twitter_scraper/models/tweet_media.rb +77 -0
- data/lib/x_twitter_scraper/models/user_profile.rb +258 -0
- data/lib/x_twitter_scraper/models/webhook.rb +46 -1
- data/lib/x_twitter_scraper/models/webhook_create_response.rb +2 -1
- data/lib/x_twitter_scraper/models/{api_key_revoke_params.rb → webhook_resume_params.rb} +2 -2
- data/lib/x_twitter_scraper/models/webhook_resume_response.rb +31 -0
- data/lib/x_twitter_scraper/models/x/account_connection_challenge_submit_params.rb +31 -0
- data/lib/x_twitter_scraper/models/x/account_connection_challenge_submit_response.rb +66 -0
- data/lib/x_twitter_scraper/models/x/account_create_params.rb +1 -9
- data/lib/x_twitter_scraper/models/x/account_create_response.rb +30 -1
- data/lib/x_twitter_scraper/models/x/account_reauth_params.rb +9 -1
- data/lib/x_twitter_scraper/models/x/account_reauth_response.rb +36 -1
- data/lib/x_twitter_scraper/models/x/bookmark_retrieve_folders_response.rb +6 -2
- data/lib/x_twitter_scraper/models/x/communities/join_create_response.rb +20 -0
- data/lib/x_twitter_scraper/models/x/communities/join_delete_all_response.rb +20 -0
- data/lib/x_twitter_scraper/models/x/communities/tweet_list_by_community_params.rb +17 -1
- data/lib/x_twitter_scraper/models/x/communities/tweet_list_params.rb +43 -9
- data/lib/x_twitter_scraper/models/x/community_retrieve_info_response.rb +69 -1
- data/lib/x_twitter_scraper/models/x/community_retrieve_members_params.rb +14 -1
- data/lib/x_twitter_scraper/models/x/community_retrieve_search_params.rb +38 -4
- data/lib/x_twitter_scraper/models/x/dm_retrieve_history_params.rb +13 -1
- data/lib/x_twitter_scraper/models/x/dm_retrieve_history_response.rb +26 -9
- data/lib/x_twitter_scraper/models/x/dm_send_params.rb +3 -9
- data/lib/x_twitter_scraper/models/x/follower_check_params.rb +4 -4
- data/lib/x_twitter_scraper/models/x/list_retrieve_followers_params.rb +15 -1
- data/lib/x_twitter_scraper/models/x/list_retrieve_members_params.rb +9 -1
- data/lib/x_twitter_scraper/models/x/list_retrieve_tweets_params.rb +16 -1
- data/lib/x_twitter_scraper/models/x/media_download_params.rb +19 -3
- data/lib/x_twitter_scraper/models/x/media_upload_params.rb +8 -15
- data/lib/x_twitter_scraper/models/x/media_upload_response.rb +10 -1
- data/lib/x_twitter_scraper/models/x/profile_update_avatar_params.rb +8 -8
- data/lib/x_twitter_scraper/models/x/profile_update_banner_params.rb +8 -8
- data/lib/x_twitter_scraper/models/x/tweet_author.rb +4 -21
- data/lib/x_twitter_scraper/models/x/tweet_create_params.rb +18 -11
- data/lib/x_twitter_scraper/models/x/tweet_create_response.rb +28 -1
- data/lib/x_twitter_scraper/models/x/tweet_detail.rb +109 -43
- data/lib/x_twitter_scraper/models/x/tweet_get_favoriters_params.rb +15 -1
- data/lib/x_twitter_scraper/models/x/tweet_get_quotes_params.rb +268 -1
- data/lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb +268 -1
- data/lib/x_twitter_scraper/models/x/tweet_get_retweeters_params.rb +15 -1
- data/lib/x_twitter_scraper/models/x/tweet_get_thread_params.rb +16 -1
- data/lib/x_twitter_scraper/models/x/tweet_retrieve_response.rb +9 -4
- data/lib/x_twitter_scraper/models/x/tweet_search_params.rb +314 -8
- data/lib/x_twitter_scraper/models/x/user_remove_follower_params.rb +31 -0
- data/lib/x_twitter_scraper/models/x/user_remove_follower_response.rb +18 -0
- data/lib/x_twitter_scraper/models/x/user_retrieve_batch_params.rb +6 -2
- data/lib/x_twitter_scraper/models/x/user_retrieve_batch_response.rb +83 -0
- data/lib/x_twitter_scraper/models/x/user_retrieve_followers_params.rb +25 -3
- data/lib/x_twitter_scraper/models/x/user_retrieve_followers_you_know_params.rb +16 -1
- data/lib/x_twitter_scraper/models/x/user_retrieve_following_params.rb +25 -3
- data/lib/x_twitter_scraper/models/x/user_retrieve_likes_params.rb +268 -1
- data/lib/x_twitter_scraper/models/x/user_retrieve_media_params.rb +268 -1
- data/lib/x_twitter_scraper/models/x/user_retrieve_mentions_params.rb +268 -1
- data/lib/x_twitter_scraper/models/x/user_retrieve_replies_params.rb +306 -0
- data/lib/x_twitter_scraper/models/x/user_retrieve_tweets_params.rb +268 -1
- data/lib/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rb +16 -1
- data/lib/x_twitter_scraper/models/x/write_action_retrieve_params.rb +22 -0
- data/lib/x_twitter_scraper/models/x/write_action_retrieve_response.rb +173 -0
- data/lib/x_twitter_scraper/models/x/x_account.rb +56 -2
- data/lib/x_twitter_scraper/models/x/x_account_detail.rb +23 -8
- data/lib/x_twitter_scraper/models/x_get_article_response.rb +189 -11
- data/lib/x_twitter_scraper/models/x_get_home_timeline_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x_get_notifications_params.rb +3 -3
- data/lib/x_twitter_scraper/models/x_get_trends_params.rb +17 -1
- data/lib/x_twitter_scraper/models.rb +21 -21
- data/lib/x_twitter_scraper/resources/account.rb +1 -3
- data/lib/x_twitter_scraper/resources/compose.rb +1 -1
- data/lib/x_twitter_scraper/resources/credits.rb +54 -4
- data/lib/x_twitter_scraper/resources/drafts.rb +7 -4
- data/lib/x_twitter_scraper/resources/draws.rb +14 -8
- data/lib/x_twitter_scraper/resources/events.rb +7 -5
- data/lib/x_twitter_scraper/resources/extractions.rb +145 -20
- data/lib/x_twitter_scraper/resources/guest_wallets.rb +108 -0
- data/lib/x_twitter_scraper/resources/monitors/keywords.rb +128 -0
- data/lib/x_twitter_scraper/resources/monitors.rb +13 -5
- data/lib/x_twitter_scraper/resources/radar.rb +8 -6
- data/lib/x_twitter_scraper/resources/styles.rb +1 -1
- data/lib/x_twitter_scraper/resources/subscribe.rb +9 -4
- data/lib/x_twitter_scraper/resources/support/tickets.rb +3 -3
- data/lib/x_twitter_scraper/resources/trends.rb +7 -4
- data/lib/x_twitter_scraper/resources/webhooks.rb +25 -5
- data/lib/x_twitter_scraper/resources/x/account_connection_challenges.rb +41 -0
- data/lib/x_twitter_scraper/resources/x/accounts.rb +7 -13
- data/lib/x_twitter_scraper/resources/x/bookmarks.rb +1 -1
- data/lib/x_twitter_scraper/resources/x/communities/join.rb +6 -6
- data/lib/x_twitter_scraper/resources/x/communities/tweets.rb +27 -10
- data/lib/x_twitter_scraper/resources/x/communities.rb +27 -11
- data/lib/x_twitter_scraper/resources/x/dm.rb +9 -6
- data/lib/x_twitter_scraper/resources/x/followers.rb +4 -4
- data/lib/x_twitter_scraper/resources/x/lists.rb +22 -9
- data/lib/x_twitter_scraper/resources/x/media.rb +11 -9
- data/lib/x_twitter_scraper/resources/x/profile.rb +6 -6
- data/lib/x_twitter_scraper/resources/x/tweets.rb +282 -28
- data/lib/x_twitter_scraper/resources/x/users.rb +485 -34
- data/lib/x_twitter_scraper/resources/x/write_actions.rb +37 -0
- data/lib/x_twitter_scraper/resources/x.rb +33 -13
- data/lib/x_twitter_scraper/version.rb +1 -1
- data/lib/x_twitter_scraper.rb +41 -27
- data/rbi/x_twitter_scraper/client.rbi +14 -22
- data/rbi/x_twitter_scraper/models/account_retrieve_response.rbi +181 -23
- data/rbi/x_twitter_scraper/models/content_disclosure.rbi +149 -0
- data/rbi/x_twitter_scraper/models/{integration_retrieve_params.rbi → credit_redirect_topup_checkout_params.rbi} +14 -6
- data/rbi/x_twitter_scraper/models/credit_retrieve_balance_response.rbi +35 -9
- data/rbi/x_twitter_scraper/models/{integration_list_deliveries_params.rbi → credit_retrieve_topup_status_params.rbi} +8 -17
- data/rbi/x_twitter_scraper/models/credit_retrieve_topup_status_response.rbi +107 -0
- data/rbi/x_twitter_scraper/models/credit_topup_balance_params.rbi +20 -6
- data/rbi/x_twitter_scraper/models/credit_topup_balance_response.rbi +19 -5
- data/rbi/x_twitter_scraper/models/draft_list_params.rbi +8 -2
- data/rbi/x_twitter_scraper/models/draw_detail.rbi +2 -0
- data/rbi/x_twitter_scraper/models/draw_export_params.rbi +3 -12
- data/rbi/x_twitter_scraper/models/draw_list_item.rbi +2 -0
- data/rbi/x_twitter_scraper/models/draw_list_params.rbi +16 -10
- data/rbi/x_twitter_scraper/models/draw_run_response.rbi +15 -1
- data/rbi/x_twitter_scraper/models/embedded_tweet.rbi +255 -0
- data/rbi/x_twitter_scraper/models/error.rbi +865 -87
- data/rbi/x_twitter_scraper/models/event.rbi +63 -4
- data/rbi/x_twitter_scraper/models/event_detail.rbi +73 -5
- data/rbi/x_twitter_scraper/models/event_list_params.rbi +16 -10
- data/rbi/x_twitter_scraper/models/event_type.rbi +58 -4
- data/rbi/x_twitter_scraper/models/extraction_estimate_cost_params.rbi +580 -2
- data/rbi/x_twitter_scraper/models/extraction_estimate_cost_response.rbi +98 -14
- data/rbi/x_twitter_scraper/models/extraction_export_results_params.rbi +3 -13
- data/rbi/x_twitter_scraper/models/extraction_job.rbi +15 -0
- data/rbi/x_twitter_scraper/models/extraction_list_params.rbi +31 -10
- data/rbi/x_twitter_scraper/models/extraction_retrieve_params.rbi +8 -8
- data/rbi/x_twitter_scraper/models/extraction_retrieve_response.rbi +2 -2
- data/rbi/x_twitter_scraper/models/extraction_run_params.rbi +546 -2
- data/rbi/x_twitter_scraper/models/extraction_run_response.rbi +15 -0
- data/rbi/x_twitter_scraper/models/guest_wallet_amount.rbi +39 -0
- data/rbi/x_twitter_scraper/models/guest_wallet_create_params.rbi +58 -0
- data/rbi/x_twitter_scraper/models/guest_wallet_create_response.rbi +243 -0
- data/rbi/x_twitter_scraper/models/{integration_list_params.rbi → guest_wallet_retrieve_status_params.rbi} +2 -2
- data/rbi/x_twitter_scraper/models/guest_wallet_retrieve_status_response.rbi +402 -0
- data/rbi/x_twitter_scraper/models/guest_wallet_topup_params.rbi +58 -0
- data/rbi/x_twitter_scraper/models/guest_wallet_topup_response.rbi +293 -0
- data/rbi/x_twitter_scraper/models/monitor.rbi +8 -0
- data/rbi/x_twitter_scraper/models/monitor_create_response.rbi +14 -0
- data/rbi/x_twitter_scraper/models/monitors/keyword_create_params.rbi +56 -0
- data/rbi/x_twitter_scraper/models/monitors/keyword_create_response.rbi +75 -0
- data/rbi/x_twitter_scraper/models/monitors/keyword_deactivate_params.rbi +40 -0
- data/rbi/x_twitter_scraper/models/monitors/keyword_deactivate_response.rbi +28 -0
- data/rbi/x_twitter_scraper/models/monitors/keyword_list_params.rbi +34 -0
- data/rbi/x_twitter_scraper/models/monitors/keyword_list_response.rbi +123 -0
- data/rbi/x_twitter_scraper/models/monitors/keyword_retrieve_params.rbi +40 -0
- data/rbi/x_twitter_scraper/models/monitors/keyword_retrieve_response.rbi +75 -0
- data/rbi/x_twitter_scraper/models/monitors/keyword_update_params.rbi +72 -0
- data/rbi/x_twitter_scraper/models/monitors/keyword_update_response.rbi +75 -0
- data/rbi/x_twitter_scraper/models/paginated_tweets.rbi +8 -4
- data/rbi/x_twitter_scraper/models/paginated_users.rbi +8 -4
- data/rbi/x_twitter_scraper/models/radar_item.rbi +131 -6
- data/rbi/x_twitter_scraper/models/radar_retrieve_trending_topics_params.rbi +109 -20
- data/rbi/x_twitter_scraper/models/radar_retrieve_trending_topics_response.rbi +22 -5
- data/rbi/x_twitter_scraper/models/search_tweet.rbi +316 -0
- data/rbi/x_twitter_scraper/models/subscribe_create_params.rbi +62 -2
- data/rbi/x_twitter_scraper/models/subscribe_create_response.rbi +10 -23
- data/rbi/x_twitter_scraper/models/trend_list_params.rbi +4 -4
- data/rbi/x_twitter_scraper/models/tweet_media.rbi +130 -0
- data/rbi/x_twitter_scraper/models/user_profile.rbi +346 -0
- data/rbi/x_twitter_scraper/models/webhook.rbi +57 -0
- data/rbi/x_twitter_scraper/models/webhook_create_response.rbi +2 -0
- data/rbi/x_twitter_scraper/models/{api_key_revoke_params.rbi → webhook_resume_params.rbi} +2 -2
- data/rbi/x_twitter_scraper/models/webhook_resume_response.rbi +55 -0
- data/rbi/x_twitter_scraper/models/x/account_connection_challenge_submit_params.rbi +54 -0
- data/rbi/x_twitter_scraper/models/x/account_connection_challenge_submit_response.rbi +131 -0
- data/rbi/x_twitter_scraper/models/x/account_create_params.rbi +0 -11
- data/rbi/x_twitter_scraper/models/x/account_create_response.rbi +79 -1
- data/rbi/x_twitter_scraper/models/x/account_reauth_params.rbi +11 -0
- data/rbi/x_twitter_scraper/models/x/account_reauth_response.rbi +96 -5
- data/rbi/x_twitter_scraper/models/x/bookmark_retrieve_folders_response.rbi +9 -1
- data/rbi/x_twitter_scraper/models/x/communities/join_create_response.rbi +30 -0
- data/rbi/x_twitter_scraper/models/x/communities/join_delete_all_response.rbi +30 -0
- data/rbi/x_twitter_scraper/models/x/communities/tweet_list_by_community_params.rbi +19 -0
- data/rbi/x_twitter_scraper/models/x/communities/tweet_list_params.rbi +85 -10
- data/rbi/x_twitter_scraper/models/x/community_retrieve_info_response.rbi +115 -0
- data/rbi/x_twitter_scraper/models/x/community_retrieve_members_params.rbi +15 -0
- data/rbi/x_twitter_scraper/models/x/community_retrieve_search_params.rbi +79 -4
- data/rbi/x_twitter_scraper/models/x/dm_retrieve_history_params.rbi +10 -0
- data/rbi/x_twitter_scraper/models/x/dm_retrieve_history_response.rbi +20 -13
- data/rbi/x_twitter_scraper/models/x/dm_send_params.rbi +2 -9
- data/rbi/x_twitter_scraper/models/x/follower_check_params.rbi +4 -4
- data/rbi/x_twitter_scraper/models/x/list_retrieve_followers_params.rbi +17 -0
- data/rbi/x_twitter_scraper/models/x/list_retrieve_members_params.rbi +11 -0
- data/rbi/x_twitter_scraper/models/x/list_retrieve_tweets_params.rbi +19 -0
- data/rbi/x_twitter_scraper/models/x/media_download_params.rbi +24 -2
- data/rbi/x_twitter_scraper/models/x/media_upload_params.rbi +9 -18
- data/rbi/x_twitter_scraper/models/x/media_upload_response.rbi +20 -5
- data/rbi/x_twitter_scraper/models/x/profile_update_avatar_params.rbi +9 -9
- data/rbi/x_twitter_scraper/models/x/profile_update_banner_params.rbi +9 -9
- data/rbi/x_twitter_scraper/models/x/tweet_author.rbi +8 -39
- data/rbi/x_twitter_scraper/models/x/tweet_create_params.rbi +23 -12
- data/rbi/x_twitter_scraper/models/x/tweet_create_response.rbi +41 -5
- data/rbi/x_twitter_scraper/models/x/tweet_detail.rbi +156 -115
- data/rbi/x_twitter_scraper/models/x/tweet_get_favoriters_params.rbi +17 -0
- data/rbi/x_twitter_scraper/models/x/tweet_get_quotes_params.rbi +508 -0
- data/rbi/x_twitter_scraper/models/x/tweet_get_replies_params.rbi +512 -0
- data/rbi/x_twitter_scraper/models/x/tweet_get_retweeters_params.rbi +17 -0
- data/rbi/x_twitter_scraper/models/x/tweet_get_thread_params.rbi +19 -0
- data/rbi/x_twitter_scraper/models/x/tweet_retrieve_response.rbi +8 -4
- data/rbi/x_twitter_scraper/models/x/tweet_search_params.rbi +557 -7
- data/rbi/x_twitter_scraper/models/x/user_remove_follower_params.rbi +54 -0
- data/rbi/x_twitter_scraper/models/x/user_remove_follower_response.rbi +28 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_batch_params.rbi +4 -2
- data/rbi/x_twitter_scraper/models/x/user_retrieve_batch_response.rbi +102 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_followers_params.rbi +30 -2
- data/rbi/x_twitter_scraper/models/x/user_retrieve_followers_you_know_params.rbi +17 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_following_params.rbi +30 -2
- data/rbi/x_twitter_scraper/models/x/user_retrieve_likes_params.rbi +520 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_media_params.rbi +520 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_mentions_params.rbi +523 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_replies_params.rbi +591 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_tweets_params.rbi +523 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rbi +17 -0
- data/rbi/x_twitter_scraper/models/x/write_action_retrieve_params.rbi +40 -0
- data/rbi/x_twitter_scraper/models/x/write_action_retrieve_response.rbi +313 -0
- data/rbi/x_twitter_scraper/models/x/x_account.rbi +87 -4
- data/rbi/x_twitter_scraper/models/x/x_account_detail.rbi +58 -10
- data/rbi/x_twitter_scraper/models/x_get_article_response.rbi +308 -12
- data/rbi/x_twitter_scraper/models/x_get_home_timeline_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x_get_notifications_params.rbi +3 -3
- data/rbi/x_twitter_scraper/models/x_get_trends_params.rbi +30 -2
- data/rbi/x_twitter_scraper/models.rbi +24 -22
- data/rbi/x_twitter_scraper/resources/account.rbi +1 -1
- data/rbi/x_twitter_scraper/resources/compose.rbi +1 -1
- data/rbi/x_twitter_scraper/resources/credits.rbi +37 -5
- data/rbi/x_twitter_scraper/resources/drafts.rbi +7 -4
- data/rbi/x_twitter_scraper/resources/draws.rbi +14 -8
- data/rbi/x_twitter_scraper/resources/events.rbi +8 -5
- data/rbi/x_twitter_scraper/resources/extractions.rbi +210 -11
- data/rbi/x_twitter_scraper/resources/guest_wallets.rbi +76 -0
- data/rbi/x_twitter_scraper/resources/monitors/keywords.rbi +95 -0
- data/rbi/x_twitter_scraper/resources/monitors.rbi +12 -5
- data/rbi/x_twitter_scraper/resources/radar.rbi +12 -8
- data/rbi/x_twitter_scraper/resources/styles.rbi +1 -1
- data/rbi/x_twitter_scraper/resources/subscribe.rbi +9 -3
- data/rbi/x_twitter_scraper/resources/support/tickets.rbi +3 -3
- data/rbi/x_twitter_scraper/resources/trends.rbi +4 -4
- data/rbi/x_twitter_scraper/resources/webhooks.rbi +19 -5
- data/rbi/x_twitter_scraper/resources/x/account_connection_challenges.rbi +36 -0
- data/rbi/x_twitter_scraper/resources/x/accounts.rbi +6 -6
- data/rbi/x_twitter_scraper/resources/x/bookmarks.rbi +1 -1
- data/rbi/x_twitter_scraper/resources/x/communities/join.rbi +8 -4
- data/rbi/x_twitter_scraper/resources/x/communities/tweets.rbi +25 -7
- data/rbi/x_twitter_scraper/resources/x/communities.rbi +23 -7
- data/rbi/x_twitter_scraper/resources/x/dm.rbi +5 -2
- data/rbi/x_twitter_scraper/resources/x/followers.rbi +4 -4
- data/rbi/x_twitter_scraper/resources/x/lists.rbi +20 -4
- data/rbi/x_twitter_scraper/resources/x/media.rbi +13 -9
- data/rbi/x_twitter_scraper/resources/x/profile.rbi +8 -8
- data/rbi/x_twitter_scraper/resources/x/tweets.rbi +309 -16
- data/rbi/x_twitter_scraper/resources/x/users.rbi +520 -18
- data/rbi/x_twitter_scraper/resources/x/write_actions.rbi +31 -0
- data/rbi/x_twitter_scraper/resources/x.rbi +30 -12
- data/sig/x_twitter_scraper/client.rbs +2 -6
- data/sig/x_twitter_scraper/models/account_retrieve_response.rbs +106 -19
- data/sig/x_twitter_scraper/models/content_disclosure.rbs +78 -0
- data/sig/x_twitter_scraper/models/{api_key_create_params.rbs → credit_redirect_topup_checkout_params.rbs} +7 -8
- data/sig/x_twitter_scraper/models/credit_retrieve_balance_response.rbs +22 -12
- data/sig/x_twitter_scraper/models/{integration_list_deliveries_params.rbs → credit_retrieve_topup_status_params.rbs} +6 -12
- data/sig/x_twitter_scraper/models/credit_retrieve_topup_status_response.rbs +45 -0
- data/sig/x_twitter_scraper/models/credit_topup_balance_params.rbs +11 -4
- data/sig/x_twitter_scraper/models/credit_topup_balance_response.rbs +6 -4
- data/sig/x_twitter_scraper/models/draw_export_params.rbs +2 -6
- data/sig/x_twitter_scraper/models/draw_list_params.rbs +5 -5
- data/sig/x_twitter_scraper/models/embedded_tweet.rbs +187 -0
- data/sig/x_twitter_scraper/models/error.rbs +341 -54
- data/sig/x_twitter_scraper/models/event.rbs +34 -2
- data/sig/x_twitter_scraper/models/event_detail.rbs +34 -2
- data/sig/x_twitter_scraper/models/event_list_params.rbs +5 -5
- data/sig/x_twitter_scraper/models/event_type.rbs +34 -4
- data/sig/x_twitter_scraper/models/extraction_estimate_cost_params.rbs +269 -1
- data/sig/x_twitter_scraper/models/extraction_estimate_cost_response.rbs +46 -12
- data/sig/x_twitter_scraper/models/extraction_export_results_params.rbs +2 -6
- data/sig/x_twitter_scraper/models/extraction_job.rbs +6 -0
- data/sig/x_twitter_scraper/models/extraction_list_params.rbs +11 -5
- data/sig/x_twitter_scraper/models/extraction_retrieve_params.rbs +5 -5
- data/sig/x_twitter_scraper/models/extraction_run_params.rbs +269 -1
- data/sig/x_twitter_scraper/models/extraction_run_response.rbs +6 -0
- data/sig/x_twitter_scraper/models/guest_wallet_amount.rbs +15 -0
- data/sig/x_twitter_scraper/models/guest_wallet_create_params.rbs +32 -0
- data/sig/x_twitter_scraper/models/guest_wallet_create_response.rbs +125 -0
- data/sig/x_twitter_scraper/models/{api_key_list_params.rbs → guest_wallet_retrieve_status_params.rbs} +2 -2
- data/sig/x_twitter_scraper/models/guest_wallet_retrieve_status_response.rbs +163 -0
- data/sig/x_twitter_scraper/models/guest_wallet_topup_params.rbs +32 -0
- data/sig/x_twitter_scraper/models/guest_wallet_topup_response.rbs +146 -0
- data/sig/x_twitter_scraper/models/monitor.rbs +5 -0
- data/sig/x_twitter_scraper/models/monitor_create_response.rbs +10 -0
- data/sig/x_twitter_scraper/models/monitors/keyword_create_params.rbs +33 -0
- data/sig/x_twitter_scraper/models/monitors/keyword_create_response.rbs +47 -0
- data/sig/x_twitter_scraper/models/monitors/keyword_deactivate_params.rbs +25 -0
- data/sig/x_twitter_scraper/models/monitors/keyword_deactivate_response.rbs +15 -0
- data/sig/x_twitter_scraper/models/monitors/keyword_list_params.rbs +19 -0
- data/sig/x_twitter_scraper/models/monitors/keyword_list_response.rbs +69 -0
- data/sig/x_twitter_scraper/models/monitors/keyword_retrieve_params.rbs +25 -0
- data/sig/x_twitter_scraper/models/monitors/keyword_retrieve_response.rbs +47 -0
- data/sig/x_twitter_scraper/models/monitors/keyword_update_params.rbs +44 -0
- data/sig/x_twitter_scraper/models/monitors/keyword_update_response.rbs +47 -0
- data/sig/x_twitter_scraper/models/paginated_tweets.rbs +4 -4
- data/sig/x_twitter_scraper/models/paginated_users.rbs +4 -4
- data/sig/x_twitter_scraper/models/radar_item.rbs +81 -8
- data/sig/x_twitter_scraper/models/radar_retrieve_trending_topics_params.rbs +44 -10
- data/sig/x_twitter_scraper/models/radar_retrieve_trending_topics_response.rbs +14 -4
- data/sig/x_twitter_scraper/models/search_tweet.rbs +205 -0
- data/sig/x_twitter_scraper/models/subscribe_create_params.rbs +28 -3
- data/sig/x_twitter_scraper/models/subscribe_create_response.rbs +10 -16
- data/sig/x_twitter_scraper/models/tweet_media.rbs +72 -0
- data/sig/x_twitter_scraper/models/user_profile.rbs +247 -0
- data/sig/x_twitter_scraper/models/webhook.rbs +27 -0
- data/sig/x_twitter_scraper/models/{api_key_revoke_params.rbs → webhook_resume_params.rbs} +2 -2
- data/sig/x_twitter_scraper/models/webhook_resume_response.rbs +26 -0
- data/sig/x_twitter_scraper/models/x/account_connection_challenge_submit_params.rbs +30 -0
- data/sig/x_twitter_scraper/models/x/account_connection_challenge_submit_response.rbs +68 -0
- data/sig/x_twitter_scraper/models/x/account_create_params.rbs +0 -7
- data/sig/x_twitter_scraper/models/x/account_create_response.rbs +37 -1
- data/sig/x_twitter_scraper/models/x/account_reauth_params.rbs +7 -1
- data/sig/x_twitter_scraper/models/x/account_reauth_response.rbs +51 -3
- data/sig/x_twitter_scraper/models/x/communities/join_create_response.rbs +17 -0
- data/sig/x_twitter_scraper/models/x/communities/join_delete_all_response.rbs +17 -0
- data/sig/x_twitter_scraper/models/x/communities/tweet_list_by_community_params.rbs +7 -1
- data/sig/x_twitter_scraper/models/x/communities/tweet_list_params.rbs +34 -5
- data/sig/x_twitter_scraper/models/x/community_retrieve_info_response.rbs +66 -0
- data/sig/x_twitter_scraper/models/x/community_retrieve_members_params.rbs +7 -1
- data/sig/x_twitter_scraper/models/x/community_retrieve_search_params.rbs +34 -5
- data/sig/x_twitter_scraper/models/x/dm_retrieve_history_params.rbs +5 -1
- data/sig/x_twitter_scraper/models/x/dm_retrieve_history_response.rbs +13 -10
- data/sig/x_twitter_scraper/models/x/dm_send_params.rbs +1 -8
- data/sig/x_twitter_scraper/models/x/list_retrieve_followers_params.rbs +7 -1
- data/sig/x_twitter_scraper/models/x/list_retrieve_members_params.rbs +7 -1
- data/sig/x_twitter_scraper/models/x/list_retrieve_tweets_params.rbs +7 -0
- data/sig/x_twitter_scraper/models/x/media_download_params.rbs +18 -1
- data/sig/x_twitter_scraper/models/x/media_upload_params.rbs +4 -14
- data/sig/x_twitter_scraper/models/x/media_upload_response.rbs +10 -3
- data/sig/x_twitter_scraper/models/x/profile_update_avatar_params.rbs +4 -4
- data/sig/x_twitter_scraper/models/x/profile_update_banner_params.rbs +4 -4
- data/sig/x_twitter_scraper/models/x/tweet_author.rbs +8 -31
- data/sig/x_twitter_scraper/models/x/tweet_create_params.rbs +13 -11
- data/sig/x_twitter_scraper/models/x/tweet_create_response.rbs +30 -3
- data/sig/x_twitter_scraper/models/x/tweet_detail.rbs +99 -61
- data/sig/x_twitter_scraper/models/x/tweet_get_favoriters_params.rbs +7 -1
- data/sig/x_twitter_scraper/models/x/tweet_get_quotes_params.rbs +242 -1
- data/sig/x_twitter_scraper/models/x/tweet_get_replies_params.rbs +247 -1
- data/sig/x_twitter_scraper/models/x/tweet_get_retweeters_params.rbs +7 -1
- data/sig/x_twitter_scraper/models/x/tweet_get_thread_params.rbs +7 -1
- data/sig/x_twitter_scraper/models/x/tweet_search_params.rbs +277 -1
- data/sig/x_twitter_scraper/models/x/user_remove_follower_params.rbs +30 -0
- data/sig/x_twitter_scraper/models/x/user_remove_follower_response.rbs +15 -0
- data/sig/x_twitter_scraper/models/x/user_retrieve_batch_response.rbs +57 -0
- data/sig/x_twitter_scraper/models/x/user_retrieve_followers_params.rbs +19 -1
- data/sig/x_twitter_scraper/models/x/user_retrieve_followers_you_know_params.rbs +7 -1
- data/sig/x_twitter_scraper/models/x/user_retrieve_following_params.rbs +19 -1
- data/sig/x_twitter_scraper/models/x/user_retrieve_likes_params.rbs +245 -1
- data/sig/x_twitter_scraper/models/x/user_retrieve_media_params.rbs +245 -1
- data/sig/x_twitter_scraper/models/x/user_retrieve_mentions_params.rbs +247 -1
- data/sig/x_twitter_scraper/models/x/user_retrieve_replies_params.rbs +283 -0
- data/sig/x_twitter_scraper/models/x/user_retrieve_tweets_params.rbs +242 -1
- data/sig/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rbs +7 -1
- data/sig/x_twitter_scraper/models/x/write_action_retrieve_params.rbs +25 -0
- data/sig/x_twitter_scraper/models/x/write_action_retrieve_response.rbs +177 -0
- data/sig/x_twitter_scraper/models/x/x_account.rbs +41 -3
- data/sig/x_twitter_scraper/models/x/x_account_detail.rbs +26 -7
- data/sig/x_twitter_scraper/models/x_get_article_response.rbs +193 -6
- data/sig/x_twitter_scraper/models/x_get_trends_params.rbs +20 -3
- data/sig/x_twitter_scraper/models.rbs +21 -21
- data/sig/x_twitter_scraper/resources/credits.rbs +12 -1
- data/sig/x_twitter_scraper/resources/draws.rbs +2 -2
- data/sig/x_twitter_scraper/resources/events.rbs +1 -1
- data/sig/x_twitter_scraper/resources/extractions.rbs +61 -3
- data/sig/x_twitter_scraper/resources/guest_wallets.rbs +25 -0
- data/sig/x_twitter_scraper/resources/monitors/keywords.rbs +36 -0
- data/sig/x_twitter_scraper/resources/monitors.rbs +2 -0
- data/sig/x_twitter_scraper/resources/radar.rbs +3 -2
- data/sig/x_twitter_scraper/resources/subscribe.rbs +1 -0
- data/sig/x_twitter_scraper/resources/webhooks.rbs +5 -0
- data/sig/x_twitter_scraper/resources/x/account_connection_challenges.rbs +15 -0
- data/sig/x_twitter_scraper/resources/x/accounts.rbs +1 -1
- data/sig/x_twitter_scraper/resources/x/communities/join.rbs +2 -2
- data/sig/x_twitter_scraper/resources/x/communities/tweets.rbs +4 -1
- data/sig/x_twitter_scraper/resources/x/communities.rbs +4 -1
- data/sig/x_twitter_scraper/resources/x/dm.rbs +1 -1
- data/sig/x_twitter_scraper/resources/x/lists.rbs +3 -0
- data/sig/x_twitter_scraper/resources/x/media.rbs +3 -2
- data/sig/x_twitter_scraper/resources/x/profile.rbs +2 -2
- data/sig/x_twitter_scraper/resources/x/tweets.rbs +88 -2
- data/sig/x_twitter_scraper/resources/x/users.rbs +151 -2
- data/sig/x_twitter_scraper/resources/x/write_actions.rbs +14 -0
- data/sig/x_twitter_scraper/resources/x.rbs +6 -0
- metadata +125 -82
- data/lib/x_twitter_scraper/models/api_key.rb +0 -47
- data/lib/x_twitter_scraper/models/api_key_create_params.rb +0 -20
- data/lib/x_twitter_scraper/models/api_key_create_response.rb +0 -40
- data/lib/x_twitter_scraper/models/api_key_list_params.rb +0 -14
- data/lib/x_twitter_scraper/models/api_key_list_response.rb +0 -16
- data/lib/x_twitter_scraper/models/api_key_revoke_response.rb +0 -16
- data/lib/x_twitter_scraper/models/integration.rb +0 -93
- data/lib/x_twitter_scraper/models/integration_create_params.rb +0 -58
- data/lib/x_twitter_scraper/models/integration_delete_params.rb +0 -20
- data/lib/x_twitter_scraper/models/integration_delete_response.rb +0 -16
- data/lib/x_twitter_scraper/models/integration_delivery.rb +0 -71
- data/lib/x_twitter_scraper/models/integration_list_deliveries_params.rb +0 -29
- data/lib/x_twitter_scraper/models/integration_list_deliveries_response.rb +0 -17
- data/lib/x_twitter_scraper/models/integration_list_response.rb +0 -16
- data/lib/x_twitter_scraper/models/integration_retrieve_params.rb +0 -20
- data/lib/x_twitter_scraper/models/integration_send_test_params.rb +0 -20
- data/lib/x_twitter_scraper/models/integration_send_test_response.rb +0 -16
- data/lib/x_twitter_scraper/models/integration_update_params.rb +0 -77
- data/lib/x_twitter_scraper/models/x/community_action_result.rb +0 -31
- data/lib/x_twitter_scraper/models/x/search_tweet.rb +0 -119
- data/lib/x_twitter_scraper/models/x/user_profile.rb +0 -80
- data/lib/x_twitter_scraper/resources/api_keys.rb +0 -77
- data/lib/x_twitter_scraper/resources/bot/platform_links.rb +0 -16
- data/lib/x_twitter_scraper/resources/bot.rb +0 -18
- data/lib/x_twitter_scraper/resources/integrations.rb +0 -182
- data/rbi/x_twitter_scraper/models/api_key.rbi +0 -69
- data/rbi/x_twitter_scraper/models/api_key_create_params.rbi +0 -41
- data/rbi/x_twitter_scraper/models/api_key_create_response.rbi +0 -56
- data/rbi/x_twitter_scraper/models/api_key_list_params.rbi +0 -32
- data/rbi/x_twitter_scraper/models/api_key_list_response.rbi +0 -30
- data/rbi/x_twitter_scraper/models/api_key_revoke_response.rbi +0 -26
- data/rbi/x_twitter_scraper/models/integration.rbi +0 -117
- data/rbi/x_twitter_scraper/models/integration_create_params.rbi +0 -95
- data/rbi/x_twitter_scraper/models/integration_delete_params.rbi +0 -38
- data/rbi/x_twitter_scraper/models/integration_delete_response.rbi +0 -26
- data/rbi/x_twitter_scraper/models/integration_delivery.rbi +0 -108
- data/rbi/x_twitter_scraper/models/integration_list_deliveries_response.rbi +0 -34
- data/rbi/x_twitter_scraper/models/integration_list_response.rbi +0 -34
- data/rbi/x_twitter_scraper/models/integration_send_test_params.rbi +0 -38
- data/rbi/x_twitter_scraper/models/integration_send_test_response.rbi +0 -26
- data/rbi/x_twitter_scraper/models/integration_update_params.rbi +0 -115
- data/rbi/x_twitter_scraper/models/x/community_action_result.rbi +0 -49
- data/rbi/x_twitter_scraper/models/x/search_tweet.rbi +0 -181
- data/rbi/x_twitter_scraper/models/x/user_profile.rbi +0 -125
- data/rbi/x_twitter_scraper/resources/api_keys.rbi +0 -46
- data/rbi/x_twitter_scraper/resources/bot/platform_links.rbi +0 -16
- data/rbi/x_twitter_scraper/resources/bot.rbi +0 -15
- data/rbi/x_twitter_scraper/resources/integrations.rbi +0 -133
- data/sig/x_twitter_scraper/models/api_key.rbs +0 -47
- data/sig/x_twitter_scraper/models/api_key_create_response.rbs +0 -40
- data/sig/x_twitter_scraper/models/api_key_list_response.rbs +0 -13
- data/sig/x_twitter_scraper/models/api_key_revoke_response.rbs +0 -13
- data/sig/x_twitter_scraper/models/integration.rbs +0 -78
- data/sig/x_twitter_scraper/models/integration_create_params.rbs +0 -51
- data/sig/x_twitter_scraper/models/integration_delete_params.rbs +0 -23
- data/sig/x_twitter_scraper/models/integration_delete_response.rbs +0 -13
- data/sig/x_twitter_scraper/models/integration_delivery.rbs +0 -75
- data/sig/x_twitter_scraper/models/integration_list_deliveries_response.rbs +0 -18
- data/sig/x_twitter_scraper/models/integration_list_params.rbs +0 -15
- data/sig/x_twitter_scraper/models/integration_list_response.rbs +0 -16
- data/sig/x_twitter_scraper/models/integration_retrieve_params.rbs +0 -23
- data/sig/x_twitter_scraper/models/integration_send_test_params.rbs +0 -23
- data/sig/x_twitter_scraper/models/integration_send_test_response.rbs +0 -13
- data/sig/x_twitter_scraper/models/integration_update_params.rbs +0 -77
- data/sig/x_twitter_scraper/models/x/community_action_result.rbs +0 -28
- data/sig/x_twitter_scraper/models/x/search_tweet.rbs +0 -121
- data/sig/x_twitter_scraper/models/x/user_profile.rbs +0 -88
- data/sig/x_twitter_scraper/resources/api_keys.rbs +0 -21
- data/sig/x_twitter_scraper/resources/bot/platform_links.rbs +0 -9
- data/sig/x_twitter_scraper/resources/bot.rbs +0 -9
- data/sig/x_twitter_scraper/resources/integrations.rbs +0 -52
|
@@ -29,6 +29,36 @@ module XTwitterScraper
|
|
|
29
29
|
sig { params(advanced_query: String).void }
|
|
30
30
|
attr_writer :advanced_query
|
|
31
31
|
|
|
32
|
+
# Alternative words or quoted phrases for estimated results. Separate with spaces,
|
|
33
|
+
# commas, or lines.
|
|
34
|
+
sig { returns(T.nilable(String)) }
|
|
35
|
+
attr_reader :any_words
|
|
36
|
+
|
|
37
|
+
sig { params(any_words: String).void }
|
|
38
|
+
attr_writer :any_words
|
|
39
|
+
|
|
40
|
+
# Geo bounding box used for estimation, e.g. -74.1 40.6 -73.9 40.8
|
|
41
|
+
# (tweet_search_extractor)
|
|
42
|
+
sig { returns(T.nilable(String)) }
|
|
43
|
+
attr_reader :bounding_box
|
|
44
|
+
|
|
45
|
+
sig { params(bounding_box: String).void }
|
|
46
|
+
attr_writer :bounding_box
|
|
47
|
+
|
|
48
|
+
# Cashtags applied to the estimate, separated by spaces, commas, or lines.
|
|
49
|
+
sig { returns(T.nilable(String)) }
|
|
50
|
+
attr_reader :cashtags
|
|
51
|
+
|
|
52
|
+
sig { params(cashtags: String).void }
|
|
53
|
+
attr_writer :cashtags
|
|
54
|
+
|
|
55
|
+
# Conversation ID filter used for estimation (tweet_search_extractor)
|
|
56
|
+
sig { returns(T.nilable(String)) }
|
|
57
|
+
attr_reader :conversation_id
|
|
58
|
+
|
|
59
|
+
sig { params(conversation_id: String).void }
|
|
60
|
+
attr_writer :conversation_id
|
|
61
|
+
|
|
32
62
|
# Exact phrase filter for search estimation
|
|
33
63
|
sig { returns(T.nilable(String)) }
|
|
34
64
|
attr_reader :exact_phrase
|
|
@@ -36,31 +66,230 @@ module XTwitterScraper
|
|
|
36
66
|
sig { params(exact_phrase: String).void }
|
|
37
67
|
attr_writer :exact_phrase
|
|
38
68
|
|
|
39
|
-
# Words excluded from estimated
|
|
69
|
+
# Words or quoted phrases excluded from estimated results. Separate with spaces,
|
|
70
|
+
# commas, or lines.
|
|
40
71
|
sig { returns(T.nilable(String)) }
|
|
41
72
|
attr_reader :exclude_words
|
|
42
73
|
|
|
43
74
|
sig { params(exclude_words: String).void }
|
|
44
75
|
attr_writer :exclude_words
|
|
45
76
|
|
|
77
|
+
# Estimate only tweets from this author username (tweet_search_extractor)
|
|
78
|
+
sig { returns(T.nilable(String)) }
|
|
79
|
+
attr_reader :from_user
|
|
80
|
+
|
|
81
|
+
sig { params(from_user: String).void }
|
|
82
|
+
attr_writer :from_user
|
|
83
|
+
|
|
84
|
+
# Hashtags applied to the estimate, separated by spaces, commas, or lines.
|
|
85
|
+
sig { returns(T.nilable(String)) }
|
|
86
|
+
attr_reader :hashtags
|
|
87
|
+
|
|
88
|
+
sig { params(hashtags: String).void }
|
|
89
|
+
attr_writer :hashtags
|
|
90
|
+
|
|
91
|
+
# Estimate only replies to this tweet ID (tweet_search_extractor)
|
|
92
|
+
sig { returns(T.nilable(String)) }
|
|
93
|
+
attr_reader :in_reply_to_tweet_id
|
|
94
|
+
|
|
95
|
+
sig { params(in_reply_to_tweet_id: String).void }
|
|
96
|
+
attr_writer :in_reply_to_tweet_id
|
|
97
|
+
|
|
98
|
+
# Language code used for estimate filtering (tweet_search_extractor)
|
|
99
|
+
sig { returns(T.nilable(String)) }
|
|
100
|
+
attr_reader :language
|
|
101
|
+
|
|
102
|
+
sig { params(language: String).void }
|
|
103
|
+
attr_writer :language
|
|
104
|
+
|
|
105
|
+
# Estimate search results within this list ID (tweet_search_extractor)
|
|
106
|
+
sig { returns(T.nilable(String)) }
|
|
107
|
+
attr_reader :list_id
|
|
108
|
+
|
|
109
|
+
sig { params(list_id: String).void }
|
|
110
|
+
attr_writer :list_id
|
|
111
|
+
|
|
112
|
+
# Media type used for estimate filtering (tweet_search_extractor)
|
|
113
|
+
sig do
|
|
114
|
+
returns(
|
|
115
|
+
T.nilable(
|
|
116
|
+
XTwitterScraper::ExtractionEstimateCostParams::MediaType::OrSymbol
|
|
117
|
+
)
|
|
118
|
+
)
|
|
119
|
+
end
|
|
120
|
+
attr_reader :media_type
|
|
121
|
+
|
|
122
|
+
sig do
|
|
123
|
+
params(
|
|
124
|
+
media_type:
|
|
125
|
+
XTwitterScraper::ExtractionEstimateCostParams::MediaType::OrSymbol
|
|
126
|
+
).void
|
|
127
|
+
end
|
|
128
|
+
attr_writer :media_type
|
|
129
|
+
|
|
130
|
+
# Estimate tweets mentioning this username (tweet_search_extractor)
|
|
131
|
+
sig { returns(T.nilable(String)) }
|
|
132
|
+
attr_reader :mentioning
|
|
133
|
+
|
|
134
|
+
sig { params(mentioning: String).void }
|
|
135
|
+
attr_writer :mentioning
|
|
136
|
+
|
|
137
|
+
# Minimum likes threshold for estimated results (tweet_search_extractor)
|
|
138
|
+
sig { returns(T.nilable(Integer)) }
|
|
139
|
+
attr_reader :min_faves
|
|
140
|
+
|
|
141
|
+
sig { params(min_faves: Integer).void }
|
|
142
|
+
attr_writer :min_faves
|
|
143
|
+
|
|
144
|
+
# Minimum quote count threshold for estimated results (tweet_search_extractor)
|
|
145
|
+
sig { returns(T.nilable(Integer)) }
|
|
146
|
+
attr_reader :min_quotes
|
|
147
|
+
|
|
148
|
+
sig { params(min_quotes: Integer).void }
|
|
149
|
+
attr_writer :min_quotes
|
|
150
|
+
|
|
151
|
+
# Minimum replies threshold for estimated results (tweet_search_extractor)
|
|
152
|
+
sig { returns(T.nilable(Integer)) }
|
|
153
|
+
attr_reader :min_replies
|
|
154
|
+
|
|
155
|
+
sig { params(min_replies: Integer).void }
|
|
156
|
+
attr_writer :min_replies
|
|
157
|
+
|
|
158
|
+
# Minimum retweets threshold for estimated results (tweet_search_extractor)
|
|
159
|
+
sig { returns(T.nilable(Integer)) }
|
|
160
|
+
attr_reader :min_retweets
|
|
161
|
+
|
|
162
|
+
sig { params(min_retweets: Integer).void }
|
|
163
|
+
attr_writer :min_retweets
|
|
164
|
+
|
|
165
|
+
# Estimate search results within this place ID (tweet_search_extractor)
|
|
166
|
+
sig { returns(T.nilable(String)) }
|
|
167
|
+
attr_reader :place
|
|
168
|
+
|
|
169
|
+
sig { params(place: String).void }
|
|
170
|
+
attr_writer :place
|
|
171
|
+
|
|
172
|
+
# Estimate search results within this country code (tweet_search_extractor)
|
|
173
|
+
sig { returns(T.nilable(String)) }
|
|
174
|
+
attr_reader :place_country
|
|
175
|
+
|
|
176
|
+
sig { params(place_country: String).void }
|
|
177
|
+
attr_writer :place_country
|
|
178
|
+
|
|
179
|
+
# Geo point radius used for estimation, e.g. -73.99 40.73 25mi
|
|
180
|
+
# (tweet_search_extractor)
|
|
181
|
+
sig { returns(T.nilable(String)) }
|
|
182
|
+
attr_reader :point_radius
|
|
183
|
+
|
|
184
|
+
sig { params(point_radius: String).void }
|
|
185
|
+
attr_writer :point_radius
|
|
186
|
+
|
|
187
|
+
# Quote mode used for estimation (tweet_search_extractor)
|
|
188
|
+
sig do
|
|
189
|
+
returns(
|
|
190
|
+
T.nilable(
|
|
191
|
+
XTwitterScraper::ExtractionEstimateCostParams::Quotes::OrSymbol
|
|
192
|
+
)
|
|
193
|
+
)
|
|
194
|
+
end
|
|
195
|
+
attr_reader :quotes
|
|
196
|
+
|
|
197
|
+
sig do
|
|
198
|
+
params(
|
|
199
|
+
quotes:
|
|
200
|
+
XTwitterScraper::ExtractionEstimateCostParams::Quotes::OrSymbol
|
|
201
|
+
).void
|
|
202
|
+
end
|
|
203
|
+
attr_writer :quotes
|
|
204
|
+
|
|
205
|
+
# Estimate only quotes of this tweet ID (tweet_search_extractor)
|
|
206
|
+
sig { returns(T.nilable(String)) }
|
|
207
|
+
attr_reader :quotes_of_tweet_id
|
|
208
|
+
|
|
209
|
+
sig { params(quotes_of_tweet_id: String).void }
|
|
210
|
+
attr_writer :quotes_of_tweet_id
|
|
211
|
+
|
|
212
|
+
# Reply mode used for estimation (tweet_search_extractor)
|
|
213
|
+
sig do
|
|
214
|
+
returns(
|
|
215
|
+
T.nilable(
|
|
216
|
+
XTwitterScraper::ExtractionEstimateCostParams::Replies::OrSymbol
|
|
217
|
+
)
|
|
218
|
+
)
|
|
219
|
+
end
|
|
220
|
+
attr_reader :replies
|
|
221
|
+
|
|
222
|
+
sig do
|
|
223
|
+
params(
|
|
224
|
+
replies:
|
|
225
|
+
XTwitterScraper::ExtractionEstimateCostParams::Replies::OrSymbol
|
|
226
|
+
).void
|
|
227
|
+
end
|
|
228
|
+
attr_writer :replies
|
|
229
|
+
|
|
230
|
+
# Maximum number of results to estimate. When set, the estimate caps projected
|
|
231
|
+
# results to this value.
|
|
232
|
+
sig { returns(T.nilable(Integer)) }
|
|
233
|
+
attr_reader :results_limit
|
|
234
|
+
|
|
235
|
+
sig { params(results_limit: Integer).void }
|
|
236
|
+
attr_writer :results_limit
|
|
237
|
+
|
|
238
|
+
# Retweet mode used for estimation (tweet_search_extractor)
|
|
239
|
+
sig do
|
|
240
|
+
returns(
|
|
241
|
+
T.nilable(
|
|
242
|
+
XTwitterScraper::ExtractionEstimateCostParams::Retweets::OrSymbol
|
|
243
|
+
)
|
|
244
|
+
)
|
|
245
|
+
end
|
|
246
|
+
attr_reader :retweets
|
|
247
|
+
|
|
248
|
+
sig do
|
|
249
|
+
params(
|
|
250
|
+
retweets:
|
|
251
|
+
XTwitterScraper::ExtractionEstimateCostParams::Retweets::OrSymbol
|
|
252
|
+
).void
|
|
253
|
+
end
|
|
254
|
+
attr_writer :retweets
|
|
255
|
+
|
|
256
|
+
# Estimate only retweets of this tweet ID (tweet_search_extractor)
|
|
257
|
+
sig { returns(T.nilable(String)) }
|
|
258
|
+
attr_reader :retweets_of_tweet_id
|
|
259
|
+
|
|
260
|
+
sig { params(retweets_of_tweet_id: String).void }
|
|
261
|
+
attr_writer :retweets_of_tweet_id
|
|
262
|
+
|
|
263
|
+
# Required for tweet_search_extractor & community_search.
|
|
46
264
|
sig { returns(T.nilable(String)) }
|
|
47
265
|
attr_reader :search_query
|
|
48
266
|
|
|
49
267
|
sig { params(search_query: String).void }
|
|
50
268
|
attr_writer :search_query
|
|
51
269
|
|
|
270
|
+
# Estimate start date in YYYY-MM-DD format (tweet_search_extractor)
|
|
271
|
+
sig { returns(T.nilable(Date)) }
|
|
272
|
+
attr_reader :since_date
|
|
273
|
+
|
|
274
|
+
sig { params(since_date: Date).void }
|
|
275
|
+
attr_writer :since_date
|
|
276
|
+
|
|
277
|
+
# Required for community_post_extractor & community_search.
|
|
52
278
|
sig { returns(T.nilable(String)) }
|
|
53
279
|
attr_reader :target_community_id
|
|
54
280
|
|
|
55
281
|
sig { params(target_community_id: String).void }
|
|
56
282
|
attr_writer :target_community_id
|
|
57
283
|
|
|
284
|
+
# Required for list_follower_explorer, list_member_extractor &
|
|
285
|
+
# list_post_extractor.
|
|
58
286
|
sig { returns(T.nilable(String)) }
|
|
59
287
|
attr_reader :target_list_id
|
|
60
288
|
|
|
61
289
|
sig { params(target_list_id: String).void }
|
|
62
290
|
attr_writer :target_list_id
|
|
63
291
|
|
|
292
|
+
# Required for space_explorer.
|
|
64
293
|
sig { returns(T.nilable(String)) }
|
|
65
294
|
attr_reader :target_space_id
|
|
66
295
|
|
|
@@ -79,19 +308,80 @@ module XTwitterScraper
|
|
|
79
308
|
sig { params(target_username: String).void }
|
|
80
309
|
attr_writer :target_username
|
|
81
310
|
|
|
311
|
+
# Estimate replies sent to this username (tweet_search_extractor)
|
|
312
|
+
sig { returns(T.nilable(String)) }
|
|
313
|
+
attr_reader :to_user
|
|
314
|
+
|
|
315
|
+
sig { params(to_user: String).void }
|
|
316
|
+
attr_writer :to_user
|
|
317
|
+
|
|
318
|
+
# Estimate end date in YYYY-MM-DD format (tweet_search_extractor)
|
|
319
|
+
sig { returns(T.nilable(Date)) }
|
|
320
|
+
attr_reader :until_date
|
|
321
|
+
|
|
322
|
+
sig { params(until_date: Date).void }
|
|
323
|
+
attr_writer :until_date
|
|
324
|
+
|
|
325
|
+
# URL substring or domain filter used for estimation (tweet_search_extractor)
|
|
326
|
+
sig { returns(T.nilable(String)) }
|
|
327
|
+
attr_reader :url
|
|
328
|
+
|
|
329
|
+
sig { params(url: String).void }
|
|
330
|
+
attr_writer :url
|
|
331
|
+
|
|
332
|
+
# Estimate only verified authors (tweet_search_extractor)
|
|
333
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
334
|
+
attr_reader :verified_only
|
|
335
|
+
|
|
336
|
+
sig { params(verified_only: T::Boolean).void }
|
|
337
|
+
attr_writer :verified_only
|
|
338
|
+
|
|
82
339
|
sig do
|
|
83
340
|
params(
|
|
84
341
|
tool_type:
|
|
85
342
|
XTwitterScraper::ExtractionEstimateCostParams::ToolType::OrSymbol,
|
|
86
343
|
advanced_query: String,
|
|
344
|
+
any_words: String,
|
|
345
|
+
bounding_box: String,
|
|
346
|
+
cashtags: String,
|
|
347
|
+
conversation_id: String,
|
|
87
348
|
exact_phrase: String,
|
|
88
349
|
exclude_words: String,
|
|
350
|
+
from_user: String,
|
|
351
|
+
hashtags: String,
|
|
352
|
+
in_reply_to_tweet_id: String,
|
|
353
|
+
language: String,
|
|
354
|
+
list_id: String,
|
|
355
|
+
media_type:
|
|
356
|
+
XTwitterScraper::ExtractionEstimateCostParams::MediaType::OrSymbol,
|
|
357
|
+
mentioning: String,
|
|
358
|
+
min_faves: Integer,
|
|
359
|
+
min_quotes: Integer,
|
|
360
|
+
min_replies: Integer,
|
|
361
|
+
min_retweets: Integer,
|
|
362
|
+
place: String,
|
|
363
|
+
place_country: String,
|
|
364
|
+
point_radius: String,
|
|
365
|
+
quotes:
|
|
366
|
+
XTwitterScraper::ExtractionEstimateCostParams::Quotes::OrSymbol,
|
|
367
|
+
quotes_of_tweet_id: String,
|
|
368
|
+
replies:
|
|
369
|
+
XTwitterScraper::ExtractionEstimateCostParams::Replies::OrSymbol,
|
|
370
|
+
results_limit: Integer,
|
|
371
|
+
retweets:
|
|
372
|
+
XTwitterScraper::ExtractionEstimateCostParams::Retweets::OrSymbol,
|
|
373
|
+
retweets_of_tweet_id: String,
|
|
89
374
|
search_query: String,
|
|
375
|
+
since_date: Date,
|
|
90
376
|
target_community_id: String,
|
|
91
377
|
target_list_id: String,
|
|
92
378
|
target_space_id: String,
|
|
93
379
|
target_tweet_id: String,
|
|
94
380
|
target_username: String,
|
|
381
|
+
to_user: String,
|
|
382
|
+
until_date: Date,
|
|
383
|
+
url: String,
|
|
384
|
+
verified_only: T::Boolean,
|
|
95
385
|
request_options: XTwitterScraper::RequestOptions::OrHash
|
|
96
386
|
).returns(T.attached_class)
|
|
97
387
|
end
|
|
@@ -100,16 +390,84 @@ module XTwitterScraper
|
|
|
100
390
|
tool_type:,
|
|
101
391
|
# Raw advanced query string appended to the estimate (tweet_search_extractor)
|
|
102
392
|
advanced_query: nil,
|
|
393
|
+
# Alternative words or quoted phrases for estimated results. Separate with spaces,
|
|
394
|
+
# commas, or lines.
|
|
395
|
+
any_words: nil,
|
|
396
|
+
# Geo bounding box used for estimation, e.g. -74.1 40.6 -73.9 40.8
|
|
397
|
+
# (tweet_search_extractor)
|
|
398
|
+
bounding_box: nil,
|
|
399
|
+
# Cashtags applied to the estimate, separated by spaces, commas, or lines.
|
|
400
|
+
cashtags: nil,
|
|
401
|
+
# Conversation ID filter used for estimation (tweet_search_extractor)
|
|
402
|
+
conversation_id: nil,
|
|
103
403
|
# Exact phrase filter for search estimation
|
|
104
404
|
exact_phrase: nil,
|
|
105
|
-
# Words excluded from estimated
|
|
405
|
+
# Words or quoted phrases excluded from estimated results. Separate with spaces,
|
|
406
|
+
# commas, or lines.
|
|
106
407
|
exclude_words: nil,
|
|
408
|
+
# Estimate only tweets from this author username (tweet_search_extractor)
|
|
409
|
+
from_user: nil,
|
|
410
|
+
# Hashtags applied to the estimate, separated by spaces, commas, or lines.
|
|
411
|
+
hashtags: nil,
|
|
412
|
+
# Estimate only replies to this tweet ID (tweet_search_extractor)
|
|
413
|
+
in_reply_to_tweet_id: nil,
|
|
414
|
+
# Language code used for estimate filtering (tweet_search_extractor)
|
|
415
|
+
language: nil,
|
|
416
|
+
# Estimate search results within this list ID (tweet_search_extractor)
|
|
417
|
+
list_id: nil,
|
|
418
|
+
# Media type used for estimate filtering (tweet_search_extractor)
|
|
419
|
+
media_type: nil,
|
|
420
|
+
# Estimate tweets mentioning this username (tweet_search_extractor)
|
|
421
|
+
mentioning: nil,
|
|
422
|
+
# Minimum likes threshold for estimated results (tweet_search_extractor)
|
|
423
|
+
min_faves: nil,
|
|
424
|
+
# Minimum quote count threshold for estimated results (tweet_search_extractor)
|
|
425
|
+
min_quotes: nil,
|
|
426
|
+
# Minimum replies threshold for estimated results (tweet_search_extractor)
|
|
427
|
+
min_replies: nil,
|
|
428
|
+
# Minimum retweets threshold for estimated results (tweet_search_extractor)
|
|
429
|
+
min_retweets: nil,
|
|
430
|
+
# Estimate search results within this place ID (tweet_search_extractor)
|
|
431
|
+
place: nil,
|
|
432
|
+
# Estimate search results within this country code (tweet_search_extractor)
|
|
433
|
+
place_country: nil,
|
|
434
|
+
# Geo point radius used for estimation, e.g. -73.99 40.73 25mi
|
|
435
|
+
# (tweet_search_extractor)
|
|
436
|
+
point_radius: nil,
|
|
437
|
+
# Quote mode used for estimation (tweet_search_extractor)
|
|
438
|
+
quotes: nil,
|
|
439
|
+
# Estimate only quotes of this tweet ID (tweet_search_extractor)
|
|
440
|
+
quotes_of_tweet_id: nil,
|
|
441
|
+
# Reply mode used for estimation (tweet_search_extractor)
|
|
442
|
+
replies: nil,
|
|
443
|
+
# Maximum number of results to estimate. When set, the estimate caps projected
|
|
444
|
+
# results to this value.
|
|
445
|
+
results_limit: nil,
|
|
446
|
+
# Retweet mode used for estimation (tweet_search_extractor)
|
|
447
|
+
retweets: nil,
|
|
448
|
+
# Estimate only retweets of this tweet ID (tweet_search_extractor)
|
|
449
|
+
retweets_of_tweet_id: nil,
|
|
450
|
+
# Required for tweet_search_extractor & community_search.
|
|
107
451
|
search_query: nil,
|
|
452
|
+
# Estimate start date in YYYY-MM-DD format (tweet_search_extractor)
|
|
453
|
+
since_date: nil,
|
|
454
|
+
# Required for community_post_extractor & community_search.
|
|
108
455
|
target_community_id: nil,
|
|
456
|
+
# Required for list_follower_explorer, list_member_extractor &
|
|
457
|
+
# list_post_extractor.
|
|
109
458
|
target_list_id: nil,
|
|
459
|
+
# Required for space_explorer.
|
|
110
460
|
target_space_id: nil,
|
|
111
461
|
target_tweet_id: nil,
|
|
112
462
|
target_username: nil,
|
|
463
|
+
# Estimate replies sent to this username (tweet_search_extractor)
|
|
464
|
+
to_user: nil,
|
|
465
|
+
# Estimate end date in YYYY-MM-DD format (tweet_search_extractor)
|
|
466
|
+
until_date: nil,
|
|
467
|
+
# URL substring or domain filter used for estimation (tweet_search_extractor)
|
|
468
|
+
url: nil,
|
|
469
|
+
# Estimate only verified authors (tweet_search_extractor)
|
|
470
|
+
verified_only: nil,
|
|
113
471
|
request_options: {}
|
|
114
472
|
)
|
|
115
473
|
end
|
|
@@ -120,14 +478,47 @@ module XTwitterScraper
|
|
|
120
478
|
tool_type:
|
|
121
479
|
XTwitterScraper::ExtractionEstimateCostParams::ToolType::OrSymbol,
|
|
122
480
|
advanced_query: String,
|
|
481
|
+
any_words: String,
|
|
482
|
+
bounding_box: String,
|
|
483
|
+
cashtags: String,
|
|
484
|
+
conversation_id: String,
|
|
123
485
|
exact_phrase: String,
|
|
124
486
|
exclude_words: String,
|
|
487
|
+
from_user: String,
|
|
488
|
+
hashtags: String,
|
|
489
|
+
in_reply_to_tweet_id: String,
|
|
490
|
+
language: String,
|
|
491
|
+
list_id: String,
|
|
492
|
+
media_type:
|
|
493
|
+
XTwitterScraper::ExtractionEstimateCostParams::MediaType::OrSymbol,
|
|
494
|
+
mentioning: String,
|
|
495
|
+
min_faves: Integer,
|
|
496
|
+
min_quotes: Integer,
|
|
497
|
+
min_replies: Integer,
|
|
498
|
+
min_retweets: Integer,
|
|
499
|
+
place: String,
|
|
500
|
+
place_country: String,
|
|
501
|
+
point_radius: String,
|
|
502
|
+
quotes:
|
|
503
|
+
XTwitterScraper::ExtractionEstimateCostParams::Quotes::OrSymbol,
|
|
504
|
+
quotes_of_tweet_id: String,
|
|
505
|
+
replies:
|
|
506
|
+
XTwitterScraper::ExtractionEstimateCostParams::Replies::OrSymbol,
|
|
507
|
+
results_limit: Integer,
|
|
508
|
+
retweets:
|
|
509
|
+
XTwitterScraper::ExtractionEstimateCostParams::Retweets::OrSymbol,
|
|
510
|
+
retweets_of_tweet_id: String,
|
|
125
511
|
search_query: String,
|
|
512
|
+
since_date: Date,
|
|
126
513
|
target_community_id: String,
|
|
127
514
|
target_list_id: String,
|
|
128
515
|
target_space_id: String,
|
|
129
516
|
target_tweet_id: String,
|
|
130
517
|
target_username: String,
|
|
518
|
+
to_user: String,
|
|
519
|
+
until_date: Date,
|
|
520
|
+
url: String,
|
|
521
|
+
verified_only: T::Boolean,
|
|
131
522
|
request_options: XTwitterScraper::RequestOptions
|
|
132
523
|
}
|
|
133
524
|
)
|
|
@@ -173,6 +564,11 @@ module XTwitterScraper
|
|
|
173
564
|
:community_search,
|
|
174
565
|
XTwitterScraper::ExtractionEstimateCostParams::ToolType::TaggedSymbol
|
|
175
566
|
)
|
|
567
|
+
FAVORITERS =
|
|
568
|
+
T.let(
|
|
569
|
+
:favoriters,
|
|
570
|
+
XTwitterScraper::ExtractionEstimateCostParams::ToolType::TaggedSymbol
|
|
571
|
+
)
|
|
176
572
|
FOLLOWER_EXPLORER =
|
|
177
573
|
T.let(
|
|
178
574
|
:follower_explorer,
|
|
@@ -243,6 +639,16 @@ module XTwitterScraper
|
|
|
243
639
|
:tweet_search_extractor,
|
|
244
640
|
XTwitterScraper::ExtractionEstimateCostParams::ToolType::TaggedSymbol
|
|
245
641
|
)
|
|
642
|
+
USER_LIKES =
|
|
643
|
+
T.let(
|
|
644
|
+
:user_likes,
|
|
645
|
+
XTwitterScraper::ExtractionEstimateCostParams::ToolType::TaggedSymbol
|
|
646
|
+
)
|
|
647
|
+
USER_MEDIA =
|
|
648
|
+
T.let(
|
|
649
|
+
:user_media,
|
|
650
|
+
XTwitterScraper::ExtractionEstimateCostParams::ToolType::TaggedSymbol
|
|
651
|
+
)
|
|
246
652
|
VERIFIED_FOLLOWER_EXPLORER =
|
|
247
653
|
T.let(
|
|
248
654
|
:verified_follower_explorer,
|
|
@@ -259,6 +665,178 @@ module XTwitterScraper
|
|
|
259
665
|
def self.values
|
|
260
666
|
end
|
|
261
667
|
end
|
|
668
|
+
|
|
669
|
+
# Media type used for estimate filtering (tweet_search_extractor)
|
|
670
|
+
module MediaType
|
|
671
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
672
|
+
|
|
673
|
+
TaggedSymbol =
|
|
674
|
+
T.type_alias do
|
|
675
|
+
T.all(
|
|
676
|
+
Symbol,
|
|
677
|
+
XTwitterScraper::ExtractionEstimateCostParams::MediaType
|
|
678
|
+
)
|
|
679
|
+
end
|
|
680
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
681
|
+
|
|
682
|
+
IMAGES =
|
|
683
|
+
T.let(
|
|
684
|
+
:images,
|
|
685
|
+
XTwitterScraper::ExtractionEstimateCostParams::MediaType::TaggedSymbol
|
|
686
|
+
)
|
|
687
|
+
VIDEOS =
|
|
688
|
+
T.let(
|
|
689
|
+
:videos,
|
|
690
|
+
XTwitterScraper::ExtractionEstimateCostParams::MediaType::TaggedSymbol
|
|
691
|
+
)
|
|
692
|
+
GIFS =
|
|
693
|
+
T.let(
|
|
694
|
+
:gifs,
|
|
695
|
+
XTwitterScraper::ExtractionEstimateCostParams::MediaType::TaggedSymbol
|
|
696
|
+
)
|
|
697
|
+
MEDIA =
|
|
698
|
+
T.let(
|
|
699
|
+
:media,
|
|
700
|
+
XTwitterScraper::ExtractionEstimateCostParams::MediaType::TaggedSymbol
|
|
701
|
+
)
|
|
702
|
+
LINKS =
|
|
703
|
+
T.let(
|
|
704
|
+
:links,
|
|
705
|
+
XTwitterScraper::ExtractionEstimateCostParams::MediaType::TaggedSymbol
|
|
706
|
+
)
|
|
707
|
+
NONE =
|
|
708
|
+
T.let(
|
|
709
|
+
:none,
|
|
710
|
+
XTwitterScraper::ExtractionEstimateCostParams::MediaType::TaggedSymbol
|
|
711
|
+
)
|
|
712
|
+
|
|
713
|
+
sig do
|
|
714
|
+
override.returns(
|
|
715
|
+
T::Array[
|
|
716
|
+
XTwitterScraper::ExtractionEstimateCostParams::MediaType::TaggedSymbol
|
|
717
|
+
]
|
|
718
|
+
)
|
|
719
|
+
end
|
|
720
|
+
def self.values
|
|
721
|
+
end
|
|
722
|
+
end
|
|
723
|
+
|
|
724
|
+
# Quote mode used for estimation (tweet_search_extractor)
|
|
725
|
+
module Quotes
|
|
726
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
727
|
+
|
|
728
|
+
TaggedSymbol =
|
|
729
|
+
T.type_alias do
|
|
730
|
+
T.all(Symbol, XTwitterScraper::ExtractionEstimateCostParams::Quotes)
|
|
731
|
+
end
|
|
732
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
733
|
+
|
|
734
|
+
INCLUDE =
|
|
735
|
+
T.let(
|
|
736
|
+
:include,
|
|
737
|
+
XTwitterScraper::ExtractionEstimateCostParams::Quotes::TaggedSymbol
|
|
738
|
+
)
|
|
739
|
+
EXCLUDE =
|
|
740
|
+
T.let(
|
|
741
|
+
:exclude,
|
|
742
|
+
XTwitterScraper::ExtractionEstimateCostParams::Quotes::TaggedSymbol
|
|
743
|
+
)
|
|
744
|
+
ONLY =
|
|
745
|
+
T.let(
|
|
746
|
+
:only,
|
|
747
|
+
XTwitterScraper::ExtractionEstimateCostParams::Quotes::TaggedSymbol
|
|
748
|
+
)
|
|
749
|
+
|
|
750
|
+
sig do
|
|
751
|
+
override.returns(
|
|
752
|
+
T::Array[
|
|
753
|
+
XTwitterScraper::ExtractionEstimateCostParams::Quotes::TaggedSymbol
|
|
754
|
+
]
|
|
755
|
+
)
|
|
756
|
+
end
|
|
757
|
+
def self.values
|
|
758
|
+
end
|
|
759
|
+
end
|
|
760
|
+
|
|
761
|
+
# Reply mode used for estimation (tweet_search_extractor)
|
|
762
|
+
module Replies
|
|
763
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
764
|
+
|
|
765
|
+
TaggedSymbol =
|
|
766
|
+
T.type_alias do
|
|
767
|
+
T.all(
|
|
768
|
+
Symbol,
|
|
769
|
+
XTwitterScraper::ExtractionEstimateCostParams::Replies
|
|
770
|
+
)
|
|
771
|
+
end
|
|
772
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
773
|
+
|
|
774
|
+
INCLUDE =
|
|
775
|
+
T.let(
|
|
776
|
+
:include,
|
|
777
|
+
XTwitterScraper::ExtractionEstimateCostParams::Replies::TaggedSymbol
|
|
778
|
+
)
|
|
779
|
+
EXCLUDE =
|
|
780
|
+
T.let(
|
|
781
|
+
:exclude,
|
|
782
|
+
XTwitterScraper::ExtractionEstimateCostParams::Replies::TaggedSymbol
|
|
783
|
+
)
|
|
784
|
+
ONLY =
|
|
785
|
+
T.let(
|
|
786
|
+
:only,
|
|
787
|
+
XTwitterScraper::ExtractionEstimateCostParams::Replies::TaggedSymbol
|
|
788
|
+
)
|
|
789
|
+
|
|
790
|
+
sig do
|
|
791
|
+
override.returns(
|
|
792
|
+
T::Array[
|
|
793
|
+
XTwitterScraper::ExtractionEstimateCostParams::Replies::TaggedSymbol
|
|
794
|
+
]
|
|
795
|
+
)
|
|
796
|
+
end
|
|
797
|
+
def self.values
|
|
798
|
+
end
|
|
799
|
+
end
|
|
800
|
+
|
|
801
|
+
# Retweet mode used for estimation (tweet_search_extractor)
|
|
802
|
+
module Retweets
|
|
803
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
804
|
+
|
|
805
|
+
TaggedSymbol =
|
|
806
|
+
T.type_alias do
|
|
807
|
+
T.all(
|
|
808
|
+
Symbol,
|
|
809
|
+
XTwitterScraper::ExtractionEstimateCostParams::Retweets
|
|
810
|
+
)
|
|
811
|
+
end
|
|
812
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
813
|
+
|
|
814
|
+
INCLUDE =
|
|
815
|
+
T.let(
|
|
816
|
+
:include,
|
|
817
|
+
XTwitterScraper::ExtractionEstimateCostParams::Retweets::TaggedSymbol
|
|
818
|
+
)
|
|
819
|
+
EXCLUDE =
|
|
820
|
+
T.let(
|
|
821
|
+
:exclude,
|
|
822
|
+
XTwitterScraper::ExtractionEstimateCostParams::Retweets::TaggedSymbol
|
|
823
|
+
)
|
|
824
|
+
ONLY =
|
|
825
|
+
T.let(
|
|
826
|
+
:only,
|
|
827
|
+
XTwitterScraper::ExtractionEstimateCostParams::Retweets::TaggedSymbol
|
|
828
|
+
)
|
|
829
|
+
|
|
830
|
+
sig do
|
|
831
|
+
override.returns(
|
|
832
|
+
T::Array[
|
|
833
|
+
XTwitterScraper::ExtractionEstimateCostParams::Retweets::TaggedSymbol
|
|
834
|
+
]
|
|
835
|
+
)
|
|
836
|
+
end
|
|
837
|
+
def self.values
|
|
838
|
+
end
|
|
839
|
+
end
|
|
262
840
|
end
|
|
263
841
|
end
|
|
264
842
|
end
|