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
|
@@ -3,30 +3,31 @@ module XTwitterScraper
|
|
|
3
3
|
type x_get_article_response =
|
|
4
4
|
{
|
|
5
5
|
article: XTwitterScraper::Models::XGetArticleResponse::Article,
|
|
6
|
-
author: XTwitterScraper::
|
|
6
|
+
author: XTwitterScraper::Models::XGetArticleResponse::Author
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
class XGetArticleResponse < XTwitterScraper::Internal::Type::BaseModel
|
|
10
10
|
attr_accessor article: XTwitterScraper::Models::XGetArticleResponse::Article
|
|
11
11
|
|
|
12
|
-
attr_reader author: XTwitterScraper::
|
|
12
|
+
attr_reader author: XTwitterScraper::Models::XGetArticleResponse::Author?
|
|
13
13
|
|
|
14
14
|
def author=: (
|
|
15
|
-
XTwitterScraper::
|
|
16
|
-
) -> XTwitterScraper::
|
|
15
|
+
XTwitterScraper::Models::XGetArticleResponse::Author
|
|
16
|
+
) -> XTwitterScraper::Models::XGetArticleResponse::Author
|
|
17
17
|
|
|
18
18
|
def initialize: (
|
|
19
19
|
article: XTwitterScraper::Models::XGetArticleResponse::Article,
|
|
20
|
-
?author: XTwitterScraper::
|
|
20
|
+
?author: XTwitterScraper::Models::XGetArticleResponse::Author
|
|
21
21
|
) -> void
|
|
22
22
|
|
|
23
23
|
def to_hash: -> {
|
|
24
24
|
article: XTwitterScraper::Models::XGetArticleResponse::Article,
|
|
25
|
-
author: XTwitterScraper::
|
|
25
|
+
author: XTwitterScraper::Models::XGetArticleResponse::Author
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
type article =
|
|
29
29
|
{
|
|
30
|
+
body_text: String,
|
|
30
31
|
contents: ::Array[XTwitterScraper::Models::XGetArticleResponse::Article::Content],
|
|
31
32
|
cover_image_url: String,
|
|
32
33
|
created_at: String,
|
|
@@ -39,6 +40,10 @@ module XTwitterScraper
|
|
|
39
40
|
}
|
|
40
41
|
|
|
41
42
|
class Article < XTwitterScraper::Internal::Type::BaseModel
|
|
43
|
+
attr_reader body_text: String?
|
|
44
|
+
|
|
45
|
+
def body_text=: (String) -> String
|
|
46
|
+
|
|
42
47
|
attr_reader contents: ::Array[XTwitterScraper::Models::XGetArticleResponse::Article::Content]?
|
|
43
48
|
|
|
44
49
|
def contents=: (
|
|
@@ -78,6 +83,7 @@ module XTwitterScraper
|
|
|
78
83
|
def view_count=: (Integer) -> Integer
|
|
79
84
|
|
|
80
85
|
def initialize: (
|
|
86
|
+
?body_text: String,
|
|
81
87
|
?contents: ::Array[XTwitterScraper::Models::XGetArticleResponse::Article::Content],
|
|
82
88
|
?cover_image_url: String,
|
|
83
89
|
?created_at: String,
|
|
@@ -90,6 +96,7 @@ module XTwitterScraper
|
|
|
90
96
|
) -> void
|
|
91
97
|
|
|
92
98
|
def to_hash: -> {
|
|
99
|
+
body_text: String,
|
|
93
100
|
contents: ::Array[XTwitterScraper::Models::XGetArticleResponse::Article::Content],
|
|
94
101
|
cover_image_url: String,
|
|
95
102
|
created_at: String,
|
|
@@ -104,6 +111,8 @@ module XTwitterScraper
|
|
|
104
111
|
type content =
|
|
105
112
|
{
|
|
106
113
|
height: Integer,
|
|
114
|
+
inline_style_ranges: ::Array[XTwitterScraper::Models::XGetArticleResponse::Article::Content::InlineStyleRange],
|
|
115
|
+
preview_url: String,
|
|
107
116
|
text: String,
|
|
108
117
|
type: String,
|
|
109
118
|
url: String,
|
|
@@ -115,6 +124,16 @@ module XTwitterScraper
|
|
|
115
124
|
|
|
116
125
|
def height=: (Integer) -> Integer
|
|
117
126
|
|
|
127
|
+
attr_reader inline_style_ranges: ::Array[XTwitterScraper::Models::XGetArticleResponse::Article::Content::InlineStyleRange]?
|
|
128
|
+
|
|
129
|
+
def inline_style_ranges=: (
|
|
130
|
+
::Array[XTwitterScraper::Models::XGetArticleResponse::Article::Content::InlineStyleRange]
|
|
131
|
+
) -> ::Array[XTwitterScraper::Models::XGetArticleResponse::Article::Content::InlineStyleRange]
|
|
132
|
+
|
|
133
|
+
attr_reader preview_url: String?
|
|
134
|
+
|
|
135
|
+
def preview_url=: (String) -> String
|
|
136
|
+
|
|
118
137
|
attr_reader text: String?
|
|
119
138
|
|
|
120
139
|
def text=: (String) -> String
|
|
@@ -133,6 +152,8 @@ module XTwitterScraper
|
|
|
133
152
|
|
|
134
153
|
def initialize: (
|
|
135
154
|
?height: Integer,
|
|
155
|
+
?inline_style_ranges: ::Array[XTwitterScraper::Models::XGetArticleResponse::Article::Content::InlineStyleRange],
|
|
156
|
+
?preview_url: String,
|
|
136
157
|
?text: String,
|
|
137
158
|
?type: String,
|
|
138
159
|
?url: String,
|
|
@@ -141,13 +162,179 @@ module XTwitterScraper
|
|
|
141
162
|
|
|
142
163
|
def to_hash: -> {
|
|
143
164
|
height: Integer,
|
|
165
|
+
inline_style_ranges: ::Array[XTwitterScraper::Models::XGetArticleResponse::Article::Content::InlineStyleRange],
|
|
166
|
+
preview_url: String,
|
|
144
167
|
text: String,
|
|
145
168
|
type: String,
|
|
146
169
|
url: String,
|
|
147
170
|
width: Integer
|
|
148
171
|
}
|
|
172
|
+
|
|
173
|
+
type inline_style_range =
|
|
174
|
+
{ length: Integer, offset: Integer, style: String }
|
|
175
|
+
|
|
176
|
+
class InlineStyleRange < XTwitterScraper::Internal::Type::BaseModel
|
|
177
|
+
attr_reader length: Integer?
|
|
178
|
+
|
|
179
|
+
def length=: (Integer) -> Integer
|
|
180
|
+
|
|
181
|
+
attr_reader offset: Integer?
|
|
182
|
+
|
|
183
|
+
def offset=: (Integer) -> Integer
|
|
184
|
+
|
|
185
|
+
attr_reader style: String?
|
|
186
|
+
|
|
187
|
+
def style=: (String) -> String
|
|
188
|
+
|
|
189
|
+
def initialize: (
|
|
190
|
+
?length: Integer,
|
|
191
|
+
?offset: Integer,
|
|
192
|
+
?style: String
|
|
193
|
+
) -> void
|
|
194
|
+
|
|
195
|
+
def to_hash: -> { length: Integer, offset: Integer, style: String }
|
|
196
|
+
end
|
|
149
197
|
end
|
|
150
198
|
end
|
|
199
|
+
|
|
200
|
+
type author =
|
|
201
|
+
{
|
|
202
|
+
id: String,
|
|
203
|
+
name: String,
|
|
204
|
+
username: String,
|
|
205
|
+
can_dm: bool,
|
|
206
|
+
created_at: String,
|
|
207
|
+
description: String,
|
|
208
|
+
favourites_count: Integer,
|
|
209
|
+
followers_count: Integer,
|
|
210
|
+
following_count: Integer,
|
|
211
|
+
is_blue_verified: bool,
|
|
212
|
+
is_translator: bool,
|
|
213
|
+
is_verified: bool,
|
|
214
|
+
location: String,
|
|
215
|
+
media_count: Integer,
|
|
216
|
+
profile_banner_url: String,
|
|
217
|
+
profile_picture: String,
|
|
218
|
+
protected: bool,
|
|
219
|
+
statuses_count: Integer,
|
|
220
|
+
url: String
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
class Author < XTwitterScraper::Internal::Type::BaseModel
|
|
224
|
+
attr_accessor id: String
|
|
225
|
+
|
|
226
|
+
attr_accessor name: String
|
|
227
|
+
|
|
228
|
+
attr_accessor username: String
|
|
229
|
+
|
|
230
|
+
attr_reader can_dm: bool?
|
|
231
|
+
|
|
232
|
+
def can_dm=: (bool) -> bool
|
|
233
|
+
|
|
234
|
+
attr_reader created_at: String?
|
|
235
|
+
|
|
236
|
+
def created_at=: (String) -> String
|
|
237
|
+
|
|
238
|
+
attr_reader description: String?
|
|
239
|
+
|
|
240
|
+
def description=: (String) -> String
|
|
241
|
+
|
|
242
|
+
attr_reader favourites_count: Integer?
|
|
243
|
+
|
|
244
|
+
def favourites_count=: (Integer) -> Integer
|
|
245
|
+
|
|
246
|
+
attr_reader followers_count: Integer?
|
|
247
|
+
|
|
248
|
+
def followers_count=: (Integer) -> Integer
|
|
249
|
+
|
|
250
|
+
attr_reader following_count: Integer?
|
|
251
|
+
|
|
252
|
+
def following_count=: (Integer) -> Integer
|
|
253
|
+
|
|
254
|
+
attr_reader is_blue_verified: bool?
|
|
255
|
+
|
|
256
|
+
def is_blue_verified=: (bool) -> bool
|
|
257
|
+
|
|
258
|
+
attr_reader is_translator: bool?
|
|
259
|
+
|
|
260
|
+
def is_translator=: (bool) -> bool
|
|
261
|
+
|
|
262
|
+
attr_reader is_verified: bool?
|
|
263
|
+
|
|
264
|
+
def is_verified=: (bool) -> bool
|
|
265
|
+
|
|
266
|
+
attr_reader location: String?
|
|
267
|
+
|
|
268
|
+
def location=: (String) -> String
|
|
269
|
+
|
|
270
|
+
attr_reader media_count: Integer?
|
|
271
|
+
|
|
272
|
+
def media_count=: (Integer) -> Integer
|
|
273
|
+
|
|
274
|
+
attr_reader profile_banner_url: String?
|
|
275
|
+
|
|
276
|
+
def profile_banner_url=: (String) -> String
|
|
277
|
+
|
|
278
|
+
attr_reader profile_picture: String?
|
|
279
|
+
|
|
280
|
+
def profile_picture=: (String) -> String
|
|
281
|
+
|
|
282
|
+
attr_reader protected: bool?
|
|
283
|
+
|
|
284
|
+
def protected=: (bool) -> bool
|
|
285
|
+
|
|
286
|
+
attr_reader statuses_count: Integer?
|
|
287
|
+
|
|
288
|
+
def statuses_count=: (Integer) -> Integer
|
|
289
|
+
|
|
290
|
+
attr_reader url: String?
|
|
291
|
+
|
|
292
|
+
def url=: (String) -> String
|
|
293
|
+
|
|
294
|
+
def initialize: (
|
|
295
|
+
id: String,
|
|
296
|
+
name: String,
|
|
297
|
+
username: String,
|
|
298
|
+
?can_dm: bool,
|
|
299
|
+
?created_at: String,
|
|
300
|
+
?description: String,
|
|
301
|
+
?favourites_count: Integer,
|
|
302
|
+
?followers_count: Integer,
|
|
303
|
+
?following_count: Integer,
|
|
304
|
+
?is_blue_verified: bool,
|
|
305
|
+
?is_translator: bool,
|
|
306
|
+
?is_verified: bool,
|
|
307
|
+
?location: String,
|
|
308
|
+
?media_count: Integer,
|
|
309
|
+
?profile_banner_url: String,
|
|
310
|
+
?profile_picture: String,
|
|
311
|
+
?protected: bool,
|
|
312
|
+
?statuses_count: Integer,
|
|
313
|
+
?url: String
|
|
314
|
+
) -> void
|
|
315
|
+
|
|
316
|
+
def to_hash: -> {
|
|
317
|
+
id: String,
|
|
318
|
+
name: String,
|
|
319
|
+
username: String,
|
|
320
|
+
can_dm: bool,
|
|
321
|
+
created_at: String,
|
|
322
|
+
description: String,
|
|
323
|
+
favourites_count: Integer,
|
|
324
|
+
followers_count: Integer,
|
|
325
|
+
following_count: Integer,
|
|
326
|
+
is_blue_verified: bool,
|
|
327
|
+
is_translator: bool,
|
|
328
|
+
is_verified: bool,
|
|
329
|
+
location: String,
|
|
330
|
+
media_count: Integer,
|
|
331
|
+
profile_banner_url: String,
|
|
332
|
+
profile_picture: String,
|
|
333
|
+
protected: bool,
|
|
334
|
+
statuses_count: Integer,
|
|
335
|
+
url: String
|
|
336
|
+
}
|
|
337
|
+
end
|
|
151
338
|
end
|
|
152
339
|
end
|
|
153
340
|
end
|
|
@@ -1,15 +1,32 @@
|
|
|
1
1
|
module XTwitterScraper
|
|
2
2
|
module Models
|
|
3
3
|
type x_get_trends_params =
|
|
4
|
-
{
|
|
4
|
+
{ count: Integer, woeid: Integer }
|
|
5
|
+
& XTwitterScraper::Internal::Type::request_parameters
|
|
5
6
|
|
|
6
7
|
class XGetTrendsParams < XTwitterScraper::Internal::Type::BaseModel
|
|
7
8
|
extend XTwitterScraper::Internal::Type::RequestParameters::Converter
|
|
8
9
|
include XTwitterScraper::Internal::Type::RequestParameters
|
|
9
10
|
|
|
10
|
-
|
|
11
|
+
attr_reader count: Integer?
|
|
11
12
|
|
|
12
|
-
def
|
|
13
|
+
def count=: (Integer) -> Integer
|
|
14
|
+
|
|
15
|
+
attr_reader woeid: Integer?
|
|
16
|
+
|
|
17
|
+
def woeid=: (Integer) -> Integer
|
|
18
|
+
|
|
19
|
+
def initialize: (
|
|
20
|
+
?count: Integer,
|
|
21
|
+
?woeid: Integer,
|
|
22
|
+
?request_options: XTwitterScraper::request_opts
|
|
23
|
+
) -> void
|
|
24
|
+
|
|
25
|
+
def to_hash: -> {
|
|
26
|
+
count: Integer,
|
|
27
|
+
woeid: Integer,
|
|
28
|
+
request_options: XTwitterScraper::RequestOptions
|
|
29
|
+
}
|
|
13
30
|
end
|
|
14
31
|
end
|
|
15
32
|
end
|
|
@@ -5,18 +5,16 @@ module XTwitterScraper
|
|
|
5
5
|
|
|
6
6
|
class AccountUpdateLocaleParams = XTwitterScraper::Models::AccountUpdateLocaleParams
|
|
7
7
|
|
|
8
|
-
class
|
|
9
|
-
|
|
10
|
-
class APIKeyCreateParams = XTwitterScraper::Models::APIKeyCreateParams
|
|
11
|
-
|
|
12
|
-
class APIKeyListParams = XTwitterScraper::Models::APIKeyListParams
|
|
8
|
+
class ComposeCreateParams = XTwitterScraper::Models::ComposeCreateParams
|
|
13
9
|
|
|
14
|
-
class
|
|
10
|
+
class ContentDisclosure = XTwitterScraper::Models::ContentDisclosure
|
|
15
11
|
|
|
16
|
-
class
|
|
12
|
+
class CreditRedirectTopupCheckoutParams = XTwitterScraper::Models::CreditRedirectTopupCheckoutParams
|
|
17
13
|
|
|
18
14
|
class CreditRetrieveBalanceParams = XTwitterScraper::Models::CreditRetrieveBalanceParams
|
|
19
15
|
|
|
16
|
+
class CreditRetrieveTopupStatusParams = XTwitterScraper::Models::CreditRetrieveTopupStatusParams
|
|
17
|
+
|
|
20
18
|
class CreditTopupBalanceParams = XTwitterScraper::Models::CreditTopupBalanceParams
|
|
21
19
|
|
|
22
20
|
class Delivery = XTwitterScraper::Models::Delivery
|
|
@@ -45,6 +43,8 @@ module XTwitterScraper
|
|
|
45
43
|
|
|
46
44
|
class DrawRunParams = XTwitterScraper::Models::DrawRunParams
|
|
47
45
|
|
|
46
|
+
class EmbeddedTweet = XTwitterScraper::Models::EmbeddedTweet
|
|
47
|
+
|
|
48
48
|
class Error = XTwitterScraper::Models::Error
|
|
49
49
|
|
|
50
50
|
class Event = XTwitterScraper::Models::Event
|
|
@@ -69,23 +69,13 @@ module XTwitterScraper
|
|
|
69
69
|
|
|
70
70
|
class ExtractionRunParams = XTwitterScraper::Models::ExtractionRunParams
|
|
71
71
|
|
|
72
|
-
class
|
|
73
|
-
|
|
74
|
-
class IntegrationCreateParams = XTwitterScraper::Models::IntegrationCreateParams
|
|
75
|
-
|
|
76
|
-
class IntegrationDeleteParams = XTwitterScraper::Models::IntegrationDeleteParams
|
|
72
|
+
class GuestWalletAmount = XTwitterScraper::Models::GuestWalletAmount
|
|
77
73
|
|
|
78
|
-
class
|
|
74
|
+
class GuestWalletCreateParams = XTwitterScraper::Models::GuestWalletCreateParams
|
|
79
75
|
|
|
80
|
-
class
|
|
76
|
+
class GuestWalletRetrieveStatusParams = XTwitterScraper::Models::GuestWalletRetrieveStatusParams
|
|
81
77
|
|
|
82
|
-
class
|
|
83
|
-
|
|
84
|
-
class IntegrationRetrieveParams = XTwitterScraper::Models::IntegrationRetrieveParams
|
|
85
|
-
|
|
86
|
-
class IntegrationSendTestParams = XTwitterScraper::Models::IntegrationSendTestParams
|
|
87
|
-
|
|
88
|
-
class IntegrationUpdateParams = XTwitterScraper::Models::IntegrationUpdateParams
|
|
78
|
+
class GuestWalletTopupParams = XTwitterScraper::Models::GuestWalletTopupParams
|
|
89
79
|
|
|
90
80
|
class Monitor = XTwitterScraper::Models::Monitor
|
|
91
81
|
|
|
@@ -97,6 +87,8 @@ module XTwitterScraper
|
|
|
97
87
|
|
|
98
88
|
class MonitorRetrieveParams = XTwitterScraper::Models::MonitorRetrieveParams
|
|
99
89
|
|
|
90
|
+
module Monitors = XTwitterScraper::Models::Monitors
|
|
91
|
+
|
|
100
92
|
class MonitorUpdateParams = XTwitterScraper::Models::MonitorUpdateParams
|
|
101
93
|
|
|
102
94
|
class PaginatedTweets = XTwitterScraper::Models::PaginatedTweets
|
|
@@ -107,6 +99,8 @@ module XTwitterScraper
|
|
|
107
99
|
|
|
108
100
|
class RadarRetrieveTrendingTopicsParams = XTwitterScraper::Models::RadarRetrieveTrendingTopicsParams
|
|
109
101
|
|
|
102
|
+
class SearchTweet = XTwitterScraper::Models::SearchTweet
|
|
103
|
+
|
|
110
104
|
class StyleAnalyzeParams = XTwitterScraper::Models::StyleAnalyzeParams
|
|
111
105
|
|
|
112
106
|
class StyleCompareParams = XTwitterScraper::Models::StyleCompareParams
|
|
@@ -131,6 +125,10 @@ module XTwitterScraper
|
|
|
131
125
|
|
|
132
126
|
class TrendListParams = XTwitterScraper::Models::TrendListParams
|
|
133
127
|
|
|
128
|
+
class TweetMedia = XTwitterScraper::Models::TweetMedia
|
|
129
|
+
|
|
130
|
+
class UserProfile = XTwitterScraper::Models::UserProfile
|
|
131
|
+
|
|
134
132
|
class Webhook = XTwitterScraper::Models::Webhook
|
|
135
133
|
|
|
136
134
|
class WebhookCreateParams = XTwitterScraper::Models::WebhookCreateParams
|
|
@@ -141,6 +139,8 @@ module XTwitterScraper
|
|
|
141
139
|
|
|
142
140
|
class WebhookListParams = XTwitterScraper::Models::WebhookListParams
|
|
143
141
|
|
|
142
|
+
class WebhookResumeParams = XTwitterScraper::Models::WebhookResumeParams
|
|
143
|
+
|
|
144
144
|
class WebhookTestParams = XTwitterScraper::Models::WebhookTestParams
|
|
145
145
|
|
|
146
146
|
class WebhookUpdateParams = XTwitterScraper::Models::WebhookUpdateParams
|
|
@@ -1,12 +1,23 @@
|
|
|
1
1
|
module XTwitterScraper
|
|
2
2
|
module Resources
|
|
3
3
|
class Credits
|
|
4
|
+
def redirect_topup_checkout: (
|
|
5
|
+
session_id: String,
|
|
6
|
+
?request_options: XTwitterScraper::request_opts
|
|
7
|
+
) -> nil
|
|
8
|
+
|
|
4
9
|
def retrieve_balance: (
|
|
5
10
|
?request_options: XTwitterScraper::request_opts
|
|
6
11
|
) -> XTwitterScraper::Models::CreditRetrieveBalanceResponse
|
|
7
12
|
|
|
13
|
+
def retrieve_topup_status: (
|
|
14
|
+
session_id: String,
|
|
15
|
+
?request_options: XTwitterScraper::request_opts
|
|
16
|
+
) -> XTwitterScraper::Models::CreditRetrieveTopupStatusResponse
|
|
17
|
+
|
|
8
18
|
def topup_balance: (
|
|
9
|
-
|
|
19
|
+
dollars: Integer,
|
|
20
|
+
?locale: String,
|
|
10
21
|
?request_options: XTwitterScraper::request_opts
|
|
11
22
|
) -> XTwitterScraper::Models::CreditTopupBalanceResponse
|
|
12
23
|
|
|
@@ -7,14 +7,14 @@ module XTwitterScraper
|
|
|
7
7
|
) -> XTwitterScraper::Models::DrawRetrieveResponse
|
|
8
8
|
|
|
9
9
|
def list: (
|
|
10
|
-
?
|
|
10
|
+
?cursor: String,
|
|
11
11
|
?limit: Integer,
|
|
12
12
|
?request_options: XTwitterScraper::request_opts
|
|
13
13
|
) -> XTwitterScraper::Models::DrawListResponse
|
|
14
14
|
|
|
15
15
|
def export: (
|
|
16
16
|
String id,
|
|
17
|
-
|
|
17
|
+
format_: XTwitterScraper::Models::DrawExportParams::format_,
|
|
18
18
|
?type: XTwitterScraper::Models::DrawExportParams::type_,
|
|
19
19
|
?request_options: XTwitterScraper::request_opts
|
|
20
20
|
) -> StringIO
|
|
@@ -3,13 +3,13 @@ module XTwitterScraper
|
|
|
3
3
|
class Extractions
|
|
4
4
|
def retrieve: (
|
|
5
5
|
String id,
|
|
6
|
-
?
|
|
6
|
+
?cursor: String,
|
|
7
7
|
?limit: Integer,
|
|
8
8
|
?request_options: XTwitterScraper::request_opts
|
|
9
9
|
) -> XTwitterScraper::Models::ExtractionRetrieveResponse
|
|
10
10
|
|
|
11
11
|
def list: (
|
|
12
|
-
?
|
|
12
|
+
?cursor: String,
|
|
13
13
|
?limit: Integer,
|
|
14
14
|
?status: XTwitterScraper::Models::ExtractionListParams::status,
|
|
15
15
|
?tool_type: XTwitterScraper::Models::ExtractionListParams::tool_type,
|
|
@@ -19,34 +19,92 @@ module XTwitterScraper
|
|
|
19
19
|
def estimate_cost: (
|
|
20
20
|
tool_type: XTwitterScraper::Models::ExtractionEstimateCostParams::tool_type,
|
|
21
21
|
?advanced_query: String,
|
|
22
|
+
?any_words: String,
|
|
23
|
+
?bounding_box: String,
|
|
24
|
+
?cashtags: String,
|
|
25
|
+
?conversation_id: String,
|
|
22
26
|
?exact_phrase: String,
|
|
23
27
|
?exclude_words: String,
|
|
28
|
+
?from_user: String,
|
|
29
|
+
?hashtags: String,
|
|
30
|
+
?in_reply_to_tweet_id: String,
|
|
31
|
+
?language: String,
|
|
32
|
+
?list_id: String,
|
|
33
|
+
?media_type: XTwitterScraper::Models::ExtractionEstimateCostParams::media_type,
|
|
34
|
+
?mentioning: String,
|
|
35
|
+
?min_faves: Integer,
|
|
36
|
+
?min_quotes: Integer,
|
|
37
|
+
?min_replies: Integer,
|
|
38
|
+
?min_retweets: Integer,
|
|
39
|
+
?place: String,
|
|
40
|
+
?place_country: String,
|
|
41
|
+
?point_radius: String,
|
|
42
|
+
?quotes: XTwitterScraper::Models::ExtractionEstimateCostParams::quotes,
|
|
43
|
+
?quotes_of_tweet_id: String,
|
|
44
|
+
?replies: XTwitterScraper::Models::ExtractionEstimateCostParams::replies,
|
|
45
|
+
?results_limit: Integer,
|
|
46
|
+
?retweets: XTwitterScraper::Models::ExtractionEstimateCostParams::retweets,
|
|
47
|
+
?retweets_of_tweet_id: String,
|
|
24
48
|
?search_query: String,
|
|
49
|
+
?since_date: Date,
|
|
25
50
|
?target_community_id: String,
|
|
26
51
|
?target_list_id: String,
|
|
27
52
|
?target_space_id: String,
|
|
28
53
|
?target_tweet_id: String,
|
|
29
54
|
?target_username: String,
|
|
55
|
+
?to_user: String,
|
|
56
|
+
?until_date: Date,
|
|
57
|
+
?url: String,
|
|
58
|
+
?verified_only: bool,
|
|
30
59
|
?request_options: XTwitterScraper::request_opts
|
|
31
60
|
) -> XTwitterScraper::Models::ExtractionEstimateCostResponse
|
|
32
61
|
|
|
33
62
|
def export_results: (
|
|
34
63
|
String id,
|
|
35
|
-
|
|
64
|
+
format_: XTwitterScraper::Models::ExtractionExportResultsParams::format_,
|
|
36
65
|
?request_options: XTwitterScraper::request_opts
|
|
37
66
|
) -> StringIO
|
|
38
67
|
|
|
39
68
|
def run: (
|
|
40
69
|
tool_type: XTwitterScraper::Models::ExtractionRunParams::tool_type,
|
|
41
70
|
?advanced_query: String,
|
|
71
|
+
?any_words: String,
|
|
72
|
+
?bounding_box: String,
|
|
73
|
+
?cashtags: String,
|
|
74
|
+
?conversation_id: String,
|
|
42
75
|
?exact_phrase: String,
|
|
43
76
|
?exclude_words: String,
|
|
77
|
+
?from_user: String,
|
|
78
|
+
?hashtags: String,
|
|
79
|
+
?in_reply_to_tweet_id: String,
|
|
80
|
+
?language: String,
|
|
81
|
+
?list_id: String,
|
|
82
|
+
?media_type: XTwitterScraper::Models::ExtractionRunParams::media_type,
|
|
83
|
+
?mentioning: String,
|
|
84
|
+
?min_faves: Integer,
|
|
85
|
+
?min_quotes: Integer,
|
|
86
|
+
?min_replies: Integer,
|
|
87
|
+
?min_retweets: Integer,
|
|
88
|
+
?place: String,
|
|
89
|
+
?place_country: String,
|
|
90
|
+
?point_radius: String,
|
|
91
|
+
?quotes: XTwitterScraper::Models::ExtractionRunParams::quotes,
|
|
92
|
+
?quotes_of_tweet_id: String,
|
|
93
|
+
?replies: XTwitterScraper::Models::ExtractionRunParams::replies,
|
|
94
|
+
?results_limit: Integer,
|
|
95
|
+
?retweets: XTwitterScraper::Models::ExtractionRunParams::retweets,
|
|
96
|
+
?retweets_of_tweet_id: String,
|
|
44
97
|
?search_query: String,
|
|
98
|
+
?since_date: Date,
|
|
45
99
|
?target_community_id: String,
|
|
46
100
|
?target_list_id: String,
|
|
47
101
|
?target_space_id: String,
|
|
48
102
|
?target_tweet_id: String,
|
|
49
103
|
?target_username: String,
|
|
104
|
+
?to_user: String,
|
|
105
|
+
?until_date: Date,
|
|
106
|
+
?url: String,
|
|
107
|
+
?verified_only: bool,
|
|
50
108
|
?request_options: XTwitterScraper::request_opts
|
|
51
109
|
) -> XTwitterScraper::Models::ExtractionRunResponse
|
|
52
110
|
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
module XTwitterScraper
|
|
2
|
+
module Resources
|
|
3
|
+
class GuestWallets
|
|
4
|
+
def create: (
|
|
5
|
+
amount_minor: Integer,
|
|
6
|
+
idempotency_key: String,
|
|
7
|
+
?currency: :usd,
|
|
8
|
+
?request_options: XTwitterScraper::request_opts
|
|
9
|
+
) -> XTwitterScraper::Models::GuestWalletCreateResponse
|
|
10
|
+
|
|
11
|
+
def retrieve_status: (
|
|
12
|
+
?request_options: XTwitterScraper::request_opts
|
|
13
|
+
) -> XTwitterScraper::Models::GuestWalletRetrieveStatusResponse
|
|
14
|
+
|
|
15
|
+
def topup: (
|
|
16
|
+
amount_minor: Integer,
|
|
17
|
+
idempotency_key: String,
|
|
18
|
+
?currency: :usd,
|
|
19
|
+
?request_options: XTwitterScraper::request_opts
|
|
20
|
+
) -> XTwitterScraper::Models::GuestWalletTopupResponse
|
|
21
|
+
|
|
22
|
+
def initialize: (client: XTwitterScraper::Client) -> void
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
module XTwitterScraper
|
|
2
|
+
module Resources
|
|
3
|
+
class Monitors
|
|
4
|
+
class Keywords
|
|
5
|
+
def create: (
|
|
6
|
+
event_types: ::Array[XTwitterScraper::Models::event_type],
|
|
7
|
+
query: String,
|
|
8
|
+
?request_options: XTwitterScraper::request_opts
|
|
9
|
+
) -> XTwitterScraper::Models::Monitors::KeywordCreateResponse
|
|
10
|
+
|
|
11
|
+
def retrieve: (
|
|
12
|
+
String id,
|
|
13
|
+
?request_options: XTwitterScraper::request_opts
|
|
14
|
+
) -> XTwitterScraper::Models::Monitors::KeywordRetrieveResponse
|
|
15
|
+
|
|
16
|
+
def update: (
|
|
17
|
+
String id,
|
|
18
|
+
?event_types: ::Array[XTwitterScraper::Models::event_type],
|
|
19
|
+
?is_active: bool,
|
|
20
|
+
?request_options: XTwitterScraper::request_opts
|
|
21
|
+
) -> XTwitterScraper::Models::Monitors::KeywordUpdateResponse
|
|
22
|
+
|
|
23
|
+
def list: (
|
|
24
|
+
?request_options: XTwitterScraper::request_opts
|
|
25
|
+
) -> XTwitterScraper::Models::Monitors::KeywordListResponse
|
|
26
|
+
|
|
27
|
+
def deactivate: (
|
|
28
|
+
String id,
|
|
29
|
+
?request_options: XTwitterScraper::request_opts
|
|
30
|
+
) -> XTwitterScraper::Models::Monitors::KeywordDeactivateResponse
|
|
31
|
+
|
|
32
|
+
def initialize: (client: XTwitterScraper::Client) -> void
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -2,9 +2,10 @@ module XTwitterScraper
|
|
|
2
2
|
module Resources
|
|
3
3
|
class Radar
|
|
4
4
|
def retrieve_trending_topics: (
|
|
5
|
-
?
|
|
6
|
-
?
|
|
5
|
+
?after: String,
|
|
6
|
+
?category: XTwitterScraper::Models::RadarRetrieveTrendingTopicsParams::category,
|
|
7
7
|
?hours: Integer,
|
|
8
|
+
?limit: Integer,
|
|
8
9
|
?region: String,
|
|
9
10
|
?source: XTwitterScraper::Models::RadarRetrieveTrendingTopicsParams::source,
|
|
10
11
|
?request_options: XTwitterScraper::request_opts
|
|
@@ -29,6 +29,11 @@ module XTwitterScraper
|
|
|
29
29
|
?request_options: XTwitterScraper::request_opts
|
|
30
30
|
) -> XTwitterScraper::Models::WebhookListDeliveriesResponse
|
|
31
31
|
|
|
32
|
+
def resume: (
|
|
33
|
+
String id,
|
|
34
|
+
?request_options: XTwitterScraper::request_opts
|
|
35
|
+
) -> XTwitterScraper::Models::WebhookResumeResponse
|
|
36
|
+
|
|
32
37
|
def test_: (
|
|
33
38
|
String id,
|
|
34
39
|
?request_options: XTwitterScraper::request_opts
|