x-twitter-scraper 0.4.2 → 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 +23 -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 +141 -84
- 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
|
@@ -25,6 +25,35 @@ module XTwitterScraper
|
|
|
25
25
|
sig { params(advanced_query: String).void }
|
|
26
26
|
attr_writer :advanced_query
|
|
27
27
|
|
|
28
|
+
# Words or quoted phrases where any one can match. Separate with spaces, commas,
|
|
29
|
+
# or lines. (tweet_search_extractor)
|
|
30
|
+
sig { returns(T.nilable(String)) }
|
|
31
|
+
attr_reader :any_words
|
|
32
|
+
|
|
33
|
+
sig { params(any_words: String).void }
|
|
34
|
+
attr_writer :any_words
|
|
35
|
+
|
|
36
|
+
# Geo bounding box, e.g. -74.1 40.6 -73.9 40.8 (tweet_search_extractor)
|
|
37
|
+
sig { returns(T.nilable(String)) }
|
|
38
|
+
attr_reader :bounding_box
|
|
39
|
+
|
|
40
|
+
sig { params(bounding_box: String).void }
|
|
41
|
+
attr_writer :bounding_box
|
|
42
|
+
|
|
43
|
+
# Cashtags separated by spaces, commas, or lines. (tweet_search_extractor)
|
|
44
|
+
sig { returns(T.nilable(String)) }
|
|
45
|
+
attr_reader :cashtags
|
|
46
|
+
|
|
47
|
+
sig { params(cashtags: String).void }
|
|
48
|
+
attr_writer :cashtags
|
|
49
|
+
|
|
50
|
+
# Conversation ID filter (tweet_search_extractor)
|
|
51
|
+
sig { returns(T.nilable(String)) }
|
|
52
|
+
attr_reader :conversation_id
|
|
53
|
+
|
|
54
|
+
sig { params(conversation_id: String).void }
|
|
55
|
+
attr_writer :conversation_id
|
|
56
|
+
|
|
28
57
|
# Exact phrase to match (tweet_search_extractor)
|
|
29
58
|
sig { returns(T.nilable(String)) }
|
|
30
59
|
attr_reader :exact_phrase
|
|
@@ -32,31 +61,217 @@ module XTwitterScraper
|
|
|
32
61
|
sig { params(exact_phrase: String).void }
|
|
33
62
|
attr_writer :exact_phrase
|
|
34
63
|
|
|
35
|
-
# Words to exclude
|
|
64
|
+
# Words or quoted phrases to exclude. Separate with spaces, commas, or lines.
|
|
65
|
+
# (tweet_search_extractor)
|
|
36
66
|
sig { returns(T.nilable(String)) }
|
|
37
67
|
attr_reader :exclude_words
|
|
38
68
|
|
|
39
69
|
sig { params(exclude_words: String).void }
|
|
40
70
|
attr_writer :exclude_words
|
|
41
71
|
|
|
72
|
+
# Filter by author username (tweet_search_extractor)
|
|
73
|
+
sig { returns(T.nilable(String)) }
|
|
74
|
+
attr_reader :from_user
|
|
75
|
+
|
|
76
|
+
sig { params(from_user: String).void }
|
|
77
|
+
attr_writer :from_user
|
|
78
|
+
|
|
79
|
+
# Hashtags separated by spaces, commas, or lines. (tweet_search_extractor)
|
|
80
|
+
sig { returns(T.nilable(String)) }
|
|
81
|
+
attr_reader :hashtags
|
|
82
|
+
|
|
83
|
+
sig { params(hashtags: String).void }
|
|
84
|
+
attr_writer :hashtags
|
|
85
|
+
|
|
86
|
+
# Only replies to this tweet ID (tweet_search_extractor)
|
|
87
|
+
sig { returns(T.nilable(String)) }
|
|
88
|
+
attr_reader :in_reply_to_tweet_id
|
|
89
|
+
|
|
90
|
+
sig { params(in_reply_to_tweet_id: String).void }
|
|
91
|
+
attr_writer :in_reply_to_tweet_id
|
|
92
|
+
|
|
93
|
+
# Language code filter (tweet_search_extractor)
|
|
94
|
+
sig { returns(T.nilable(String)) }
|
|
95
|
+
attr_reader :language
|
|
96
|
+
|
|
97
|
+
sig { params(language: String).void }
|
|
98
|
+
attr_writer :language
|
|
99
|
+
|
|
100
|
+
# Search within a list ID (tweet_search_extractor)
|
|
101
|
+
sig { returns(T.nilable(String)) }
|
|
102
|
+
attr_reader :list_id
|
|
103
|
+
|
|
104
|
+
sig { params(list_id: String).void }
|
|
105
|
+
attr_writer :list_id
|
|
106
|
+
|
|
107
|
+
# Media type filter (tweet_search_extractor)
|
|
108
|
+
sig do
|
|
109
|
+
returns(
|
|
110
|
+
T.nilable(XTwitterScraper::ExtractionRunParams::MediaType::OrSymbol)
|
|
111
|
+
)
|
|
112
|
+
end
|
|
113
|
+
attr_reader :media_type
|
|
114
|
+
|
|
115
|
+
sig do
|
|
116
|
+
params(
|
|
117
|
+
media_type: XTwitterScraper::ExtractionRunParams::MediaType::OrSymbol
|
|
118
|
+
).void
|
|
119
|
+
end
|
|
120
|
+
attr_writer :media_type
|
|
121
|
+
|
|
122
|
+
# Filter tweets mentioning a username (tweet_search_extractor)
|
|
123
|
+
sig { returns(T.nilable(String)) }
|
|
124
|
+
attr_reader :mentioning
|
|
125
|
+
|
|
126
|
+
sig { params(mentioning: String).void }
|
|
127
|
+
attr_writer :mentioning
|
|
128
|
+
|
|
129
|
+
# Minimum likes threshold (tweet_search_extractor)
|
|
130
|
+
sig { returns(T.nilable(Integer)) }
|
|
131
|
+
attr_reader :min_faves
|
|
132
|
+
|
|
133
|
+
sig { params(min_faves: Integer).void }
|
|
134
|
+
attr_writer :min_faves
|
|
135
|
+
|
|
136
|
+
# Minimum quote count threshold (tweet_search_extractor)
|
|
137
|
+
sig { returns(T.nilable(Integer)) }
|
|
138
|
+
attr_reader :min_quotes
|
|
139
|
+
|
|
140
|
+
sig { params(min_quotes: Integer).void }
|
|
141
|
+
attr_writer :min_quotes
|
|
142
|
+
|
|
143
|
+
# Minimum replies threshold (tweet_search_extractor)
|
|
144
|
+
sig { returns(T.nilable(Integer)) }
|
|
145
|
+
attr_reader :min_replies
|
|
146
|
+
|
|
147
|
+
sig { params(min_replies: Integer).void }
|
|
148
|
+
attr_writer :min_replies
|
|
149
|
+
|
|
150
|
+
# Minimum retweets threshold (tweet_search_extractor)
|
|
151
|
+
sig { returns(T.nilable(Integer)) }
|
|
152
|
+
attr_reader :min_retweets
|
|
153
|
+
|
|
154
|
+
sig { params(min_retweets: Integer).void }
|
|
155
|
+
attr_writer :min_retweets
|
|
156
|
+
|
|
157
|
+
# Search within a place ID (tweet_search_extractor)
|
|
158
|
+
sig { returns(T.nilable(String)) }
|
|
159
|
+
attr_reader :place
|
|
160
|
+
|
|
161
|
+
sig { params(place: String).void }
|
|
162
|
+
attr_writer :place
|
|
163
|
+
|
|
164
|
+
# Search within a country code (tweet_search_extractor)
|
|
165
|
+
sig { returns(T.nilable(String)) }
|
|
166
|
+
attr_reader :place_country
|
|
167
|
+
|
|
168
|
+
sig { params(place_country: String).void }
|
|
169
|
+
attr_writer :place_country
|
|
170
|
+
|
|
171
|
+
# Geo point radius, e.g. -73.99 40.73 25mi (tweet_search_extractor)
|
|
172
|
+
sig { returns(T.nilable(String)) }
|
|
173
|
+
attr_reader :point_radius
|
|
174
|
+
|
|
175
|
+
sig { params(point_radius: String).void }
|
|
176
|
+
attr_writer :point_radius
|
|
177
|
+
|
|
178
|
+
# Quote mode (tweet_search_extractor)
|
|
179
|
+
sig do
|
|
180
|
+
returns(
|
|
181
|
+
T.nilable(XTwitterScraper::ExtractionRunParams::Quotes::OrSymbol)
|
|
182
|
+
)
|
|
183
|
+
end
|
|
184
|
+
attr_reader :quotes
|
|
185
|
+
|
|
186
|
+
sig do
|
|
187
|
+
params(
|
|
188
|
+
quotes: XTwitterScraper::ExtractionRunParams::Quotes::OrSymbol
|
|
189
|
+
).void
|
|
190
|
+
end
|
|
191
|
+
attr_writer :quotes
|
|
192
|
+
|
|
193
|
+
# Only quotes of this tweet ID (tweet_search_extractor)
|
|
194
|
+
sig { returns(T.nilable(String)) }
|
|
195
|
+
attr_reader :quotes_of_tweet_id
|
|
196
|
+
|
|
197
|
+
sig { params(quotes_of_tweet_id: String).void }
|
|
198
|
+
attr_writer :quotes_of_tweet_id
|
|
199
|
+
|
|
200
|
+
# Reply mode (tweet_search_extractor)
|
|
201
|
+
sig do
|
|
202
|
+
returns(
|
|
203
|
+
T.nilable(XTwitterScraper::ExtractionRunParams::Replies::OrSymbol)
|
|
204
|
+
)
|
|
205
|
+
end
|
|
206
|
+
attr_reader :replies
|
|
207
|
+
|
|
208
|
+
sig do
|
|
209
|
+
params(
|
|
210
|
+
replies: XTwitterScraper::ExtractionRunParams::Replies::OrSymbol
|
|
211
|
+
).void
|
|
212
|
+
end
|
|
213
|
+
attr_writer :replies
|
|
214
|
+
|
|
215
|
+
# Maximum number of results to extract. When set, the extraction stops after
|
|
216
|
+
# reaching this limit.
|
|
217
|
+
sig { returns(T.nilable(Integer)) }
|
|
218
|
+
attr_reader :results_limit
|
|
219
|
+
|
|
220
|
+
sig { params(results_limit: Integer).void }
|
|
221
|
+
attr_writer :results_limit
|
|
222
|
+
|
|
223
|
+
# Retweet mode (tweet_search_extractor)
|
|
224
|
+
sig do
|
|
225
|
+
returns(
|
|
226
|
+
T.nilable(XTwitterScraper::ExtractionRunParams::Retweets::OrSymbol)
|
|
227
|
+
)
|
|
228
|
+
end
|
|
229
|
+
attr_reader :retweets
|
|
230
|
+
|
|
231
|
+
sig do
|
|
232
|
+
params(
|
|
233
|
+
retweets: XTwitterScraper::ExtractionRunParams::Retweets::OrSymbol
|
|
234
|
+
).void
|
|
235
|
+
end
|
|
236
|
+
attr_writer :retweets
|
|
237
|
+
|
|
238
|
+
# Only retweets of this tweet ID (tweet_search_extractor)
|
|
239
|
+
sig { returns(T.nilable(String)) }
|
|
240
|
+
attr_reader :retweets_of_tweet_id
|
|
241
|
+
|
|
242
|
+
sig { params(retweets_of_tweet_id: String).void }
|
|
243
|
+
attr_writer :retweets_of_tweet_id
|
|
244
|
+
|
|
245
|
+
# Required for tweet_search_extractor & community_search.
|
|
42
246
|
sig { returns(T.nilable(String)) }
|
|
43
247
|
attr_reader :search_query
|
|
44
248
|
|
|
45
249
|
sig { params(search_query: String).void }
|
|
46
250
|
attr_writer :search_query
|
|
47
251
|
|
|
252
|
+
# Start date YYYY-MM-DD (tweet_search_extractor)
|
|
253
|
+
sig { returns(T.nilable(Date)) }
|
|
254
|
+
attr_reader :since_date
|
|
255
|
+
|
|
256
|
+
sig { params(since_date: Date).void }
|
|
257
|
+
attr_writer :since_date
|
|
258
|
+
|
|
259
|
+
# Required for community_post_extractor & community_search.
|
|
48
260
|
sig { returns(T.nilable(String)) }
|
|
49
261
|
attr_reader :target_community_id
|
|
50
262
|
|
|
51
263
|
sig { params(target_community_id: String).void }
|
|
52
264
|
attr_writer :target_community_id
|
|
53
265
|
|
|
266
|
+
# Required for list_follower_explorer, list_member_extractor &
|
|
267
|
+
# list_post_extractor.
|
|
54
268
|
sig { returns(T.nilable(String)) }
|
|
55
269
|
attr_reader :target_list_id
|
|
56
270
|
|
|
57
271
|
sig { params(target_list_id: String).void }
|
|
58
272
|
attr_writer :target_list_id
|
|
59
273
|
|
|
274
|
+
# Required for space_explorer.
|
|
60
275
|
sig { returns(T.nilable(String)) }
|
|
61
276
|
attr_reader :target_space_id
|
|
62
277
|
|
|
@@ -75,18 +290,75 @@ module XTwitterScraper
|
|
|
75
290
|
sig { params(target_username: String).void }
|
|
76
291
|
attr_writer :target_username
|
|
77
292
|
|
|
293
|
+
# Filter replies sent to a username (tweet_search_extractor)
|
|
294
|
+
sig { returns(T.nilable(String)) }
|
|
295
|
+
attr_reader :to_user
|
|
296
|
+
|
|
297
|
+
sig { params(to_user: String).void }
|
|
298
|
+
attr_writer :to_user
|
|
299
|
+
|
|
300
|
+
# End date YYYY-MM-DD (tweet_search_extractor)
|
|
301
|
+
sig { returns(T.nilable(Date)) }
|
|
302
|
+
attr_reader :until_date
|
|
303
|
+
|
|
304
|
+
sig { params(until_date: Date).void }
|
|
305
|
+
attr_writer :until_date
|
|
306
|
+
|
|
307
|
+
# URL substring or domain filter (tweet_search_extractor)
|
|
308
|
+
sig { returns(T.nilable(String)) }
|
|
309
|
+
attr_reader :url
|
|
310
|
+
|
|
311
|
+
sig { params(url: String).void }
|
|
312
|
+
attr_writer :url
|
|
313
|
+
|
|
314
|
+
# Only verified authors (tweet_search_extractor)
|
|
315
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
316
|
+
attr_reader :verified_only
|
|
317
|
+
|
|
318
|
+
sig { params(verified_only: T::Boolean).void }
|
|
319
|
+
attr_writer :verified_only
|
|
320
|
+
|
|
78
321
|
sig do
|
|
79
322
|
params(
|
|
80
323
|
tool_type: XTwitterScraper::ExtractionRunParams::ToolType::OrSymbol,
|
|
81
324
|
advanced_query: String,
|
|
325
|
+
any_words: String,
|
|
326
|
+
bounding_box: String,
|
|
327
|
+
cashtags: String,
|
|
328
|
+
conversation_id: String,
|
|
82
329
|
exact_phrase: String,
|
|
83
330
|
exclude_words: String,
|
|
331
|
+
from_user: String,
|
|
332
|
+
hashtags: String,
|
|
333
|
+
in_reply_to_tweet_id: String,
|
|
334
|
+
language: String,
|
|
335
|
+
list_id: String,
|
|
336
|
+
media_type: XTwitterScraper::ExtractionRunParams::MediaType::OrSymbol,
|
|
337
|
+
mentioning: String,
|
|
338
|
+
min_faves: Integer,
|
|
339
|
+
min_quotes: Integer,
|
|
340
|
+
min_replies: Integer,
|
|
341
|
+
min_retweets: Integer,
|
|
342
|
+
place: String,
|
|
343
|
+
place_country: String,
|
|
344
|
+
point_radius: String,
|
|
345
|
+
quotes: XTwitterScraper::ExtractionRunParams::Quotes::OrSymbol,
|
|
346
|
+
quotes_of_tweet_id: String,
|
|
347
|
+
replies: XTwitterScraper::ExtractionRunParams::Replies::OrSymbol,
|
|
348
|
+
results_limit: Integer,
|
|
349
|
+
retweets: XTwitterScraper::ExtractionRunParams::Retweets::OrSymbol,
|
|
350
|
+
retweets_of_tweet_id: String,
|
|
84
351
|
search_query: String,
|
|
352
|
+
since_date: Date,
|
|
85
353
|
target_community_id: String,
|
|
86
354
|
target_list_id: String,
|
|
87
355
|
target_space_id: String,
|
|
88
356
|
target_tweet_id: String,
|
|
89
357
|
target_username: String,
|
|
358
|
+
to_user: String,
|
|
359
|
+
until_date: Date,
|
|
360
|
+
url: String,
|
|
361
|
+
verified_only: T::Boolean,
|
|
90
362
|
request_options: XTwitterScraper::RequestOptions::OrHash
|
|
91
363
|
).returns(T.attached_class)
|
|
92
364
|
end
|
|
@@ -95,16 +367,82 @@ module XTwitterScraper
|
|
|
95
367
|
tool_type:,
|
|
96
368
|
# Raw advanced search query appended as-is (tweet_search_extractor)
|
|
97
369
|
advanced_query: nil,
|
|
370
|
+
# Words or quoted phrases where any one can match. Separate with spaces, commas,
|
|
371
|
+
# or lines. (tweet_search_extractor)
|
|
372
|
+
any_words: nil,
|
|
373
|
+
# Geo bounding box, e.g. -74.1 40.6 -73.9 40.8 (tweet_search_extractor)
|
|
374
|
+
bounding_box: nil,
|
|
375
|
+
# Cashtags separated by spaces, commas, or lines. (tweet_search_extractor)
|
|
376
|
+
cashtags: nil,
|
|
377
|
+
# Conversation ID filter (tweet_search_extractor)
|
|
378
|
+
conversation_id: nil,
|
|
98
379
|
# Exact phrase to match (tweet_search_extractor)
|
|
99
380
|
exact_phrase: nil,
|
|
100
|
-
# Words to exclude
|
|
381
|
+
# Words or quoted phrases to exclude. Separate with spaces, commas, or lines.
|
|
382
|
+
# (tweet_search_extractor)
|
|
101
383
|
exclude_words: nil,
|
|
384
|
+
# Filter by author username (tweet_search_extractor)
|
|
385
|
+
from_user: nil,
|
|
386
|
+
# Hashtags separated by spaces, commas, or lines. (tweet_search_extractor)
|
|
387
|
+
hashtags: nil,
|
|
388
|
+
# Only replies to this tweet ID (tweet_search_extractor)
|
|
389
|
+
in_reply_to_tweet_id: nil,
|
|
390
|
+
# Language code filter (tweet_search_extractor)
|
|
391
|
+
language: nil,
|
|
392
|
+
# Search within a list ID (tweet_search_extractor)
|
|
393
|
+
list_id: nil,
|
|
394
|
+
# Media type filter (tweet_search_extractor)
|
|
395
|
+
media_type: nil,
|
|
396
|
+
# Filter tweets mentioning a username (tweet_search_extractor)
|
|
397
|
+
mentioning: nil,
|
|
398
|
+
# Minimum likes threshold (tweet_search_extractor)
|
|
399
|
+
min_faves: nil,
|
|
400
|
+
# Minimum quote count threshold (tweet_search_extractor)
|
|
401
|
+
min_quotes: nil,
|
|
402
|
+
# Minimum replies threshold (tweet_search_extractor)
|
|
403
|
+
min_replies: nil,
|
|
404
|
+
# Minimum retweets threshold (tweet_search_extractor)
|
|
405
|
+
min_retweets: nil,
|
|
406
|
+
# Search within a place ID (tweet_search_extractor)
|
|
407
|
+
place: nil,
|
|
408
|
+
# Search within a country code (tweet_search_extractor)
|
|
409
|
+
place_country: nil,
|
|
410
|
+
# Geo point radius, e.g. -73.99 40.73 25mi (tweet_search_extractor)
|
|
411
|
+
point_radius: nil,
|
|
412
|
+
# Quote mode (tweet_search_extractor)
|
|
413
|
+
quotes: nil,
|
|
414
|
+
# Only quotes of this tweet ID (tweet_search_extractor)
|
|
415
|
+
quotes_of_tweet_id: nil,
|
|
416
|
+
# Reply mode (tweet_search_extractor)
|
|
417
|
+
replies: nil,
|
|
418
|
+
# Maximum number of results to extract. When set, the extraction stops after
|
|
419
|
+
# reaching this limit.
|
|
420
|
+
results_limit: nil,
|
|
421
|
+
# Retweet mode (tweet_search_extractor)
|
|
422
|
+
retweets: nil,
|
|
423
|
+
# Only retweets of this tweet ID (tweet_search_extractor)
|
|
424
|
+
retweets_of_tweet_id: nil,
|
|
425
|
+
# Required for tweet_search_extractor & community_search.
|
|
102
426
|
search_query: nil,
|
|
427
|
+
# Start date YYYY-MM-DD (tweet_search_extractor)
|
|
428
|
+
since_date: nil,
|
|
429
|
+
# Required for community_post_extractor & community_search.
|
|
103
430
|
target_community_id: nil,
|
|
431
|
+
# Required for list_follower_explorer, list_member_extractor &
|
|
432
|
+
# list_post_extractor.
|
|
104
433
|
target_list_id: nil,
|
|
434
|
+
# Required for space_explorer.
|
|
105
435
|
target_space_id: nil,
|
|
106
436
|
target_tweet_id: nil,
|
|
107
437
|
target_username: nil,
|
|
438
|
+
# Filter replies sent to a username (tweet_search_extractor)
|
|
439
|
+
to_user: nil,
|
|
440
|
+
# End date YYYY-MM-DD (tweet_search_extractor)
|
|
441
|
+
until_date: nil,
|
|
442
|
+
# URL substring or domain filter (tweet_search_extractor)
|
|
443
|
+
url: nil,
|
|
444
|
+
# Only verified authors (tweet_search_extractor)
|
|
445
|
+
verified_only: nil,
|
|
108
446
|
request_options: {}
|
|
109
447
|
)
|
|
110
448
|
end
|
|
@@ -114,14 +452,44 @@ module XTwitterScraper
|
|
|
114
452
|
{
|
|
115
453
|
tool_type: XTwitterScraper::ExtractionRunParams::ToolType::OrSymbol,
|
|
116
454
|
advanced_query: String,
|
|
455
|
+
any_words: String,
|
|
456
|
+
bounding_box: String,
|
|
457
|
+
cashtags: String,
|
|
458
|
+
conversation_id: String,
|
|
117
459
|
exact_phrase: String,
|
|
118
460
|
exclude_words: String,
|
|
461
|
+
from_user: String,
|
|
462
|
+
hashtags: String,
|
|
463
|
+
in_reply_to_tweet_id: String,
|
|
464
|
+
language: String,
|
|
465
|
+
list_id: String,
|
|
466
|
+
media_type:
|
|
467
|
+
XTwitterScraper::ExtractionRunParams::MediaType::OrSymbol,
|
|
468
|
+
mentioning: String,
|
|
469
|
+
min_faves: Integer,
|
|
470
|
+
min_quotes: Integer,
|
|
471
|
+
min_replies: Integer,
|
|
472
|
+
min_retweets: Integer,
|
|
473
|
+
place: String,
|
|
474
|
+
place_country: String,
|
|
475
|
+
point_radius: String,
|
|
476
|
+
quotes: XTwitterScraper::ExtractionRunParams::Quotes::OrSymbol,
|
|
477
|
+
quotes_of_tweet_id: String,
|
|
478
|
+
replies: XTwitterScraper::ExtractionRunParams::Replies::OrSymbol,
|
|
479
|
+
results_limit: Integer,
|
|
480
|
+
retweets: XTwitterScraper::ExtractionRunParams::Retweets::OrSymbol,
|
|
481
|
+
retweets_of_tweet_id: String,
|
|
119
482
|
search_query: String,
|
|
483
|
+
since_date: Date,
|
|
120
484
|
target_community_id: String,
|
|
121
485
|
target_list_id: String,
|
|
122
486
|
target_space_id: String,
|
|
123
487
|
target_tweet_id: String,
|
|
124
488
|
target_username: String,
|
|
489
|
+
to_user: String,
|
|
490
|
+
until_date: Date,
|
|
491
|
+
url: String,
|
|
492
|
+
verified_only: T::Boolean,
|
|
125
493
|
request_options: XTwitterScraper::RequestOptions
|
|
126
494
|
}
|
|
127
495
|
)
|
|
@@ -164,6 +532,11 @@ module XTwitterScraper
|
|
|
164
532
|
:community_search,
|
|
165
533
|
XTwitterScraper::ExtractionRunParams::ToolType::TaggedSymbol
|
|
166
534
|
)
|
|
535
|
+
FAVORITERS =
|
|
536
|
+
T.let(
|
|
537
|
+
:favoriters,
|
|
538
|
+
XTwitterScraper::ExtractionRunParams::ToolType::TaggedSymbol
|
|
539
|
+
)
|
|
167
540
|
FOLLOWER_EXPLORER =
|
|
168
541
|
T.let(
|
|
169
542
|
:follower_explorer,
|
|
@@ -234,6 +607,16 @@ module XTwitterScraper
|
|
|
234
607
|
:tweet_search_extractor,
|
|
235
608
|
XTwitterScraper::ExtractionRunParams::ToolType::TaggedSymbol
|
|
236
609
|
)
|
|
610
|
+
USER_LIKES =
|
|
611
|
+
T.let(
|
|
612
|
+
:user_likes,
|
|
613
|
+
XTwitterScraper::ExtractionRunParams::ToolType::TaggedSymbol
|
|
614
|
+
)
|
|
615
|
+
USER_MEDIA =
|
|
616
|
+
T.let(
|
|
617
|
+
:user_media,
|
|
618
|
+
XTwitterScraper::ExtractionRunParams::ToolType::TaggedSymbol
|
|
619
|
+
)
|
|
237
620
|
VERIFIED_FOLLOWER_EXPLORER =
|
|
238
621
|
T.let(
|
|
239
622
|
:verified_follower_explorer,
|
|
@@ -250,6 +633,167 @@ module XTwitterScraper
|
|
|
250
633
|
def self.values
|
|
251
634
|
end
|
|
252
635
|
end
|
|
636
|
+
|
|
637
|
+
# Media type filter (tweet_search_extractor)
|
|
638
|
+
module MediaType
|
|
639
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
640
|
+
|
|
641
|
+
TaggedSymbol =
|
|
642
|
+
T.type_alias do
|
|
643
|
+
T.all(Symbol, XTwitterScraper::ExtractionRunParams::MediaType)
|
|
644
|
+
end
|
|
645
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
646
|
+
|
|
647
|
+
IMAGES =
|
|
648
|
+
T.let(
|
|
649
|
+
:images,
|
|
650
|
+
XTwitterScraper::ExtractionRunParams::MediaType::TaggedSymbol
|
|
651
|
+
)
|
|
652
|
+
VIDEOS =
|
|
653
|
+
T.let(
|
|
654
|
+
:videos,
|
|
655
|
+
XTwitterScraper::ExtractionRunParams::MediaType::TaggedSymbol
|
|
656
|
+
)
|
|
657
|
+
GIFS =
|
|
658
|
+
T.let(
|
|
659
|
+
:gifs,
|
|
660
|
+
XTwitterScraper::ExtractionRunParams::MediaType::TaggedSymbol
|
|
661
|
+
)
|
|
662
|
+
MEDIA =
|
|
663
|
+
T.let(
|
|
664
|
+
:media,
|
|
665
|
+
XTwitterScraper::ExtractionRunParams::MediaType::TaggedSymbol
|
|
666
|
+
)
|
|
667
|
+
LINKS =
|
|
668
|
+
T.let(
|
|
669
|
+
:links,
|
|
670
|
+
XTwitterScraper::ExtractionRunParams::MediaType::TaggedSymbol
|
|
671
|
+
)
|
|
672
|
+
NONE =
|
|
673
|
+
T.let(
|
|
674
|
+
:none,
|
|
675
|
+
XTwitterScraper::ExtractionRunParams::MediaType::TaggedSymbol
|
|
676
|
+
)
|
|
677
|
+
|
|
678
|
+
sig do
|
|
679
|
+
override.returns(
|
|
680
|
+
T::Array[
|
|
681
|
+
XTwitterScraper::ExtractionRunParams::MediaType::TaggedSymbol
|
|
682
|
+
]
|
|
683
|
+
)
|
|
684
|
+
end
|
|
685
|
+
def self.values
|
|
686
|
+
end
|
|
687
|
+
end
|
|
688
|
+
|
|
689
|
+
# Quote mode (tweet_search_extractor)
|
|
690
|
+
module Quotes
|
|
691
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
692
|
+
|
|
693
|
+
TaggedSymbol =
|
|
694
|
+
T.type_alias do
|
|
695
|
+
T.all(Symbol, XTwitterScraper::ExtractionRunParams::Quotes)
|
|
696
|
+
end
|
|
697
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
698
|
+
|
|
699
|
+
INCLUDE =
|
|
700
|
+
T.let(
|
|
701
|
+
:include,
|
|
702
|
+
XTwitterScraper::ExtractionRunParams::Quotes::TaggedSymbol
|
|
703
|
+
)
|
|
704
|
+
EXCLUDE =
|
|
705
|
+
T.let(
|
|
706
|
+
:exclude,
|
|
707
|
+
XTwitterScraper::ExtractionRunParams::Quotes::TaggedSymbol
|
|
708
|
+
)
|
|
709
|
+
ONLY =
|
|
710
|
+
T.let(
|
|
711
|
+
:only,
|
|
712
|
+
XTwitterScraper::ExtractionRunParams::Quotes::TaggedSymbol
|
|
713
|
+
)
|
|
714
|
+
|
|
715
|
+
sig do
|
|
716
|
+
override.returns(
|
|
717
|
+
T::Array[XTwitterScraper::ExtractionRunParams::Quotes::TaggedSymbol]
|
|
718
|
+
)
|
|
719
|
+
end
|
|
720
|
+
def self.values
|
|
721
|
+
end
|
|
722
|
+
end
|
|
723
|
+
|
|
724
|
+
# Reply mode (tweet_search_extractor)
|
|
725
|
+
module Replies
|
|
726
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
727
|
+
|
|
728
|
+
TaggedSymbol =
|
|
729
|
+
T.type_alias do
|
|
730
|
+
T.all(Symbol, XTwitterScraper::ExtractionRunParams::Replies)
|
|
731
|
+
end
|
|
732
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
733
|
+
|
|
734
|
+
INCLUDE =
|
|
735
|
+
T.let(
|
|
736
|
+
:include,
|
|
737
|
+
XTwitterScraper::ExtractionRunParams::Replies::TaggedSymbol
|
|
738
|
+
)
|
|
739
|
+
EXCLUDE =
|
|
740
|
+
T.let(
|
|
741
|
+
:exclude,
|
|
742
|
+
XTwitterScraper::ExtractionRunParams::Replies::TaggedSymbol
|
|
743
|
+
)
|
|
744
|
+
ONLY =
|
|
745
|
+
T.let(
|
|
746
|
+
:only,
|
|
747
|
+
XTwitterScraper::ExtractionRunParams::Replies::TaggedSymbol
|
|
748
|
+
)
|
|
749
|
+
|
|
750
|
+
sig do
|
|
751
|
+
override.returns(
|
|
752
|
+
T::Array[
|
|
753
|
+
XTwitterScraper::ExtractionRunParams::Replies::TaggedSymbol
|
|
754
|
+
]
|
|
755
|
+
)
|
|
756
|
+
end
|
|
757
|
+
def self.values
|
|
758
|
+
end
|
|
759
|
+
end
|
|
760
|
+
|
|
761
|
+
# Retweet mode (tweet_search_extractor)
|
|
762
|
+
module Retweets
|
|
763
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
764
|
+
|
|
765
|
+
TaggedSymbol =
|
|
766
|
+
T.type_alias do
|
|
767
|
+
T.all(Symbol, XTwitterScraper::ExtractionRunParams::Retweets)
|
|
768
|
+
end
|
|
769
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
770
|
+
|
|
771
|
+
INCLUDE =
|
|
772
|
+
T.let(
|
|
773
|
+
:include,
|
|
774
|
+
XTwitterScraper::ExtractionRunParams::Retweets::TaggedSymbol
|
|
775
|
+
)
|
|
776
|
+
EXCLUDE =
|
|
777
|
+
T.let(
|
|
778
|
+
:exclude,
|
|
779
|
+
XTwitterScraper::ExtractionRunParams::Retweets::TaggedSymbol
|
|
780
|
+
)
|
|
781
|
+
ONLY =
|
|
782
|
+
T.let(
|
|
783
|
+
:only,
|
|
784
|
+
XTwitterScraper::ExtractionRunParams::Retweets::TaggedSymbol
|
|
785
|
+
)
|
|
786
|
+
|
|
787
|
+
sig do
|
|
788
|
+
override.returns(
|
|
789
|
+
T::Array[
|
|
790
|
+
XTwitterScraper::ExtractionRunParams::Retweets::TaggedSymbol
|
|
791
|
+
]
|
|
792
|
+
)
|
|
793
|
+
end
|
|
794
|
+
def self.values
|
|
795
|
+
end
|
|
796
|
+
end
|
|
253
797
|
end
|
|
254
798
|
end
|
|
255
799
|
end
|
|
@@ -92,6 +92,11 @@ module XTwitterScraper
|
|
|
92
92
|
:community_search,
|
|
93
93
|
XTwitterScraper::Models::ExtractionRunResponse::ToolType::TaggedSymbol
|
|
94
94
|
)
|
|
95
|
+
FAVORITERS =
|
|
96
|
+
T.let(
|
|
97
|
+
:favoriters,
|
|
98
|
+
XTwitterScraper::Models::ExtractionRunResponse::ToolType::TaggedSymbol
|
|
99
|
+
)
|
|
95
100
|
FOLLOWER_EXPLORER =
|
|
96
101
|
T.let(
|
|
97
102
|
:follower_explorer,
|
|
@@ -162,6 +167,16 @@ module XTwitterScraper
|
|
|
162
167
|
:tweet_search_extractor,
|
|
163
168
|
XTwitterScraper::Models::ExtractionRunResponse::ToolType::TaggedSymbol
|
|
164
169
|
)
|
|
170
|
+
USER_LIKES =
|
|
171
|
+
T.let(
|
|
172
|
+
:user_likes,
|
|
173
|
+
XTwitterScraper::Models::ExtractionRunResponse::ToolType::TaggedSymbol
|
|
174
|
+
)
|
|
175
|
+
USER_MEDIA =
|
|
176
|
+
T.let(
|
|
177
|
+
:user_media,
|
|
178
|
+
XTwitterScraper::Models::ExtractionRunResponse::ToolType::TaggedSymbol
|
|
179
|
+
)
|
|
165
180
|
VERIFIED_FOLLOWER_EXPLORER =
|
|
166
181
|
T.let(
|
|
167
182
|
:verified_follower_explorer,
|