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
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module XTwitterScraper
|
|
2
|
+
module Resources
|
|
3
|
+
class X
|
|
4
|
+
class AccountConnectionChallenges
|
|
5
|
+
def submit: (
|
|
6
|
+
String id,
|
|
7
|
+
email_code: String,
|
|
8
|
+
?request_options: XTwitterScraper::request_opts
|
|
9
|
+
) -> XTwitterScraper::Models::X::AccountConnectionChallengeSubmitResponse
|
|
10
|
+
|
|
11
|
+
def initialize: (client: XTwitterScraper::Client) -> void
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -6,7 +6,6 @@ module XTwitterScraper
|
|
|
6
6
|
email: String,
|
|
7
7
|
password: String,
|
|
8
8
|
username: String,
|
|
9
|
-
?proxy_country: String,
|
|
10
9
|
?totp_secret: String,
|
|
11
10
|
?request_options: XTwitterScraper::request_opts
|
|
12
11
|
) -> XTwitterScraper::Models::X::AccountCreateResponse
|
|
@@ -32,6 +31,7 @@ module XTwitterScraper
|
|
|
32
31
|
def reauth: (
|
|
33
32
|
String id,
|
|
34
33
|
password: String,
|
|
34
|
+
?email: String,
|
|
35
35
|
?totp_secret: String,
|
|
36
36
|
?request_options: XTwitterScraper::request_opts
|
|
37
37
|
) -> XTwitterScraper::Models::X::AccountReauthResponse
|
|
@@ -7,13 +7,13 @@ module XTwitterScraper
|
|
|
7
7
|
String id,
|
|
8
8
|
account: String,
|
|
9
9
|
?request_options: XTwitterScraper::request_opts
|
|
10
|
-
) -> XTwitterScraper::X::
|
|
10
|
+
) -> XTwitterScraper::Models::X::Communities::JoinCreateResponse
|
|
11
11
|
|
|
12
12
|
def delete_all: (
|
|
13
13
|
String id,
|
|
14
14
|
account: String,
|
|
15
15
|
?request_options: XTwitterScraper::request_opts
|
|
16
|
-
) -> XTwitterScraper::X::
|
|
16
|
+
) -> XTwitterScraper::Models::X::Communities::JoinDeleteAllResponse
|
|
17
17
|
|
|
18
18
|
def initialize: (client: XTwitterScraper::Client) -> void
|
|
19
19
|
end
|
|
@@ -4,15 +4,18 @@ module XTwitterScraper
|
|
|
4
4
|
class Communities
|
|
5
5
|
class Tweets
|
|
6
6
|
def list: (
|
|
7
|
+
community_id: String,
|
|
7
8
|
q: String,
|
|
8
9
|
?cursor: String,
|
|
9
|
-
?
|
|
10
|
+
?page_size: Integer,
|
|
11
|
+
?query_type: XTwitterScraper::Models::X::Communities::TweetListParams::query_type,
|
|
10
12
|
?request_options: XTwitterScraper::request_opts
|
|
11
13
|
) -> XTwitterScraper::PaginatedTweets
|
|
12
14
|
|
|
13
15
|
def list_by_community: (
|
|
14
16
|
String id,
|
|
15
17
|
?cursor: String,
|
|
18
|
+
?page_size: Integer,
|
|
16
19
|
?request_options: XTwitterScraper::request_opts
|
|
17
20
|
) -> XTwitterScraper::PaginatedTweets
|
|
18
21
|
|
|
@@ -28,6 +28,7 @@ module XTwitterScraper
|
|
|
28
28
|
def retrieve_members: (
|
|
29
29
|
String id,
|
|
30
30
|
?cursor: String,
|
|
31
|
+
?page_size: Integer,
|
|
31
32
|
?request_options: XTwitterScraper::request_opts
|
|
32
33
|
) -> XTwitterScraper::PaginatedUsers
|
|
33
34
|
|
|
@@ -38,9 +39,11 @@ module XTwitterScraper
|
|
|
38
39
|
) -> XTwitterScraper::PaginatedUsers
|
|
39
40
|
|
|
40
41
|
def retrieve_search: (
|
|
42
|
+
community_id: String,
|
|
41
43
|
q: String,
|
|
42
44
|
?cursor: String,
|
|
43
|
-
?
|
|
45
|
+
?page_size: Integer,
|
|
46
|
+
?query_type: XTwitterScraper::Models::X::CommunityRetrieveSearchParams::query_type,
|
|
44
47
|
?request_options: XTwitterScraper::request_opts
|
|
45
48
|
) -> XTwitterScraper::PaginatedTweets
|
|
46
49
|
|
|
@@ -4,6 +4,7 @@ module XTwitterScraper
|
|
|
4
4
|
class Dm
|
|
5
5
|
def retrieve_history: (
|
|
6
6
|
String user_id,
|
|
7
|
+
account: String,
|
|
7
8
|
?cursor: String,
|
|
8
9
|
?max_id: String,
|
|
9
10
|
?request_options: XTwitterScraper::request_opts
|
|
@@ -14,7 +15,6 @@ module XTwitterScraper
|
|
|
14
15
|
account: String,
|
|
15
16
|
text: String,
|
|
16
17
|
?media_ids: ::Array[String],
|
|
17
|
-
?reply_to_message_id: String,
|
|
18
18
|
?request_options: XTwitterScraper::request_opts
|
|
19
19
|
) -> XTwitterScraper::Models::X::DmSendResponse
|
|
20
20
|
|
|
@@ -5,12 +5,14 @@ module XTwitterScraper
|
|
|
5
5
|
def retrieve_followers: (
|
|
6
6
|
String id,
|
|
7
7
|
?cursor: String,
|
|
8
|
+
?page_size: Integer,
|
|
8
9
|
?request_options: XTwitterScraper::request_opts
|
|
9
10
|
) -> XTwitterScraper::PaginatedUsers
|
|
10
11
|
|
|
11
12
|
def retrieve_members: (
|
|
12
13
|
String id,
|
|
13
14
|
?cursor: String,
|
|
15
|
+
?page_size: Integer,
|
|
14
16
|
?request_options: XTwitterScraper::request_opts
|
|
15
17
|
) -> XTwitterScraper::PaginatedUsers
|
|
16
18
|
|
|
@@ -18,6 +20,7 @@ module XTwitterScraper
|
|
|
18
20
|
String id,
|
|
19
21
|
?cursor: String,
|
|
20
22
|
?include_replies: bool,
|
|
23
|
+
?page_size: Integer,
|
|
21
24
|
?since_time: String,
|
|
22
25
|
?until_time: String,
|
|
23
26
|
?request_options: XTwitterScraper::request_opts
|
|
@@ -3,15 +3,16 @@ module XTwitterScraper
|
|
|
3
3
|
class X
|
|
4
4
|
class Media
|
|
5
5
|
def download: (
|
|
6
|
+
?tweet_id: String,
|
|
6
7
|
?tweet_ids: ::Array[String],
|
|
7
8
|
?tweet_input: String,
|
|
9
|
+
?tweet_url: String,
|
|
8
10
|
?request_options: XTwitterScraper::request_opts
|
|
9
11
|
) -> XTwitterScraper::Models::X::MediaDownloadResponse
|
|
10
12
|
|
|
11
13
|
def upload: (
|
|
12
14
|
account: String,
|
|
13
|
-
|
|
14
|
-
?is_long_video: bool,
|
|
15
|
+
url: String,
|
|
15
16
|
?request_options: XTwitterScraper::request_opts
|
|
16
17
|
) -> XTwitterScraper::Models::X::MediaUploadResponse
|
|
17
18
|
|
|
@@ -13,13 +13,13 @@ module XTwitterScraper
|
|
|
13
13
|
|
|
14
14
|
def update_avatar: (
|
|
15
15
|
account: String,
|
|
16
|
-
|
|
16
|
+
url: String,
|
|
17
17
|
?request_options: XTwitterScraper::request_opts
|
|
18
18
|
) -> XTwitterScraper::Models::X::ProfileUpdateAvatarResponse
|
|
19
19
|
|
|
20
20
|
def update_banner: (
|
|
21
21
|
account: String,
|
|
22
|
-
|
|
22
|
+
url: String,
|
|
23
23
|
?request_options: XTwitterScraper::request_opts
|
|
24
24
|
) -> XTwitterScraper::Models::X::ProfileUpdateBannerResponse
|
|
25
25
|
|
|
@@ -8,12 +8,12 @@ module XTwitterScraper
|
|
|
8
8
|
|
|
9
9
|
def create: (
|
|
10
10
|
account: String,
|
|
11
|
-
text: String,
|
|
12
11
|
?attachment_url: String,
|
|
13
12
|
?community_id: String,
|
|
14
13
|
?is_note_tweet: bool,
|
|
15
|
-
?
|
|
14
|
+
?media: ::Array[String],
|
|
16
15
|
?reply_to_tweet_id: String,
|
|
16
|
+
?text: String,
|
|
17
17
|
?request_options: XTwitterScraper::request_opts
|
|
18
18
|
) -> XTwitterScraper::Models::X::TweetCreateResponse
|
|
19
19
|
|
|
@@ -36,45 +36,131 @@ module XTwitterScraper
|
|
|
36
36
|
def get_favoriters: (
|
|
37
37
|
String id,
|
|
38
38
|
?cursor: String,
|
|
39
|
+
?page_size: Integer,
|
|
39
40
|
?request_options: XTwitterScraper::request_opts
|
|
40
41
|
) -> XTwitterScraper::PaginatedUsers
|
|
41
42
|
|
|
42
43
|
def get_quotes: (
|
|
43
44
|
String id,
|
|
45
|
+
?any_words: String,
|
|
46
|
+
?cashtags: String,
|
|
47
|
+
?conversation_id: String,
|
|
44
48
|
?cursor: String,
|
|
49
|
+
?exact_phrase: String,
|
|
50
|
+
?exclude_words: String,
|
|
51
|
+
?from_user: String,
|
|
52
|
+
?hashtags: String,
|
|
45
53
|
?include_replies: bool,
|
|
54
|
+
?in_reply_to_tweet_id: String,
|
|
55
|
+
?language: String,
|
|
56
|
+
?media_type: XTwitterScraper::Models::X::TweetGetQuotesParams::media_type,
|
|
57
|
+
?mentioning: String,
|
|
58
|
+
?min_faves: Integer,
|
|
59
|
+
?min_quotes: Integer,
|
|
60
|
+
?min_replies: Integer,
|
|
61
|
+
?min_retweets: Integer,
|
|
62
|
+
?page_size: Integer,
|
|
63
|
+
?quotes: XTwitterScraper::Models::X::TweetGetQuotesParams::quotes,
|
|
64
|
+
?quotes_of_tweet_id: String,
|
|
65
|
+
?replies: XTwitterScraper::Models::X::TweetGetQuotesParams::replies,
|
|
66
|
+
?retweets: XTwitterScraper::Models::X::TweetGetQuotesParams::retweets,
|
|
67
|
+
?retweets_of_tweet_id: String,
|
|
68
|
+
?since_date: Date,
|
|
46
69
|
?since_time: String,
|
|
70
|
+
?to_user: String,
|
|
71
|
+
?until_date: Date,
|
|
47
72
|
?until_time: String,
|
|
73
|
+
?url: String,
|
|
74
|
+
?verified_only: bool,
|
|
48
75
|
?request_options: XTwitterScraper::request_opts
|
|
49
76
|
) -> XTwitterScraper::PaginatedTweets
|
|
50
77
|
|
|
51
78
|
def get_replies: (
|
|
52
79
|
String id,
|
|
80
|
+
?any_words: String,
|
|
81
|
+
?cashtags: String,
|
|
82
|
+
?conversation_id: String,
|
|
53
83
|
?cursor: String,
|
|
84
|
+
?exact_phrase: String,
|
|
85
|
+
?exclude_words: String,
|
|
86
|
+
?from_user: String,
|
|
87
|
+
?hashtags: String,
|
|
88
|
+
?in_reply_to_tweet_id: String,
|
|
89
|
+
?language: String,
|
|
90
|
+
?media_type: XTwitterScraper::Models::X::TweetGetRepliesParams::media_type,
|
|
91
|
+
?mentioning: String,
|
|
92
|
+
?min_faves: Integer,
|
|
93
|
+
?min_quotes: Integer,
|
|
94
|
+
?min_replies: Integer,
|
|
95
|
+
?min_retweets: Integer,
|
|
96
|
+
?page_size: Integer,
|
|
97
|
+
?quotes: XTwitterScraper::Models::X::TweetGetRepliesParams::quotes,
|
|
98
|
+
?quotes_of_tweet_id: String,
|
|
99
|
+
?replies: XTwitterScraper::Models::X::TweetGetRepliesParams::replies,
|
|
100
|
+
?retweets: XTwitterScraper::Models::X::TweetGetRepliesParams::retweets,
|
|
101
|
+
?retweets_of_tweet_id: String,
|
|
102
|
+
?since_date: Date,
|
|
54
103
|
?since_time: String,
|
|
104
|
+
?to_user: String,
|
|
105
|
+
?until_date: Date,
|
|
55
106
|
?until_time: String,
|
|
107
|
+
?url: String,
|
|
108
|
+
?verified_only: bool,
|
|
56
109
|
?request_options: XTwitterScraper::request_opts
|
|
57
110
|
) -> XTwitterScraper::PaginatedTweets
|
|
58
111
|
|
|
59
112
|
def get_retweeters: (
|
|
60
113
|
String id,
|
|
61
114
|
?cursor: String,
|
|
115
|
+
?page_size: Integer,
|
|
62
116
|
?request_options: XTwitterScraper::request_opts
|
|
63
117
|
) -> XTwitterScraper::PaginatedUsers
|
|
64
118
|
|
|
65
119
|
def get_thread: (
|
|
66
120
|
String id,
|
|
67
121
|
?cursor: String,
|
|
122
|
+
?page_size: Integer,
|
|
68
123
|
?request_options: XTwitterScraper::request_opts
|
|
69
124
|
) -> XTwitterScraper::PaginatedTweets
|
|
70
125
|
|
|
71
126
|
def search: (
|
|
72
127
|
q: String,
|
|
128
|
+
?advanced_query: String,
|
|
129
|
+
?any_words: String,
|
|
130
|
+
?bounding_box: String,
|
|
131
|
+
?cashtags: String,
|
|
132
|
+
?conversation_id: String,
|
|
73
133
|
?cursor: String,
|
|
134
|
+
?exact_phrase: String,
|
|
135
|
+
?exclude_words: String,
|
|
136
|
+
?from_user: String,
|
|
137
|
+
?hashtags: String,
|
|
138
|
+
?in_reply_to_tweet_id: String,
|
|
139
|
+
?language: String,
|
|
74
140
|
?limit: Integer,
|
|
141
|
+
?list_id: String,
|
|
142
|
+
?media_type: XTwitterScraper::Models::X::TweetSearchParams::media_type,
|
|
143
|
+
?mentioning: String,
|
|
144
|
+
?min_faves: Integer,
|
|
145
|
+
?min_quotes: Integer,
|
|
146
|
+
?min_replies: Integer,
|
|
147
|
+
?min_retweets: Integer,
|
|
148
|
+
?place: String,
|
|
149
|
+
?place_country: String,
|
|
150
|
+
?point_radius: String,
|
|
75
151
|
?query_type: XTwitterScraper::Models::X::TweetSearchParams::query_type,
|
|
152
|
+
?quotes: XTwitterScraper::Models::X::TweetSearchParams::quotes,
|
|
153
|
+
?quotes_of_tweet_id: String,
|
|
154
|
+
?replies: XTwitterScraper::Models::X::TweetSearchParams::replies,
|
|
155
|
+
?retweets: XTwitterScraper::Models::X::TweetSearchParams::retweets,
|
|
156
|
+
?retweets_of_tweet_id: String,
|
|
157
|
+
?since_date: Date,
|
|
76
158
|
?since_time: String,
|
|
159
|
+
?to_user: String,
|
|
160
|
+
?until_date: Date,
|
|
77
161
|
?until_time: String,
|
|
162
|
+
?url: String,
|
|
163
|
+
?verified_only: bool,
|
|
78
164
|
?request_options: XTwitterScraper::request_opts
|
|
79
165
|
) -> XTwitterScraper::PaginatedTweets
|
|
80
166
|
|
|
@@ -7,16 +7,24 @@ module XTwitterScraper
|
|
|
7
7
|
def retrieve: (
|
|
8
8
|
String id,
|
|
9
9
|
?request_options: XTwitterScraper::request_opts
|
|
10
|
-
) -> XTwitterScraper::
|
|
10
|
+
) -> XTwitterScraper::UserProfile
|
|
11
|
+
|
|
12
|
+
def remove_follower: (
|
|
13
|
+
String id,
|
|
14
|
+
account: String,
|
|
15
|
+
?request_options: XTwitterScraper::request_opts
|
|
16
|
+
) -> XTwitterScraper::Models::X::UserRemoveFollowerResponse
|
|
11
17
|
|
|
12
18
|
def retrieve_batch: (
|
|
13
19
|
ids: String,
|
|
14
20
|
?request_options: XTwitterScraper::request_opts
|
|
15
|
-
) -> XTwitterScraper::
|
|
21
|
+
) -> XTwitterScraper::Models::X::UserRetrieveBatchResponse
|
|
16
22
|
|
|
17
23
|
def retrieve_followers: (
|
|
18
24
|
String id,
|
|
25
|
+
?after: String,
|
|
19
26
|
?cursor: String,
|
|
27
|
+
?limit: Integer,
|
|
20
28
|
?page_size: Integer,
|
|
21
29
|
?request_options: XTwitterScraper::request_opts
|
|
22
30
|
) -> XTwitterScraper::PaginatedUsers
|
|
@@ -24,33 +32,147 @@ module XTwitterScraper
|
|
|
24
32
|
def retrieve_followers_you_know: (
|
|
25
33
|
String id,
|
|
26
34
|
?cursor: String,
|
|
35
|
+
?page_size: Integer,
|
|
27
36
|
?request_options: XTwitterScraper::request_opts
|
|
28
37
|
) -> XTwitterScraper::PaginatedUsers
|
|
29
38
|
|
|
30
39
|
def retrieve_following: (
|
|
31
40
|
String id,
|
|
41
|
+
?after: String,
|
|
32
42
|
?cursor: String,
|
|
43
|
+
?limit: Integer,
|
|
33
44
|
?page_size: Integer,
|
|
34
45
|
?request_options: XTwitterScraper::request_opts
|
|
35
46
|
) -> XTwitterScraper::PaginatedUsers
|
|
36
47
|
|
|
37
48
|
def retrieve_likes: (
|
|
38
49
|
String id,
|
|
50
|
+
?any_words: String,
|
|
51
|
+
?cashtags: String,
|
|
52
|
+
?conversation_id: String,
|
|
39
53
|
?cursor: String,
|
|
54
|
+
?exact_phrase: String,
|
|
55
|
+
?exclude_words: String,
|
|
56
|
+
?from_user: String,
|
|
57
|
+
?hashtags: String,
|
|
58
|
+
?in_reply_to_tweet_id: String,
|
|
59
|
+
?language: String,
|
|
60
|
+
?media_type: XTwitterScraper::Models::X::UserRetrieveLikesParams::media_type,
|
|
61
|
+
?mentioning: String,
|
|
62
|
+
?min_faves: Integer,
|
|
63
|
+
?min_quotes: Integer,
|
|
64
|
+
?min_replies: Integer,
|
|
65
|
+
?min_retweets: Integer,
|
|
66
|
+
?page_size: Integer,
|
|
67
|
+
?quotes: XTwitterScraper::Models::X::UserRetrieveLikesParams::quotes,
|
|
68
|
+
?quotes_of_tweet_id: String,
|
|
69
|
+
?replies: XTwitterScraper::Models::X::UserRetrieveLikesParams::replies,
|
|
70
|
+
?retweets: XTwitterScraper::Models::X::UserRetrieveLikesParams::retweets,
|
|
71
|
+
?retweets_of_tweet_id: String,
|
|
72
|
+
?since_date: Date,
|
|
73
|
+
?to_user: String,
|
|
74
|
+
?until_date: Date,
|
|
75
|
+
?url: String,
|
|
76
|
+
?verified_only: bool,
|
|
40
77
|
?request_options: XTwitterScraper::request_opts
|
|
41
78
|
) -> XTwitterScraper::PaginatedTweets
|
|
42
79
|
|
|
43
80
|
def retrieve_media: (
|
|
44
81
|
String id,
|
|
82
|
+
?any_words: String,
|
|
83
|
+
?cashtags: String,
|
|
84
|
+
?conversation_id: String,
|
|
45
85
|
?cursor: String,
|
|
86
|
+
?exact_phrase: String,
|
|
87
|
+
?exclude_words: String,
|
|
88
|
+
?from_user: String,
|
|
89
|
+
?hashtags: String,
|
|
90
|
+
?in_reply_to_tweet_id: String,
|
|
91
|
+
?language: String,
|
|
92
|
+
?media_type: XTwitterScraper::Models::X::UserRetrieveMediaParams::media_type,
|
|
93
|
+
?mentioning: String,
|
|
94
|
+
?min_faves: Integer,
|
|
95
|
+
?min_quotes: Integer,
|
|
96
|
+
?min_replies: Integer,
|
|
97
|
+
?min_retweets: Integer,
|
|
98
|
+
?page_size: Integer,
|
|
99
|
+
?quotes: XTwitterScraper::Models::X::UserRetrieveMediaParams::quotes,
|
|
100
|
+
?quotes_of_tweet_id: String,
|
|
101
|
+
?replies: XTwitterScraper::Models::X::UserRetrieveMediaParams::replies,
|
|
102
|
+
?retweets: XTwitterScraper::Models::X::UserRetrieveMediaParams::retweets,
|
|
103
|
+
?retweets_of_tweet_id: String,
|
|
104
|
+
?since_date: Date,
|
|
105
|
+
?to_user: String,
|
|
106
|
+
?until_date: Date,
|
|
107
|
+
?url: String,
|
|
108
|
+
?verified_only: bool,
|
|
46
109
|
?request_options: XTwitterScraper::request_opts
|
|
47
110
|
) -> XTwitterScraper::PaginatedTweets
|
|
48
111
|
|
|
49
112
|
def retrieve_mentions: (
|
|
50
113
|
String id,
|
|
114
|
+
?any_words: String,
|
|
115
|
+
?cashtags: String,
|
|
116
|
+
?conversation_id: String,
|
|
51
117
|
?cursor: String,
|
|
118
|
+
?exact_phrase: String,
|
|
119
|
+
?exclude_words: String,
|
|
120
|
+
?from_user: String,
|
|
121
|
+
?hashtags: String,
|
|
122
|
+
?in_reply_to_tweet_id: String,
|
|
123
|
+
?language: String,
|
|
124
|
+
?media_type: XTwitterScraper::Models::X::UserRetrieveMentionsParams::media_type,
|
|
125
|
+
?mentioning: String,
|
|
126
|
+
?min_faves: Integer,
|
|
127
|
+
?min_quotes: Integer,
|
|
128
|
+
?min_replies: Integer,
|
|
129
|
+
?min_retweets: Integer,
|
|
130
|
+
?page_size: Integer,
|
|
131
|
+
?quotes: XTwitterScraper::Models::X::UserRetrieveMentionsParams::quotes,
|
|
132
|
+
?quotes_of_tweet_id: String,
|
|
133
|
+
?replies: XTwitterScraper::Models::X::UserRetrieveMentionsParams::replies,
|
|
134
|
+
?retweets: XTwitterScraper::Models::X::UserRetrieveMentionsParams::retweets,
|
|
135
|
+
?retweets_of_tweet_id: String,
|
|
136
|
+
?since_date: Date,
|
|
52
137
|
?since_time: String,
|
|
138
|
+
?to_user: String,
|
|
139
|
+
?until_date: Date,
|
|
53
140
|
?until_time: String,
|
|
141
|
+
?url: String,
|
|
142
|
+
?verified_only: bool,
|
|
143
|
+
?request_options: XTwitterScraper::request_opts
|
|
144
|
+
) -> XTwitterScraper::PaginatedTweets
|
|
145
|
+
|
|
146
|
+
def retrieve_replies: (
|
|
147
|
+
String id,
|
|
148
|
+
?any_words: String,
|
|
149
|
+
?cashtags: String,
|
|
150
|
+
?conversation_id: String,
|
|
151
|
+
?cursor: String,
|
|
152
|
+
?exact_phrase: String,
|
|
153
|
+
?exclude_words: String,
|
|
154
|
+
?from_user: String,
|
|
155
|
+
?hashtags: String,
|
|
156
|
+
?include_parent_tweet: bool,
|
|
157
|
+
?in_reply_to_tweet_id: String,
|
|
158
|
+
?language: String,
|
|
159
|
+
?media_type: XTwitterScraper::Models::X::UserRetrieveRepliesParams::media_type,
|
|
160
|
+
?mentioning: String,
|
|
161
|
+
?min_faves: Integer,
|
|
162
|
+
?min_quotes: Integer,
|
|
163
|
+
?min_replies: Integer,
|
|
164
|
+
?min_retweets: Integer,
|
|
165
|
+
?page_size: Integer,
|
|
166
|
+
?quotes: XTwitterScraper::Models::X::UserRetrieveRepliesParams::quotes,
|
|
167
|
+
?quotes_of_tweet_id: String,
|
|
168
|
+
?replies: XTwitterScraper::Models::X::UserRetrieveRepliesParams::replies,
|
|
169
|
+
?retweets: XTwitterScraper::Models::X::UserRetrieveRepliesParams::retweets,
|
|
170
|
+
?retweets_of_tweet_id: String,
|
|
171
|
+
?since_date: Date,
|
|
172
|
+
?to_user: String,
|
|
173
|
+
?until_date: Date,
|
|
174
|
+
?url: String,
|
|
175
|
+
?verified_only: bool,
|
|
54
176
|
?request_options: XTwitterScraper::request_opts
|
|
55
177
|
) -> XTwitterScraper::PaginatedTweets
|
|
56
178
|
|
|
@@ -62,15 +184,42 @@ module XTwitterScraper
|
|
|
62
184
|
|
|
63
185
|
def retrieve_tweets: (
|
|
64
186
|
String id,
|
|
187
|
+
?any_words: String,
|
|
188
|
+
?cashtags: String,
|
|
189
|
+
?conversation_id: String,
|
|
65
190
|
?cursor: String,
|
|
191
|
+
?exact_phrase: String,
|
|
192
|
+
?exclude_words: String,
|
|
193
|
+
?from_user: String,
|
|
194
|
+
?hashtags: String,
|
|
66
195
|
?include_parent_tweet: bool,
|
|
67
196
|
?include_replies: bool,
|
|
197
|
+
?in_reply_to_tweet_id: String,
|
|
198
|
+
?language: String,
|
|
199
|
+
?media_type: XTwitterScraper::Models::X::UserRetrieveTweetsParams::media_type,
|
|
200
|
+
?mentioning: String,
|
|
201
|
+
?min_faves: Integer,
|
|
202
|
+
?min_quotes: Integer,
|
|
203
|
+
?min_replies: Integer,
|
|
204
|
+
?min_retweets: Integer,
|
|
205
|
+
?page_size: Integer,
|
|
206
|
+
?quotes: XTwitterScraper::Models::X::UserRetrieveTweetsParams::quotes,
|
|
207
|
+
?quotes_of_tweet_id: String,
|
|
208
|
+
?replies: XTwitterScraper::Models::X::UserRetrieveTweetsParams::replies,
|
|
209
|
+
?retweets: XTwitterScraper::Models::X::UserRetrieveTweetsParams::retweets,
|
|
210
|
+
?retweets_of_tweet_id: String,
|
|
211
|
+
?since_date: Date,
|
|
212
|
+
?to_user: String,
|
|
213
|
+
?until_date: Date,
|
|
214
|
+
?url: String,
|
|
215
|
+
?verified_only: bool,
|
|
68
216
|
?request_options: XTwitterScraper::request_opts
|
|
69
217
|
) -> XTwitterScraper::PaginatedTweets
|
|
70
218
|
|
|
71
219
|
def retrieve_verified_followers: (
|
|
72
220
|
String id,
|
|
73
221
|
?cursor: String,
|
|
222
|
+
?page_size: Integer,
|
|
74
223
|
?request_options: XTwitterScraper::request_opts
|
|
75
224
|
) -> XTwitterScraper::PaginatedUsers
|
|
76
225
|
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
module XTwitterScraper
|
|
2
|
+
module Resources
|
|
3
|
+
class X
|
|
4
|
+
class WriteActions
|
|
5
|
+
def retrieve: (
|
|
6
|
+
String id,
|
|
7
|
+
?request_options: XTwitterScraper::request_opts
|
|
8
|
+
) -> XTwitterScraper::Models::X::WriteActionRetrieveResponse
|
|
9
|
+
|
|
10
|
+
def initialize: (client: XTwitterScraper::Client) -> void
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
module XTwitterScraper
|
|
2
2
|
module Resources
|
|
3
3
|
class X
|
|
4
|
+
attr_reader write_actions: XTwitterScraper::Resources::X::WriteActions
|
|
5
|
+
|
|
4
6
|
attr_reader tweets: XTwitterScraper::Resources::X::Tweets
|
|
5
7
|
|
|
6
8
|
attr_reader users: XTwitterScraper::Resources::X::Users
|
|
@@ -17,6 +19,8 @@ module XTwitterScraper
|
|
|
17
19
|
|
|
18
20
|
attr_reader accounts: XTwitterScraper::Resources::X::Accounts
|
|
19
21
|
|
|
22
|
+
attr_reader account_connection_challenges: XTwitterScraper::Resources::X::AccountConnectionChallenges
|
|
23
|
+
|
|
20
24
|
attr_reader bookmarks: XTwitterScraper::Resources::X::Bookmarks
|
|
21
25
|
|
|
22
26
|
attr_reader lists: XTwitterScraper::Resources::X::Lists
|
|
@@ -39,6 +43,8 @@ module XTwitterScraper
|
|
|
39
43
|
) -> XTwitterScraper::Models::XGetNotificationsResponse
|
|
40
44
|
|
|
41
45
|
def get_trends: (
|
|
46
|
+
?count: Integer,
|
|
47
|
+
?woeid: Integer,
|
|
42
48
|
?request_options: XTwitterScraper::request_opts
|
|
43
49
|
) -> XTwitterScraper::Models::XGetTrendsResponse
|
|
44
50
|
|