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
|
@@ -5,8 +5,11 @@ module XTwitterScraper
|
|
|
5
5
|
id: String,
|
|
6
6
|
data: ::Hash[Symbol, top],
|
|
7
7
|
monitor_id: String,
|
|
8
|
+
monitor_type: XTwitterScraper::Models::EventDetail::monitor_type,
|
|
8
9
|
occurred_at: Time,
|
|
9
10
|
type: XTwitterScraper::Models::event_type,
|
|
11
|
+
keyword_monitor_id: String,
|
|
12
|
+
query: String,
|
|
10
13
|
username: String,
|
|
11
14
|
x_event_id: String
|
|
12
15
|
}
|
|
@@ -18,11 +21,23 @@ module XTwitterScraper
|
|
|
18
21
|
|
|
19
22
|
attr_accessor monitor_id: String
|
|
20
23
|
|
|
24
|
+
attr_accessor monitor_type: XTwitterScraper::Models::EventDetail::monitor_type
|
|
25
|
+
|
|
21
26
|
attr_accessor occurred_at: Time
|
|
22
27
|
|
|
23
28
|
attr_accessor type: XTwitterScraper::Models::event_type
|
|
24
29
|
|
|
25
|
-
|
|
30
|
+
attr_reader keyword_monitor_id: String?
|
|
31
|
+
|
|
32
|
+
def keyword_monitor_id=: (String) -> String
|
|
33
|
+
|
|
34
|
+
attr_reader query: String?
|
|
35
|
+
|
|
36
|
+
def query=: (String) -> String
|
|
37
|
+
|
|
38
|
+
attr_reader username: String?
|
|
39
|
+
|
|
40
|
+
def username=: (String) -> String
|
|
26
41
|
|
|
27
42
|
attr_reader x_event_id: String?
|
|
28
43
|
|
|
@@ -32,9 +47,12 @@ module XTwitterScraper
|
|
|
32
47
|
id: String,
|
|
33
48
|
data: ::Hash[Symbol, top],
|
|
34
49
|
monitor_id: String,
|
|
50
|
+
monitor_type: XTwitterScraper::Models::EventDetail::monitor_type,
|
|
35
51
|
occurred_at: Time,
|
|
36
52
|
type: XTwitterScraper::Models::event_type,
|
|
37
|
-
|
|
53
|
+
?keyword_monitor_id: String,
|
|
54
|
+
?query: String,
|
|
55
|
+
?username: String,
|
|
38
56
|
?x_event_id: String
|
|
39
57
|
) -> void
|
|
40
58
|
|
|
@@ -42,11 +60,25 @@ module XTwitterScraper
|
|
|
42
60
|
id: String,
|
|
43
61
|
data: ::Hash[Symbol, top],
|
|
44
62
|
monitor_id: String,
|
|
63
|
+
monitor_type: XTwitterScraper::Models::EventDetail::monitor_type,
|
|
45
64
|
occurred_at: Time,
|
|
46
65
|
type: XTwitterScraper::Models::event_type,
|
|
66
|
+
keyword_monitor_id: String,
|
|
67
|
+
query: String,
|
|
47
68
|
username: String,
|
|
48
69
|
x_event_id: String
|
|
49
70
|
}
|
|
71
|
+
|
|
72
|
+
type monitor_type = :account | :keyword
|
|
73
|
+
|
|
74
|
+
module MonitorType
|
|
75
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
76
|
+
|
|
77
|
+
ACCOUNT: :account
|
|
78
|
+
KEYWORD: :keyword
|
|
79
|
+
|
|
80
|
+
def self?.values: -> ::Array[XTwitterScraper::Models::EventDetail::monitor_type]
|
|
81
|
+
end
|
|
50
82
|
end
|
|
51
83
|
end
|
|
52
84
|
end
|
|
@@ -2,7 +2,7 @@ module XTwitterScraper
|
|
|
2
2
|
module Models
|
|
3
3
|
type event_list_params =
|
|
4
4
|
{
|
|
5
|
-
|
|
5
|
+
cursor: String,
|
|
6
6
|
event_type: XTwitterScraper::Models::event_type,
|
|
7
7
|
limit: Integer,
|
|
8
8
|
monitor_id: String
|
|
@@ -13,9 +13,9 @@ module XTwitterScraper
|
|
|
13
13
|
extend XTwitterScraper::Internal::Type::RequestParameters::Converter
|
|
14
14
|
include XTwitterScraper::Internal::Type::RequestParameters
|
|
15
15
|
|
|
16
|
-
attr_reader
|
|
16
|
+
attr_reader cursor: String?
|
|
17
17
|
|
|
18
|
-
def
|
|
18
|
+
def cursor=: (String) -> String
|
|
19
19
|
|
|
20
20
|
attr_reader event_type: XTwitterScraper::Models::event_type?
|
|
21
21
|
|
|
@@ -32,7 +32,7 @@ module XTwitterScraper
|
|
|
32
32
|
def monitor_id=: (String) -> String
|
|
33
33
|
|
|
34
34
|
def initialize: (
|
|
35
|
-
?
|
|
35
|
+
?cursor: String,
|
|
36
36
|
?event_type: XTwitterScraper::Models::event_type,
|
|
37
37
|
?limit: Integer,
|
|
38
38
|
?monitor_id: String,
|
|
@@ -40,7 +40,7 @@ module XTwitterScraper
|
|
|
40
40
|
) -> void
|
|
41
41
|
|
|
42
42
|
def to_hash: -> {
|
|
43
|
-
|
|
43
|
+
cursor: String,
|
|
44
44
|
event_type: XTwitterScraper::Models::event_type,
|
|
45
45
|
limit: Integer,
|
|
46
46
|
monitor_id: String,
|
|
@@ -5,8 +5,23 @@ module XTwitterScraper
|
|
|
5
5
|
| :"tweet.reply"
|
|
6
6
|
| :"tweet.retweet"
|
|
7
7
|
| :"tweet.quote"
|
|
8
|
-
| :"
|
|
9
|
-
| :"
|
|
8
|
+
| :"tweet.media"
|
|
9
|
+
| :"tweet.link"
|
|
10
|
+
| :"tweet.poll"
|
|
11
|
+
| :"tweet.mention"
|
|
12
|
+
| :"tweet.hashtag"
|
|
13
|
+
| :"tweet.longform"
|
|
14
|
+
| :"profile.avatar.changed"
|
|
15
|
+
| :"profile.banner.changed"
|
|
16
|
+
| :"profile.name.changed"
|
|
17
|
+
| :"profile.username.changed"
|
|
18
|
+
| :"profile.bio.changed"
|
|
19
|
+
| :"profile.location.changed"
|
|
20
|
+
| :"profile.url.changed"
|
|
21
|
+
| :"profile.verified.changed"
|
|
22
|
+
| :"profile.protected.changed"
|
|
23
|
+
| :"profile.pinned_tweet.changed"
|
|
24
|
+
| :"profile.unavailable.changed"
|
|
10
25
|
|
|
11
26
|
module EventType
|
|
12
27
|
extend XTwitterScraper::Internal::Type::Enum
|
|
@@ -15,8 +30,23 @@ module XTwitterScraper
|
|
|
15
30
|
TWEET_REPLY: :"tweet.reply"
|
|
16
31
|
TWEET_RETWEET: :"tweet.retweet"
|
|
17
32
|
TWEET_QUOTE: :"tweet.quote"
|
|
18
|
-
|
|
19
|
-
|
|
33
|
+
TWEET_MEDIA: :"tweet.media"
|
|
34
|
+
TWEET_LINK: :"tweet.link"
|
|
35
|
+
TWEET_POLL: :"tweet.poll"
|
|
36
|
+
TWEET_MENTION: :"tweet.mention"
|
|
37
|
+
TWEET_HASHTAG: :"tweet.hashtag"
|
|
38
|
+
TWEET_LONGFORM: :"tweet.longform"
|
|
39
|
+
PROFILE_AVATAR_CHANGED: :"profile.avatar.changed"
|
|
40
|
+
PROFILE_BANNER_CHANGED: :"profile.banner.changed"
|
|
41
|
+
PROFILE_NAME_CHANGED: :"profile.name.changed"
|
|
42
|
+
PROFILE_USERNAME_CHANGED: :"profile.username.changed"
|
|
43
|
+
PROFILE_BIO_CHANGED: :"profile.bio.changed"
|
|
44
|
+
PROFILE_LOCATION_CHANGED: :"profile.location.changed"
|
|
45
|
+
PROFILE_URL_CHANGED: :"profile.url.changed"
|
|
46
|
+
PROFILE_VERIFIED_CHANGED: :"profile.verified.changed"
|
|
47
|
+
PROFILE_PROTECTED_CHANGED: :"profile.protected.changed"
|
|
48
|
+
PROFILE_PINNED_TWEET_CHANGED: :"profile.pinned_tweet.changed"
|
|
49
|
+
PROFILE_UNAVAILABLE_CHANGED: :"profile.unavailable.changed"
|
|
20
50
|
|
|
21
51
|
def self?.values: -> ::Array[XTwitterScraper::Models::event_type]
|
|
22
52
|
end
|
|
@@ -4,14 +4,43 @@ module XTwitterScraper
|
|
|
4
4
|
{
|
|
5
5
|
tool_type: XTwitterScraper::Models::ExtractionEstimateCostParams::tool_type,
|
|
6
6
|
advanced_query: String,
|
|
7
|
+
any_words: String,
|
|
8
|
+
bounding_box: String,
|
|
9
|
+
cashtags: String,
|
|
10
|
+
conversation_id: String,
|
|
7
11
|
exact_phrase: String,
|
|
8
12
|
exclude_words: String,
|
|
13
|
+
from_user: String,
|
|
14
|
+
hashtags: String,
|
|
15
|
+
in_reply_to_tweet_id: String,
|
|
16
|
+
language: String,
|
|
17
|
+
list_id: String,
|
|
18
|
+
media_type: XTwitterScraper::Models::ExtractionEstimateCostParams::media_type,
|
|
19
|
+
mentioning: String,
|
|
20
|
+
min_faves: Integer,
|
|
21
|
+
min_quotes: Integer,
|
|
22
|
+
min_replies: Integer,
|
|
23
|
+
min_retweets: Integer,
|
|
24
|
+
place: String,
|
|
25
|
+
place_country: String,
|
|
26
|
+
point_radius: String,
|
|
27
|
+
quotes: XTwitterScraper::Models::ExtractionEstimateCostParams::quotes,
|
|
28
|
+
quotes_of_tweet_id: String,
|
|
29
|
+
replies: XTwitterScraper::Models::ExtractionEstimateCostParams::replies,
|
|
30
|
+
results_limit: Integer,
|
|
31
|
+
retweets: XTwitterScraper::Models::ExtractionEstimateCostParams::retweets,
|
|
32
|
+
retweets_of_tweet_id: String,
|
|
9
33
|
search_query: String,
|
|
34
|
+
since_date: Date,
|
|
10
35
|
target_community_id: String,
|
|
11
36
|
target_list_id: String,
|
|
12
37
|
target_space_id: String,
|
|
13
38
|
target_tweet_id: String,
|
|
14
|
-
target_username: String
|
|
39
|
+
target_username: String,
|
|
40
|
+
to_user: String,
|
|
41
|
+
until_date: Date,
|
|
42
|
+
url: String,
|
|
43
|
+
verified_only: bool
|
|
15
44
|
}
|
|
16
45
|
& XTwitterScraper::Internal::Type::request_parameters
|
|
17
46
|
|
|
@@ -25,6 +54,22 @@ module XTwitterScraper
|
|
|
25
54
|
|
|
26
55
|
def advanced_query=: (String) -> String
|
|
27
56
|
|
|
57
|
+
attr_reader any_words: String?
|
|
58
|
+
|
|
59
|
+
def any_words=: (String) -> String
|
|
60
|
+
|
|
61
|
+
attr_reader bounding_box: String?
|
|
62
|
+
|
|
63
|
+
def bounding_box=: (String) -> String
|
|
64
|
+
|
|
65
|
+
attr_reader cashtags: String?
|
|
66
|
+
|
|
67
|
+
def cashtags=: (String) -> String
|
|
68
|
+
|
|
69
|
+
attr_reader conversation_id: String?
|
|
70
|
+
|
|
71
|
+
def conversation_id=: (String) -> String
|
|
72
|
+
|
|
28
73
|
attr_reader exact_phrase: String?
|
|
29
74
|
|
|
30
75
|
def exact_phrase=: (String) -> String
|
|
@@ -33,10 +78,102 @@ module XTwitterScraper
|
|
|
33
78
|
|
|
34
79
|
def exclude_words=: (String) -> String
|
|
35
80
|
|
|
81
|
+
attr_reader from_user: String?
|
|
82
|
+
|
|
83
|
+
def from_user=: (String) -> String
|
|
84
|
+
|
|
85
|
+
attr_reader hashtags: String?
|
|
86
|
+
|
|
87
|
+
def hashtags=: (String) -> String
|
|
88
|
+
|
|
89
|
+
attr_reader in_reply_to_tweet_id: String?
|
|
90
|
+
|
|
91
|
+
def in_reply_to_tweet_id=: (String) -> String
|
|
92
|
+
|
|
93
|
+
attr_reader language: String?
|
|
94
|
+
|
|
95
|
+
def language=: (String) -> String
|
|
96
|
+
|
|
97
|
+
attr_reader list_id: String?
|
|
98
|
+
|
|
99
|
+
def list_id=: (String) -> String
|
|
100
|
+
|
|
101
|
+
attr_reader media_type: XTwitterScraper::Models::ExtractionEstimateCostParams::media_type?
|
|
102
|
+
|
|
103
|
+
def media_type=: (
|
|
104
|
+
XTwitterScraper::Models::ExtractionEstimateCostParams::media_type
|
|
105
|
+
) -> XTwitterScraper::Models::ExtractionEstimateCostParams::media_type
|
|
106
|
+
|
|
107
|
+
attr_reader mentioning: String?
|
|
108
|
+
|
|
109
|
+
def mentioning=: (String) -> String
|
|
110
|
+
|
|
111
|
+
attr_reader min_faves: Integer?
|
|
112
|
+
|
|
113
|
+
def min_faves=: (Integer) -> Integer
|
|
114
|
+
|
|
115
|
+
attr_reader min_quotes: Integer?
|
|
116
|
+
|
|
117
|
+
def min_quotes=: (Integer) -> Integer
|
|
118
|
+
|
|
119
|
+
attr_reader min_replies: Integer?
|
|
120
|
+
|
|
121
|
+
def min_replies=: (Integer) -> Integer
|
|
122
|
+
|
|
123
|
+
attr_reader min_retweets: Integer?
|
|
124
|
+
|
|
125
|
+
def min_retweets=: (Integer) -> Integer
|
|
126
|
+
|
|
127
|
+
attr_reader place: String?
|
|
128
|
+
|
|
129
|
+
def place=: (String) -> String
|
|
130
|
+
|
|
131
|
+
attr_reader place_country: String?
|
|
132
|
+
|
|
133
|
+
def place_country=: (String) -> String
|
|
134
|
+
|
|
135
|
+
attr_reader point_radius: String?
|
|
136
|
+
|
|
137
|
+
def point_radius=: (String) -> String
|
|
138
|
+
|
|
139
|
+
attr_reader quotes: XTwitterScraper::Models::ExtractionEstimateCostParams::quotes?
|
|
140
|
+
|
|
141
|
+
def quotes=: (
|
|
142
|
+
XTwitterScraper::Models::ExtractionEstimateCostParams::quotes
|
|
143
|
+
) -> XTwitterScraper::Models::ExtractionEstimateCostParams::quotes
|
|
144
|
+
|
|
145
|
+
attr_reader quotes_of_tweet_id: String?
|
|
146
|
+
|
|
147
|
+
def quotes_of_tweet_id=: (String) -> String
|
|
148
|
+
|
|
149
|
+
attr_reader replies: XTwitterScraper::Models::ExtractionEstimateCostParams::replies?
|
|
150
|
+
|
|
151
|
+
def replies=: (
|
|
152
|
+
XTwitterScraper::Models::ExtractionEstimateCostParams::replies
|
|
153
|
+
) -> XTwitterScraper::Models::ExtractionEstimateCostParams::replies
|
|
154
|
+
|
|
155
|
+
attr_reader results_limit: Integer?
|
|
156
|
+
|
|
157
|
+
def results_limit=: (Integer) -> Integer
|
|
158
|
+
|
|
159
|
+
attr_reader retweets: XTwitterScraper::Models::ExtractionEstimateCostParams::retweets?
|
|
160
|
+
|
|
161
|
+
def retweets=: (
|
|
162
|
+
XTwitterScraper::Models::ExtractionEstimateCostParams::retweets
|
|
163
|
+
) -> XTwitterScraper::Models::ExtractionEstimateCostParams::retweets
|
|
164
|
+
|
|
165
|
+
attr_reader retweets_of_tweet_id: String?
|
|
166
|
+
|
|
167
|
+
def retweets_of_tweet_id=: (String) -> String
|
|
168
|
+
|
|
36
169
|
attr_reader search_query: String?
|
|
37
170
|
|
|
38
171
|
def search_query=: (String) -> String
|
|
39
172
|
|
|
173
|
+
attr_reader since_date: Date?
|
|
174
|
+
|
|
175
|
+
def since_date=: (Date) -> Date
|
|
176
|
+
|
|
40
177
|
attr_reader target_community_id: String?
|
|
41
178
|
|
|
42
179
|
def target_community_id=: (String) -> String
|
|
@@ -57,31 +194,105 @@ module XTwitterScraper
|
|
|
57
194
|
|
|
58
195
|
def target_username=: (String) -> String
|
|
59
196
|
|
|
197
|
+
attr_reader to_user: String?
|
|
198
|
+
|
|
199
|
+
def to_user=: (String) -> String
|
|
200
|
+
|
|
201
|
+
attr_reader until_date: Date?
|
|
202
|
+
|
|
203
|
+
def until_date=: (Date) -> Date
|
|
204
|
+
|
|
205
|
+
attr_reader url: String?
|
|
206
|
+
|
|
207
|
+
def url=: (String) -> String
|
|
208
|
+
|
|
209
|
+
attr_reader verified_only: bool?
|
|
210
|
+
|
|
211
|
+
def verified_only=: (bool) -> bool
|
|
212
|
+
|
|
60
213
|
def initialize: (
|
|
61
214
|
tool_type: XTwitterScraper::Models::ExtractionEstimateCostParams::tool_type,
|
|
62
215
|
?advanced_query: String,
|
|
216
|
+
?any_words: String,
|
|
217
|
+
?bounding_box: String,
|
|
218
|
+
?cashtags: String,
|
|
219
|
+
?conversation_id: String,
|
|
63
220
|
?exact_phrase: String,
|
|
64
221
|
?exclude_words: String,
|
|
222
|
+
?from_user: String,
|
|
223
|
+
?hashtags: String,
|
|
224
|
+
?in_reply_to_tweet_id: String,
|
|
225
|
+
?language: String,
|
|
226
|
+
?list_id: String,
|
|
227
|
+
?media_type: XTwitterScraper::Models::ExtractionEstimateCostParams::media_type,
|
|
228
|
+
?mentioning: String,
|
|
229
|
+
?min_faves: Integer,
|
|
230
|
+
?min_quotes: Integer,
|
|
231
|
+
?min_replies: Integer,
|
|
232
|
+
?min_retweets: Integer,
|
|
233
|
+
?place: String,
|
|
234
|
+
?place_country: String,
|
|
235
|
+
?point_radius: String,
|
|
236
|
+
?quotes: XTwitterScraper::Models::ExtractionEstimateCostParams::quotes,
|
|
237
|
+
?quotes_of_tweet_id: String,
|
|
238
|
+
?replies: XTwitterScraper::Models::ExtractionEstimateCostParams::replies,
|
|
239
|
+
?results_limit: Integer,
|
|
240
|
+
?retweets: XTwitterScraper::Models::ExtractionEstimateCostParams::retweets,
|
|
241
|
+
?retweets_of_tweet_id: String,
|
|
65
242
|
?search_query: String,
|
|
243
|
+
?since_date: Date,
|
|
66
244
|
?target_community_id: String,
|
|
67
245
|
?target_list_id: String,
|
|
68
246
|
?target_space_id: String,
|
|
69
247
|
?target_tweet_id: String,
|
|
70
248
|
?target_username: String,
|
|
249
|
+
?to_user: String,
|
|
250
|
+
?until_date: Date,
|
|
251
|
+
?url: String,
|
|
252
|
+
?verified_only: bool,
|
|
71
253
|
?request_options: XTwitterScraper::request_opts
|
|
72
254
|
) -> void
|
|
73
255
|
|
|
74
256
|
def to_hash: -> {
|
|
75
257
|
tool_type: XTwitterScraper::Models::ExtractionEstimateCostParams::tool_type,
|
|
76
258
|
advanced_query: String,
|
|
259
|
+
any_words: String,
|
|
260
|
+
bounding_box: String,
|
|
261
|
+
cashtags: String,
|
|
262
|
+
conversation_id: String,
|
|
77
263
|
exact_phrase: String,
|
|
78
264
|
exclude_words: String,
|
|
265
|
+
from_user: String,
|
|
266
|
+
hashtags: String,
|
|
267
|
+
in_reply_to_tweet_id: String,
|
|
268
|
+
language: String,
|
|
269
|
+
list_id: String,
|
|
270
|
+
media_type: XTwitterScraper::Models::ExtractionEstimateCostParams::media_type,
|
|
271
|
+
mentioning: String,
|
|
272
|
+
min_faves: Integer,
|
|
273
|
+
min_quotes: Integer,
|
|
274
|
+
min_replies: Integer,
|
|
275
|
+
min_retweets: Integer,
|
|
276
|
+
place: String,
|
|
277
|
+
place_country: String,
|
|
278
|
+
point_radius: String,
|
|
279
|
+
quotes: XTwitterScraper::Models::ExtractionEstimateCostParams::quotes,
|
|
280
|
+
quotes_of_tweet_id: String,
|
|
281
|
+
replies: XTwitterScraper::Models::ExtractionEstimateCostParams::replies,
|
|
282
|
+
results_limit: Integer,
|
|
283
|
+
retweets: XTwitterScraper::Models::ExtractionEstimateCostParams::retweets,
|
|
284
|
+
retweets_of_tweet_id: String,
|
|
79
285
|
search_query: String,
|
|
286
|
+
since_date: Date,
|
|
80
287
|
target_community_id: String,
|
|
81
288
|
target_list_id: String,
|
|
82
289
|
target_space_id: String,
|
|
83
290
|
target_tweet_id: String,
|
|
84
291
|
target_username: String,
|
|
292
|
+
to_user: String,
|
|
293
|
+
until_date: Date,
|
|
294
|
+
url: String,
|
|
295
|
+
verified_only: bool,
|
|
85
296
|
request_options: XTwitterScraper::RequestOptions
|
|
86
297
|
}
|
|
87
298
|
|
|
@@ -91,6 +302,7 @@ module XTwitterScraper
|
|
|
91
302
|
| :community_moderator_explorer
|
|
92
303
|
| :community_post_extractor
|
|
93
304
|
| :community_search
|
|
305
|
+
| :favoriters
|
|
94
306
|
| :follower_explorer
|
|
95
307
|
| :following_explorer
|
|
96
308
|
| :list_follower_explorer
|
|
@@ -105,6 +317,8 @@ module XTwitterScraper
|
|
|
105
317
|
| :space_explorer
|
|
106
318
|
| :thread_extractor
|
|
107
319
|
| :tweet_search_extractor
|
|
320
|
+
| :user_likes
|
|
321
|
+
| :user_media
|
|
108
322
|
| :verified_follower_explorer
|
|
109
323
|
|
|
110
324
|
module ToolType
|
|
@@ -115,6 +329,7 @@ module XTwitterScraper
|
|
|
115
329
|
COMMUNITY_MODERATOR_EXPLORER: :community_moderator_explorer
|
|
116
330
|
COMMUNITY_POST_EXTRACTOR: :community_post_extractor
|
|
117
331
|
COMMUNITY_SEARCH: :community_search
|
|
332
|
+
FAVORITERS: :favoriters
|
|
118
333
|
FOLLOWER_EXPLORER: :follower_explorer
|
|
119
334
|
FOLLOWING_EXPLORER: :following_explorer
|
|
120
335
|
LIST_FOLLOWER_EXPLORER: :list_follower_explorer
|
|
@@ -129,10 +344,63 @@ module XTwitterScraper
|
|
|
129
344
|
SPACE_EXPLORER: :space_explorer
|
|
130
345
|
THREAD_EXTRACTOR: :thread_extractor
|
|
131
346
|
TWEET_SEARCH_EXTRACTOR: :tweet_search_extractor
|
|
347
|
+
USER_LIKES: :user_likes
|
|
348
|
+
USER_MEDIA: :user_media
|
|
132
349
|
VERIFIED_FOLLOWER_EXPLORER: :verified_follower_explorer
|
|
133
350
|
|
|
134
351
|
def self?.values: -> ::Array[XTwitterScraper::Models::ExtractionEstimateCostParams::tool_type]
|
|
135
352
|
end
|
|
353
|
+
|
|
354
|
+
type media_type = :images | :videos | :gifs | :media | :links | :none
|
|
355
|
+
|
|
356
|
+
module MediaType
|
|
357
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
358
|
+
|
|
359
|
+
IMAGES: :images
|
|
360
|
+
VIDEOS: :videos
|
|
361
|
+
GIFS: :gifs
|
|
362
|
+
MEDIA: :media
|
|
363
|
+
LINKS: :links
|
|
364
|
+
NONE: :none
|
|
365
|
+
|
|
366
|
+
def self?.values: -> ::Array[XTwitterScraper::Models::ExtractionEstimateCostParams::media_type]
|
|
367
|
+
end
|
|
368
|
+
|
|
369
|
+
type quotes = :include | :exclude | :only
|
|
370
|
+
|
|
371
|
+
module Quotes
|
|
372
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
373
|
+
|
|
374
|
+
INCLUDE: :include
|
|
375
|
+
EXCLUDE: :exclude
|
|
376
|
+
ONLY: :only
|
|
377
|
+
|
|
378
|
+
def self?.values: -> ::Array[XTwitterScraper::Models::ExtractionEstimateCostParams::quotes]
|
|
379
|
+
end
|
|
380
|
+
|
|
381
|
+
type replies = :include | :exclude | :only
|
|
382
|
+
|
|
383
|
+
module Replies
|
|
384
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
385
|
+
|
|
386
|
+
INCLUDE: :include
|
|
387
|
+
EXCLUDE: :exclude
|
|
388
|
+
ONLY: :only
|
|
389
|
+
|
|
390
|
+
def self?.values: -> ::Array[XTwitterScraper::Models::ExtractionEstimateCostParams::replies]
|
|
391
|
+
end
|
|
392
|
+
|
|
393
|
+
type retweets = :include | :exclude | :only
|
|
394
|
+
|
|
395
|
+
module Retweets
|
|
396
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
397
|
+
|
|
398
|
+
INCLUDE: :include
|
|
399
|
+
EXCLUDE: :exclude
|
|
400
|
+
ONLY: :only
|
|
401
|
+
|
|
402
|
+
def self?.values: -> ::Array[XTwitterScraper::Models::ExtractionEstimateCostParams::retweets]
|
|
403
|
+
end
|
|
136
404
|
end
|
|
137
405
|
end
|
|
138
406
|
end
|
|
@@ -3,38 +3,72 @@ module XTwitterScraper
|
|
|
3
3
|
type extraction_estimate_cost_response =
|
|
4
4
|
{
|
|
5
5
|
allowed: bool,
|
|
6
|
+
credits_available: String,
|
|
7
|
+
credits_required: String,
|
|
6
8
|
estimated_results: Integer,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
usage_percent: Float
|
|
9
|
+
source: XTwitterScraper::Models::ExtractionEstimateCostResponse::source,
|
|
10
|
+
resolved_x_user_id: String
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
class ExtractionEstimateCostResponse < XTwitterScraper::Internal::Type::BaseModel
|
|
13
14
|
attr_accessor allowed: bool
|
|
14
15
|
|
|
16
|
+
attr_accessor credits_available: String
|
|
17
|
+
|
|
18
|
+
attr_accessor credits_required: String
|
|
19
|
+
|
|
15
20
|
attr_accessor estimated_results: Integer
|
|
16
21
|
|
|
17
|
-
attr_accessor
|
|
22
|
+
attr_accessor source: XTwitterScraper::Models::ExtractionEstimateCostResponse::source
|
|
18
23
|
|
|
19
|
-
|
|
24
|
+
attr_reader resolved_x_user_id: String?
|
|
20
25
|
|
|
21
|
-
|
|
26
|
+
def resolved_x_user_id=: (String) -> String
|
|
22
27
|
|
|
23
28
|
def initialize: (
|
|
24
29
|
allowed: bool,
|
|
30
|
+
credits_available: String,
|
|
31
|
+
credits_required: String,
|
|
25
32
|
estimated_results: Integer,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
usage_percent: Float
|
|
33
|
+
source: XTwitterScraper::Models::ExtractionEstimateCostResponse::source,
|
|
34
|
+
?resolved_x_user_id: String
|
|
29
35
|
) -> void
|
|
30
36
|
|
|
31
37
|
def to_hash: -> {
|
|
32
38
|
allowed: bool,
|
|
39
|
+
credits_available: String,
|
|
40
|
+
credits_required: String,
|
|
33
41
|
estimated_results: Integer,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
usage_percent: Float
|
|
42
|
+
source: XTwitterScraper::Models::ExtractionEstimateCostResponse::source,
|
|
43
|
+
resolved_x_user_id: String
|
|
37
44
|
}
|
|
45
|
+
|
|
46
|
+
type source =
|
|
47
|
+
:followers
|
|
48
|
+
| :following
|
|
49
|
+
| :paginationCap
|
|
50
|
+
| :posts
|
|
51
|
+
| :quoteCount
|
|
52
|
+
| :replyCount
|
|
53
|
+
| :resultsLimit
|
|
54
|
+
| :retweetCount
|
|
55
|
+
| :unknown
|
|
56
|
+
|
|
57
|
+
module Source
|
|
58
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
59
|
+
|
|
60
|
+
FOLLOWERS: :followers
|
|
61
|
+
FOLLOWING: :following
|
|
62
|
+
PAGINATION_CAP: :paginationCap
|
|
63
|
+
POSTS: :posts
|
|
64
|
+
QUOTE_COUNT: :quoteCount
|
|
65
|
+
REPLY_COUNT: :replyCount
|
|
66
|
+
RESULTS_LIMIT: :resultsLimit
|
|
67
|
+
RETWEET_COUNT: :retweetCount
|
|
68
|
+
UNKNOWN: :unknown
|
|
69
|
+
|
|
70
|
+
def self?.values: -> ::Array[XTwitterScraper::Models::ExtractionEstimateCostResponse::source]
|
|
71
|
+
end
|
|
38
72
|
end
|
|
39
73
|
end
|
|
40
74
|
end
|
|
@@ -13,15 +13,11 @@ module XTwitterScraper
|
|
|
13
13
|
|
|
14
14
|
attr_accessor id: String
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
def format_=: (
|
|
19
|
-
XTwitterScraper::Models::ExtractionExportResultsParams::format_
|
|
20
|
-
) -> XTwitterScraper::Models::ExtractionExportResultsParams::format_
|
|
16
|
+
attr_accessor format_: XTwitterScraper::Models::ExtractionExportResultsParams::format_
|
|
21
17
|
|
|
22
18
|
def initialize: (
|
|
23
19
|
id: String,
|
|
24
|
-
|
|
20
|
+
format_: XTwitterScraper::Models::ExtractionExportResultsParams::format_,
|
|
25
21
|
?request_options: XTwitterScraper::request_opts
|
|
26
22
|
) -> void
|
|
27
23
|
|
|
@@ -61,6 +61,7 @@ module XTwitterScraper
|
|
|
61
61
|
| :community_moderator_explorer
|
|
62
62
|
| :community_post_extractor
|
|
63
63
|
| :community_search
|
|
64
|
+
| :favoriters
|
|
64
65
|
| :follower_explorer
|
|
65
66
|
| :following_explorer
|
|
66
67
|
| :list_follower_explorer
|
|
@@ -75,6 +76,8 @@ module XTwitterScraper
|
|
|
75
76
|
| :space_explorer
|
|
76
77
|
| :thread_extractor
|
|
77
78
|
| :tweet_search_extractor
|
|
79
|
+
| :user_likes
|
|
80
|
+
| :user_media
|
|
78
81
|
| :verified_follower_explorer
|
|
79
82
|
|
|
80
83
|
module ToolType
|
|
@@ -85,6 +88,7 @@ module XTwitterScraper
|
|
|
85
88
|
COMMUNITY_MODERATOR_EXPLORER: :community_moderator_explorer
|
|
86
89
|
COMMUNITY_POST_EXTRACTOR: :community_post_extractor
|
|
87
90
|
COMMUNITY_SEARCH: :community_search
|
|
91
|
+
FAVORITERS: :favoriters
|
|
88
92
|
FOLLOWER_EXPLORER: :follower_explorer
|
|
89
93
|
FOLLOWING_EXPLORER: :following_explorer
|
|
90
94
|
LIST_FOLLOWER_EXPLORER: :list_follower_explorer
|
|
@@ -99,6 +103,8 @@ module XTwitterScraper
|
|
|
99
103
|
SPACE_EXPLORER: :space_explorer
|
|
100
104
|
THREAD_EXTRACTOR: :thread_extractor
|
|
101
105
|
TWEET_SEARCH_EXTRACTOR: :tweet_search_extractor
|
|
106
|
+
USER_LIKES: :user_likes
|
|
107
|
+
USER_MEDIA: :user_media
|
|
102
108
|
VERIFIED_FOLLOWER_EXPLORER: :verified_follower_explorer
|
|
103
109
|
|
|
104
110
|
def self?.values: -> ::Array[XTwitterScraper::Models::ExtractionJob::tool_type]
|