x-twitter-scraper 0.11.0 → 0.12.0
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 +31 -0
- data/README.md +1 -1
- data/lib/x_twitter_scraper/client.rb +4 -0
- data/lib/x_twitter_scraper/internal/stream.rb +34 -0
- data/lib/x_twitter_scraper/internal/type/base_model.rb +2 -0
- data/lib/x_twitter_scraper/internal/type/converter.rb +2 -0
- data/lib/x_twitter_scraper/internal/type/union.rb +6 -2
- data/lib/x_twitter_scraper/models/activity_export_params.rb +113 -0
- data/lib/x_twitter_scraper/models/activity_list_params.rb +107 -0
- data/lib/x_twitter_scraper/models/activity_list_response.rb +13 -0
- data/lib/x_twitter_scraper/models/activity_log_row.rb +123 -0
- data/lib/x_twitter_scraper/models/activity_record.rb +489 -0
- data/lib/x_twitter_scraper/models/activity_retrieve_params.rb +27 -0
- data/lib/x_twitter_scraper/models/audited_follower.rb +114 -0
- data/lib/x_twitter_scraper/models/batch_user_tweets.rb +84 -0
- data/lib/x_twitter_scraper/models/broadcast.rb +261 -0
- data/lib/x_twitter_scraper/models/community.rb +957 -0
- data/lib/x_twitter_scraper/models/community_analytics.rb +89 -0
- data/lib/x_twitter_scraper/models/community_analytics_metric.rb +30 -0
- data/lib/x_twitter_scraper/models/community_banner.rb +126 -0
- data/lib/x_twitter_scraper/models/community_member_preview.rb +38 -0
- data/lib/x_twitter_scraper/models/community_note.rb +257 -0
- data/lib/x_twitter_scraper/models/community_note_entity.rb +83 -0
- data/lib/x_twitter_scraper/models/community_notes_contributor.rb +64 -0
- data/lib/x_twitter_scraper/models/community_notes_note_counts.rb +46 -0
- data/lib/x_twitter_scraper/models/community_notes_rating_counts.rb +54 -0
- data/lib/x_twitter_scraper/models/community_notes_rating_outcome.rb +38 -0
- data/lib/x_twitter_scraper/models/community_page.rb +38 -0
- data/lib/x_twitter_scraper/models/community_topic.rb +57 -0
- data/lib/x_twitter_scraper/models/event_stream_params.rb +55 -0
- data/lib/x_twitter_scraper/models/extraction_cancel_params.rb +27 -0
- data/lib/x_twitter_scraper/models/extraction_cancel_response.rb +27 -0
- data/lib/x_twitter_scraper/models/follower_audit.rb +300 -0
- data/lib/x_twitter_scraper/models/follower_class.rb +23 -0
- data/lib/x_twitter_scraper/models/follower_value_count.rb +35 -0
- data/lib/x_twitter_scraper/models/football_box_score.rb +73 -0
- data/lib/x_twitter_scraper/models/football_drive.rb +122 -0
- data/lib/x_twitter_scraper/models/football_fumble_stats.rb +38 -0
- data/lib/x_twitter_scraper/models/football_odds.rb +38 -0
- data/lib/x_twitter_scraper/models/football_passing_stats.rb +94 -0
- data/lib/x_twitter_scraper/models/football_period.rb +54 -0
- data/lib/x_twitter_scraper/models/football_play.rb +279 -0
- data/lib/x_twitter_scraper/models/football_play_detail.rb +134 -0
- data/lib/x_twitter_scraper/models/football_player.rb +196 -0
- data/lib/x_twitter_scraper/models/football_player_prop.rb +66 -0
- data/lib/x_twitter_scraper/models/football_player_stats.rb +372 -0
- data/lib/x_twitter_scraper/models/football_plays.rb +81 -0
- data/lib/x_twitter_scraper/models/football_prop_category.rb +46 -0
- data/lib/x_twitter_scraper/models/football_props.rb +66 -0
- data/lib/x_twitter_scraper/models/football_quarter.rb +46 -0
- data/lib/x_twitter_scraper/models/football_return_stats.rb +54 -0
- data/lib/x_twitter_scraper/models/football_roster.rb +65 -0
- data/lib/x_twitter_scraper/models/football_roster_team.rb +30 -0
- data/lib/x_twitter_scraper/models/football_rushing_stats.rb +54 -0
- data/lib/x_twitter_scraper/models/football_schedule.rb +49 -0
- data/lib/x_twitter_scraper/models/football_schedule_game.rb +131 -0
- data/lib/x_twitter_scraper/models/football_schedule_period.rb +22 -0
- data/lib/x_twitter_scraper/models/football_scoreboard.rb +209 -0
- data/lib/x_twitter_scraper/models/football_side.rb +38 -0
- data/lib/x_twitter_scraper/models/football_team_box.rb +38 -0
- data/lib/x_twitter_scraper/models/football_team_score.rb +30 -0
- data/lib/x_twitter_scraper/models/football_team_totals.rb +128 -0
- data/lib/x_twitter_scraper/models/hashflag.rb +89 -0
- data/lib/x_twitter_scraper/models/job.rb +194 -0
- data/lib/x_twitter_scraper/models/job_account.rb +87 -0
- data/lib/x_twitter_scraper/models/job_company.rb +38 -0
- data/lib/x_twitter_scraper/models/job_location.rb +30 -0
- data/lib/x_twitter_scraper/models/job_locations.rb +30 -0
- data/lib/x_twitter_scraper/models/monitor_upsert_by_username_params.rb +44 -0
- data/lib/x_twitter_scraper/models/monitor_upsert_by_username_response.rb +116 -0
- data/lib/x_twitter_scraper/models/monitors/post_create_params.rb +55 -0
- data/lib/x_twitter_scraper/models/monitors/post_delete_params.rb +28 -0
- data/lib/x_twitter_scraper/models/monitors/post_delete_response.rb +37 -0
- data/lib/x_twitter_scraper/models/monitors/post_list_params.rb +38 -0
- data/lib/x_twitter_scraper/models/monitors/post_list_response.rb +44 -0
- data/lib/x_twitter_scraper/models/monitors/post_retrieve_metrics_params.rb +36 -0
- data/lib/x_twitter_scraper/models/monitors/post_retrieve_params.rb +28 -0
- data/lib/x_twitter_scraper/models/monitors/post_update_params.rb +52 -0
- data/lib/x_twitter_scraper/models/news_version.rb +46 -0
- data/lib/x_twitter_scraper/models/paginated_community_notes.rb +37 -0
- data/lib/x_twitter_scraper/models/paginated_jobs.rb +37 -0
- data/lib/x_twitter_scraper/models/paginated_lists.rb +37 -0
- data/lib/x_twitter_scraper/models/paginated_user_ids.rb +38 -0
- data/lib/x_twitter_scraper/models/place.rb +116 -0
- data/lib/x_twitter_scraper/models/place_search_result.rb +124 -0
- data/lib/x_twitter_scraper/models/post_engagement_metrics.rb +62 -0
- data/lib/x_twitter_scraper/models/post_event_type.rb +31 -0
- data/lib/x_twitter_scraper/models/post_metric_point.rb +29 -0
- data/lib/x_twitter_scraper/models/post_metric_reading.rb +29 -0
- data/lib/x_twitter_scraper/models/post_metrics.rb +68 -0
- data/lib/x_twitter_scraper/models/post_monitor.rb +322 -0
- data/lib/x_twitter_scraper/models/post_monitor_metrics.rb +103 -0
- data/lib/x_twitter_scraper/models/profile_translation.rb +64 -0
- data/lib/x_twitter_scraper/models/resolved_link.rb +31 -0
- data/lib/x_twitter_scraper/models/search_suggestion_cashtag.rb +102 -0
- data/lib/x_twitter_scraper/models/search_suggestion_hashtag.rb +46 -0
- data/lib/x_twitter_scraper/models/search_suggestion_topic.rb +46 -0
- data/lib/x_twitter_scraper/models/search_suggestion_user.rb +174 -0
- data/lib/x_twitter_scraper/models/search_suggestions.rb +63 -0
- data/lib/x_twitter_scraper/models/shadowban_report.rb +833 -0
- data/lib/x_twitter_scraper/models/shadowban_verdict.rb +22 -0
- data/lib/x_twitter_scraper/models/space.rb +254 -0
- data/lib/x_twitter_scraper/models/space_participant.rb +116 -0
- data/lib/x_twitter_scraper/models/space_sharing.rb +54 -0
- data/lib/x_twitter_scraper/models/sports_game_audience.rb +195 -0
- data/lib/x_twitter_scraper/models/sports_game_posts.rb +152 -0
- data/lib/x_twitter_scraper/models/sports_team.rb +192 -0
- data/lib/x_twitter_scraper/models/sports_team_game.rb +78 -0
- data/lib/x_twitter_scraper/models/subtitle_track.rb +106 -0
- data/lib/x_twitter_scraper/models/trend_location.rb +77 -0
- data/lib/x_twitter_scraper/models/tweet_embed.rb +71 -0
- data/lib/x_twitter_scraper/models/tweet_entities.rb +56 -0
- data/lib/x_twitter_scraper/models/tweet_hashtag.rb +36 -0
- data/lib/x_twitter_scraper/models/tweet_insights.rb +111 -0
- data/lib/x_twitter_scraper/models/tweet_smart_tag.rb +64 -0
- data/lib/x_twitter_scraper/models/tweet_subtitles.rb +30 -0
- data/lib/x_twitter_scraper/models/tweet_symbol.rb +43 -0
- data/lib/x_twitter_scraper/models/tweet_translation.rb +56 -0
- data/lib/x_twitter_scraper/models/tweet_url_entity.rb +42 -0
- data/lib/x_twitter_scraper/models/tweet_user_mention.rb +42 -0
- data/lib/x_twitter_scraper/models/user_affiliate_label.rb +75 -0
- data/lib/x_twitter_scraper/models/user_auxiliary_label.rb +49 -0
- data/lib/x_twitter_scraper/models/user_highlights_info.rb +28 -0
- data/lib/x_twitter_scraper/models/user_identity_verification.rb +45 -0
- data/lib/x_twitter_scraper/models/user_insights.rb +229 -0
- data/lib/x_twitter_scraper/models/user_live_status.rb +48 -0
- data/lib/x_twitter_scraper/models/webhook_create_telegram_link_params.rb +26 -0
- data/lib/x_twitter_scraper/models/webhook_create_telegram_link_response.rb +29 -0
- data/lib/x_twitter_scraper/models/x/broadcast_retrieve_params.rb +53 -0
- data/lib/x_twitter_scraper/models/x/broadcast_retrieve_response.rb +23 -0
- data/lib/x_twitter_scraper/models/x/communities/media_list_params.rb +414 -0
- data/lib/x_twitter_scraper/models/x/community_find_params.rb +72 -0
- data/lib/x_twitter_scraper/models/x/community_list_popular_params.rb +81 -0
- data/lib/x_twitter_scraper/models/x/community_list_suggested_params.rb +54 -0
- data/lib/x_twitter_scraper/models/x/community_list_suggested_response.rb +39 -0
- data/lib/x_twitter_scraper/models/x/community_list_topics_params.rb +54 -0
- data/lib/x_twitter_scraper/models/x/community_list_topics_response.rb +39 -0
- data/lib/x_twitter_scraper/models/x/community_note_list_contributor_deleted_notes_params.rb +72 -0
- data/lib/x_twitter_scraper/models/x/community_note_list_contributor_notes_params.rb +72 -0
- data/lib/x_twitter_scraper/models/x/community_note_retrieve_contributor_params.rb +53 -0
- data/lib/x_twitter_scraper/models/x/community_note_retrieve_contributor_response.rb +25 -0
- data/lib/x_twitter_scraper/models/x/community_retrieve_analytics_params.rb +54 -0
- data/lib/x_twitter_scraper/models/x/community_search_members_params.rb +209 -0
- data/lib/x_twitter_scraper/models/x/dm_delete_message_params.rb +71 -0
- data/lib/x_twitter_scraper/models/x/job_list_locations_params.rb +62 -0
- data/lib/x_twitter_scraper/models/x/job_retrieve_params.rb +53 -0
- data/lib/x_twitter_scraper/models/x/job_retrieve_response.rb +25 -0
- data/lib/x_twitter_scraper/models/x/job_search_params.rb +127 -0
- data/lib/x_twitter_scraper/models/x/list_retrieve_params.rb +52 -0
- data/lib/x_twitter_scraper/models/x/list_retrieve_response.rb +23 -0
- data/lib/x_twitter_scraper/models/x/list_retrieve_search_params.rb +72 -0
- data/lib/x_twitter_scraper/models/x/space_retrieve_params.rb +52 -0
- data/lib/x_twitter_scraper/models/x/space_retrieve_replay_params.rb +52 -0
- data/lib/x_twitter_scraper/models/x/space_retrieve_replay_response.rb +52 -0
- data/lib/x_twitter_scraper/models/x/space_retrieve_response.rb +23 -0
- data/lib/x_twitter_scraper/models/x/space_search_params.rb +96 -0
- data/lib/x_twitter_scraper/models/x/space_search_response.rb +39 -0
- data/lib/x_twitter_scraper/models/x/sport_list_games_params.rb +91 -0
- data/lib/x_twitter_scraper/models/x/sport_list_posts_params.rb +112 -0
- data/lib/x_twitter_scraper/models/x/sport_retrieve_audience_params.rb +72 -0
- data/lib/x_twitter_scraper/models/x/sport_retrieve_box_score_params.rb +72 -0
- data/lib/x_twitter_scraper/models/x/sport_retrieve_player_props_params.rb +72 -0
- data/lib/x_twitter_scraper/models/x/sport_retrieve_plays_params.rb +72 -0
- data/lib/x_twitter_scraper/models/x/sport_retrieve_roster_params.rb +72 -0
- data/lib/x_twitter_scraper/models/x/sport_retrieve_scoreboard_params.rb +72 -0
- data/lib/x_twitter_scraper/models/x/tweet_check_repost_params.rb +59 -0
- data/lib/x_twitter_scraper/models/x/tweet_check_repost_response.rb +69 -0
- data/lib/x_twitter_scraper/models/x/tweet_embed_params.rb +98 -0
- data/lib/x_twitter_scraper/models/x/tweet_embed_response.rb +23 -0
- data/lib/x_twitter_scraper/models/x/tweet_get_hidden_replies_params.rb +412 -0
- data/lib/x_twitter_scraper/models/x/tweet_get_insights_params.rb +55 -0
- data/lib/x_twitter_scraper/models/x/tweet_get_insights_response.rb +24 -0
- data/lib/x_twitter_scraper/models/x/tweet_get_retweeter_ids_params.rb +51 -0
- data/lib/x_twitter_scraper/models/x/tweet_get_subtitles_params.rb +55 -0
- data/lib/x_twitter_scraper/models/x/tweet_get_subtitles_response.rb +23 -0
- data/lib/x_twitter_scraper/models/x/tweet_list_top_params.rb +124 -0
- data/lib/x_twitter_scraper/models/x/tweet_resolve_links_params.rb +54 -0
- data/lib/x_twitter_scraper/models/x/tweet_resolve_links_response.rb +33 -0
- data/lib/x_twitter_scraper/models/x/tweet_translate_params.rb +64 -0
- data/lib/x_twitter_scraper/models/x/tweet_translate_response.rb +25 -0
- data/lib/x_twitter_scraper/models/x/tweets/bookmark_create_params.rb +66 -0
- data/lib/x_twitter_scraper/models/x/tweets/bookmark_delete_params.rb +66 -0
- data/lib/x_twitter_scraper/models/x/user_retrieve_affiliates_params.rb +217 -0
- data/lib/x_twitter_scraper/models/x/user_retrieve_articles_params.rb +412 -0
- data/lib/x_twitter_scraper/models/x/user_retrieve_batch_response.rb +18 -1
- data/lib/x_twitter_scraper/models/x/user_retrieve_batch_tweets_params.rb +74 -0
- data/lib/x_twitter_scraper/models/x/user_retrieve_follower_audit_params.rb +65 -0
- data/lib/x_twitter_scraper/models/x/user_retrieve_follower_audit_response.rb +24 -0
- data/lib/x_twitter_scraper/models/x/user_retrieve_follower_ids_params.rb +46 -0
- data/lib/x_twitter_scraper/models/x/user_retrieve_following_ids_params.rb +46 -0
- data/lib/x_twitter_scraper/models/x/user_retrieve_highlights_params.rb +412 -0
- data/lib/x_twitter_scraper/models/x/user_retrieve_insights_params.rb +66 -0
- data/lib/x_twitter_scraper/models/x/user_retrieve_insights_response.rb +33 -0
- data/lib/x_twitter_scraper/models/x/user_retrieve_list_memberships_params.rb +71 -0
- data/lib/x_twitter_scraper/models/x/user_retrieve_lists_params.rb +71 -0
- data/lib/x_twitter_scraper/models/x/user_retrieve_live_params.rb +54 -0
- data/lib/x_twitter_scraper/models/x/user_retrieve_shadowban_params.rb +65 -0
- data/lib/x_twitter_scraper/models/x/user_retrieve_similar_params.rb +217 -0
- data/lib/x_twitter_scraper/models/x/user_retrieve_subscriptions_params.rb +217 -0
- data/lib/x_twitter_scraper/models/x/user_translate_bio_params.rb +63 -0
- data/lib/x_twitter_scraper/models/x/user_translate_bio_response.rb +31 -0
- data/lib/x_twitter_scraper/models/x/users/block_create_params.rb +65 -0
- data/lib/x_twitter_scraper/models/x/users/block_delete_params.rb +65 -0
- data/lib/x_twitter_scraper/models/x/users/mute_create_params.rb +65 -0
- data/lib/x_twitter_scraper/models/x/users/mute_delete_params.rb +65 -0
- data/lib/x_twitter_scraper/models/x_autocomplete_search_params.rb +73 -0
- data/lib/x_twitter_scraper/models/x_get_hashflags_params.rb +69 -0
- data/lib/x_twitter_scraper/models/x_get_hashflags_response.rb +44 -0
- data/lib/x_twitter_scraper/models/x_get_news_story_versions_params.rb +51 -0
- data/lib/x_twitter_scraper/models/x_get_news_story_versions_response.rb +36 -0
- data/lib/x_twitter_scraper/models/x_get_trend_locations_params.rb +91 -0
- data/lib/x_twitter_scraper/models/x_get_trend_locations_response.rb +44 -0
- data/lib/x_twitter_scraper/models/x_get_trends_history_params.rb +129 -0
- data/lib/x_twitter_scraper/models/x_get_trends_history_response.rb +161 -0
- data/lib/x_twitter_scraper/models/x_list.rb +118 -0
- data/lib/x_twitter_scraper/models/x_list_banner.rb +152 -0
- data/lib/x_twitter_scraper/models/x_search_places_params.rb +61 -0
- data/lib/x_twitter_scraper/models/x_search_places_response.rb +44 -0
- data/lib/x_twitter_scraper/models.rb +234 -0
- data/lib/x_twitter_scraper/resources/activity.rb +122 -0
- data/lib/x_twitter_scraper/resources/events.rb +42 -0
- data/lib/x_twitter_scraper/resources/extractions.rb +20 -0
- data/lib/x_twitter_scraper/resources/monitors/posts.rb +175 -0
- data/lib/x_twitter_scraper/resources/monitors.rb +35 -0
- data/lib/x_twitter_scraper/resources/webhooks.rb +28 -0
- data/lib/x_twitter_scraper/resources/x/broadcasts.rb +49 -0
- data/lib/x_twitter_scraper/resources/x/communities/media.rb +126 -0
- data/lib/x_twitter_scraper/resources/x/communities.rb +226 -0
- data/lib/x_twitter_scraper/resources/x/community_notes.rb +115 -0
- data/lib/x_twitter_scraper/resources/x/dm.rb +38 -0
- data/lib/x_twitter_scraper/resources/x/jobs.rb +124 -0
- data/lib/x_twitter_scraper/resources/x/lists.rb +62 -0
- data/lib/x_twitter_scraper/resources/x/spaces.rb +114 -0
- data/lib/x_twitter_scraper/resources/x/sports.rb +296 -0
- data/lib/x_twitter_scraper/resources/x/tweets/bookmark.rb +83 -0
- data/lib/x_twitter_scraper/resources/x/tweets.rb +363 -0
- data/lib/x_twitter_scraper/resources/x/users/block.rb +83 -0
- data/lib/x_twitter_scraper/resources/x/users/mute.rb +83 -0
- data/lib/x_twitter_scraper/resources/x/users.rb +743 -0
- data/lib/x_twitter_scraper/resources/x.rb +234 -0
- data/lib/x_twitter_scraper/version.rb +1 -1
- data/lib/x_twitter_scraper.rb +222 -0
- data/rbi/x_twitter_scraper/client.rbi +3 -0
- data/rbi/x_twitter_scraper/internal/stream.rbi +38 -0
- data/rbi/x_twitter_scraper/models/activity_export_params.rbi +236 -0
- data/rbi/x_twitter_scraper/models/activity_list_params.rbi +206 -0
- data/rbi/x_twitter_scraper/models/activity_list_response.rbi +17 -0
- data/rbi/x_twitter_scraper/models/activity_log_row.rbi +150 -0
- data/rbi/x_twitter_scraper/models/activity_record.rbi +1008 -0
- data/rbi/x_twitter_scraper/models/activity_retrieve_params.rbi +49 -0
- data/rbi/x_twitter_scraper/models/audited_follower.rbi +138 -0
- data/rbi/x_twitter_scraper/models/batch_user_tweets.rbi +115 -0
- data/rbi/x_twitter_scraper/models/broadcast.rbi +398 -0
- data/rbi/x_twitter_scraper/models/community.rbi +1492 -0
- data/rbi/x_twitter_scraper/models/community_analytics.rbi +179 -0
- data/rbi/x_twitter_scraper/models/community_analytics_metric.rbi +42 -0
- data/rbi/x_twitter_scraper/models/community_banner.rbi +224 -0
- data/rbi/x_twitter_scraper/models/community_member_preview.rbi +66 -0
- data/rbi/x_twitter_scraper/models/community_note.rbi +407 -0
- data/rbi/x_twitter_scraper/models/community_note_entity.rbi +157 -0
- data/rbi/x_twitter_scraper/models/community_notes_contributor.rbi +114 -0
- data/rbi/x_twitter_scraper/models/community_notes_note_counts.rbi +80 -0
- data/rbi/x_twitter_scraper/models/community_notes_rating_counts.rbi +107 -0
- data/rbi/x_twitter_scraper/models/community_notes_rating_outcome.rbi +65 -0
- data/rbi/x_twitter_scraper/models/community_page.rbi +67 -0
- data/rbi/x_twitter_scraper/models/community_topic.rbi +103 -0
- data/rbi/x_twitter_scraper/models/event_stream_params.rbi +121 -0
- data/rbi/x_twitter_scraper/models/extraction_cancel_params.rbi +49 -0
- data/rbi/x_twitter_scraper/models/extraction_cancel_response.rbi +33 -0
- data/rbi/x_twitter_scraper/models/follower_audit.rbi +565 -0
- data/rbi/x_twitter_scraper/models/follower_class.rbi +37 -0
- data/rbi/x_twitter_scraper/models/follower_value_count.rbi +42 -0
- data/rbi/x_twitter_scraper/models/football_box_score.rbi +152 -0
- data/rbi/x_twitter_scraper/models/football_drive.rbi +155 -0
- data/rbi/x_twitter_scraper/models/football_fumble_stats.rbi +60 -0
- data/rbi/x_twitter_scraper/models/football_odds.rbi +60 -0
- data/rbi/x_twitter_scraper/models/football_passing_stats.rbi +116 -0
- data/rbi/x_twitter_scraper/models/football_period.rbi +76 -0
- data/rbi/x_twitter_scraper/models/football_play.rbi +420 -0
- data/rbi/x_twitter_scraper/models/football_play_detail.rbi +231 -0
- data/rbi/x_twitter_scraper/models/football_player.rbi +276 -0
- data/rbi/x_twitter_scraper/models/football_player_prop.rbi +86 -0
- data/rbi/x_twitter_scraper/models/football_player_stats.rbi +643 -0
- data/rbi/x_twitter_scraper/models/football_plays.rbi +157 -0
- data/rbi/x_twitter_scraper/models/football_prop_category.rbi +75 -0
- data/rbi/x_twitter_scraper/models/football_props.rbi +135 -0
- data/rbi/x_twitter_scraper/models/football_quarter.rbi +75 -0
- data/rbi/x_twitter_scraper/models/football_return_stats.rbi +76 -0
- data/rbi/x_twitter_scraper/models/football_roster.rbi +139 -0
- data/rbi/x_twitter_scraper/models/football_roster_team.rbi +46 -0
- data/rbi/x_twitter_scraper/models/football_rushing_stats.rbi +76 -0
- data/rbi/x_twitter_scraper/models/football_schedule.rbi +117 -0
- data/rbi/x_twitter_scraper/models/football_schedule_game.rbi +215 -0
- data/rbi/x_twitter_scraper/models/football_schedule_period.rbi +34 -0
- data/rbi/x_twitter_scraper/models/football_scoreboard.rbi +343 -0
- data/rbi/x_twitter_scraper/models/football_side.rbi +60 -0
- data/rbi/x_twitter_scraper/models/football_team_box.rbi +77 -0
- data/rbi/x_twitter_scraper/models/football_team_score.rbi +48 -0
- data/rbi/x_twitter_scraper/models/football_team_totals.rbi +252 -0
- data/rbi/x_twitter_scraper/models/hashflag.rbi +144 -0
- data/rbi/x_twitter_scraper/models/job.rbi +276 -0
- data/rbi/x_twitter_scraper/models/job_account.rbi +129 -0
- data/rbi/x_twitter_scraper/models/job_company.rbi +56 -0
- data/rbi/x_twitter_scraper/models/job_location.rbi +40 -0
- data/rbi/x_twitter_scraper/models/job_locations.rbi +59 -0
- data/rbi/x_twitter_scraper/models/monitor_upsert_by_username_params.rbi +83 -0
- data/rbi/x_twitter_scraper/models/monitor_upsert_by_username_response.rbi +195 -0
- data/rbi/x_twitter_scraper/models/monitors/post_create_params.rbi +104 -0
- data/rbi/x_twitter_scraper/models/monitors/post_delete_params.rbi +49 -0
- data/rbi/x_twitter_scraper/models/monitors/post_delete_response.rbi +54 -0
- data/rbi/x_twitter_scraper/models/monitors/post_list_params.rbi +70 -0
- data/rbi/x_twitter_scraper/models/monitors/post_list_response.rbi +74 -0
- data/rbi/x_twitter_scraper/models/monitors/post_retrieve_metrics_params.rbi +63 -0
- data/rbi/x_twitter_scraper/models/monitors/post_retrieve_params.rbi +49 -0
- data/rbi/x_twitter_scraper/models/monitors/post_update_params.rbi +98 -0
- data/rbi/x_twitter_scraper/models/news_version.rbi +63 -0
- data/rbi/x_twitter_scraper/models/paginated_community_notes.rbi +63 -0
- data/rbi/x_twitter_scraper/models/paginated_jobs.rbi +59 -0
- data/rbi/x_twitter_scraper/models/paginated_lists.rbi +61 -0
- data/rbi/x_twitter_scraper/models/paginated_user_ids.rbi +58 -0
- data/rbi/x_twitter_scraper/models/place.rbi +166 -0
- data/rbi/x_twitter_scraper/models/place_search_result.rbi +191 -0
- data/rbi/x_twitter_scraper/models/post_engagement_metrics.rbi +84 -0
- data/rbi/x_twitter_scraper/models/post_event_type.rbi +80 -0
- data/rbi/x_twitter_scraper/models/post_metric_point.rbi +41 -0
- data/rbi/x_twitter_scraper/models/post_metric_reading.rbi +41 -0
- data/rbi/x_twitter_scraper/models/post_metrics.rbi +130 -0
- data/rbi/x_twitter_scraper/models/post_monitor.rbi +573 -0
- data/rbi/x_twitter_scraper/models/post_monitor_metrics.rbi +239 -0
- data/rbi/x_twitter_scraper/models/profile_translation.rbi +92 -0
- data/rbi/x_twitter_scraper/models/resolved_link.rbi +47 -0
- data/rbi/x_twitter_scraper/models/search_suggestion_cashtag.rbi +154 -0
- data/rbi/x_twitter_scraper/models/search_suggestion_hashtag.rbi +77 -0
- data/rbi/x_twitter_scraper/models/search_suggestion_topic.rbi +77 -0
- data/rbi/x_twitter_scraper/models/search_suggestion_user.rbi +278 -0
- data/rbi/x_twitter_scraper/models/search_suggestions.rbi +125 -0
- data/rbi/x_twitter_scraper/models/shadowban_report.rbi +2216 -0
- data/rbi/x_twitter_scraper/models/shadowban_verdict.rbi +36 -0
- data/rbi/x_twitter_scraper/models/space.rbi +375 -0
- data/rbi/x_twitter_scraper/models/space_participant.rbi +173 -0
- data/rbi/x_twitter_scraper/models/space_sharing.rbi +93 -0
- data/rbi/x_twitter_scraper/models/sports_game_audience.rbi +428 -0
- data/rbi/x_twitter_scraper/models/sports_game_posts.rbi +284 -0
- data/rbi/x_twitter_scraper/models/sports_team.rbi +314 -0
- data/rbi/x_twitter_scraper/models/sports_team_game.rbi +110 -0
- data/rbi/x_twitter_scraper/models/subtitle_track.rbi +161 -0
- data/rbi/x_twitter_scraper/models/trend_location.rbi +98 -0
- data/rbi/x_twitter_scraper/models/tweet_embed.rbi +100 -0
- data/rbi/x_twitter_scraper/models/tweet_entities.rbi +122 -0
- data/rbi/x_twitter_scraper/models/tweet_hashtag.rbi +62 -0
- data/rbi/x_twitter_scraper/models/tweet_insights.rbi +139 -0
- data/rbi/x_twitter_scraper/models/tweet_smart_tag.rbi +143 -0
- data/rbi/x_twitter_scraper/models/tweet_subtitles.rbi +59 -0
- data/rbi/x_twitter_scraper/models/tweet_symbol.rbi +74 -0
- data/rbi/x_twitter_scraper/models/tweet_translation.rbi +84 -0
- data/rbi/x_twitter_scraper/models/tweet_url_entity.rbi +67 -0
- data/rbi/x_twitter_scraper/models/tweet_user_mention.rbi +64 -0
- data/rbi/x_twitter_scraper/models/user_affiliate_label.rbi +125 -0
- data/rbi/x_twitter_scraper/models/user_auxiliary_label.rbi +81 -0
- data/rbi/x_twitter_scraper/models/user_highlights_info.rbi +48 -0
- data/rbi/x_twitter_scraper/models/user_identity_verification.rbi +78 -0
- data/rbi/x_twitter_scraper/models/user_insights.rbi +315 -0
- data/rbi/x_twitter_scraper/models/user_live_status.rbi +77 -0
- data/rbi/x_twitter_scraper/models/webhook_create_telegram_link_params.rbi +62 -0
- data/rbi/x_twitter_scraper/models/webhook_create_telegram_link_response.rbi +40 -0
- data/rbi/x_twitter_scraper/models/x/broadcast_retrieve_params.rbi +92 -0
- data/rbi/x_twitter_scraper/models/x/broadcast_retrieve_response.rbi +47 -0
- data/rbi/x_twitter_scraper/models/x/communities/media_list_params.rbi +751 -0
- data/rbi/x_twitter_scraper/models/x/community_find_params.rbi +120 -0
- data/rbi/x_twitter_scraper/models/x/community_list_popular_params.rbi +136 -0
- data/rbi/x_twitter_scraper/models/x/community_list_suggested_params.rbi +97 -0
- data/rbi/x_twitter_scraper/models/x/community_list_suggested_response.rbi +72 -0
- data/rbi/x_twitter_scraper/models/x/community_list_topics_params.rbi +97 -0
- data/rbi/x_twitter_scraper/models/x/community_list_topics_response.rbi +72 -0
- data/rbi/x_twitter_scraper/models/x/community_note_list_contributor_deleted_notes_params.rbi +120 -0
- data/rbi/x_twitter_scraper/models/x/community_note_list_contributor_notes_params.rbi +120 -0
- data/rbi/x_twitter_scraper/models/x/community_note_retrieve_contributor_params.rbi +92 -0
- data/rbi/x_twitter_scraper/models/x/community_note_retrieve_contributor_response.rbi +57 -0
- data/rbi/x_twitter_scraper/models/x/community_retrieve_analytics_params.rbi +94 -0
- data/rbi/x_twitter_scraper/models/x/community_search_members_params.rbi +306 -0
- data/rbi/x_twitter_scraper/models/x/dm_delete_message_params.rbi +109 -0
- data/rbi/x_twitter_scraper/models/x/job_list_locations_params.rbi +105 -0
- data/rbi/x_twitter_scraper/models/x/job_retrieve_params.rbi +92 -0
- data/rbi/x_twitter_scraper/models/x/job_retrieve_response.rbi +47 -0
- data/rbi/x_twitter_scraper/models/x/job_search_params.rbi +200 -0
- data/rbi/x_twitter_scraper/models/x/list_retrieve_params.rbi +90 -0
- data/rbi/x_twitter_scraper/models/x/list_retrieve_response.rbi +43 -0
- data/rbi/x_twitter_scraper/models/x/list_retrieve_search_params.rbi +120 -0
- data/rbi/x_twitter_scraper/models/x/space_retrieve_params.rbi +90 -0
- data/rbi/x_twitter_scraper/models/x/space_retrieve_replay_params.rbi +90 -0
- data/rbi/x_twitter_scraper/models/x/space_retrieve_replay_response.rbi +111 -0
- data/rbi/x_twitter_scraper/models/x/space_retrieve_response.rbi +43 -0
- data/rbi/x_twitter_scraper/models/x/space_search_params.rbi +196 -0
- data/rbi/x_twitter_scraper/models/x/space_search_response.rbi +67 -0
- data/rbi/x_twitter_scraper/models/x/sport_list_games_params.rbi +181 -0
- data/rbi/x_twitter_scraper/models/x/sport_list_posts_params.rbi +242 -0
- data/rbi/x_twitter_scraper/models/x/sport_retrieve_audience_params.rbi +150 -0
- data/rbi/x_twitter_scraper/models/x/sport_retrieve_box_score_params.rbi +150 -0
- data/rbi/x_twitter_scraper/models/x/sport_retrieve_player_props_params.rbi +147 -0
- data/rbi/x_twitter_scraper/models/x/sport_retrieve_plays_params.rbi +150 -0
- data/rbi/x_twitter_scraper/models/x/sport_retrieve_roster_params.rbi +147 -0
- data/rbi/x_twitter_scraper/models/x/sport_retrieve_scoreboard_params.rbi +150 -0
- data/rbi/x_twitter_scraper/models/x/tweet_check_repost_params.rbi +96 -0
- data/rbi/x_twitter_scraper/models/x/tweet_check_repost_response.rbi +90 -0
- data/rbi/x_twitter_scraper/models/x/tweet_embed_params.rbi +185 -0
- data/rbi/x_twitter_scraper/models/x/tweet_embed_response.rbi +43 -0
- data/rbi/x_twitter_scraper/models/x/tweet_get_hidden_replies_params.rbi +749 -0
- data/rbi/x_twitter_scraper/models/x/tweet_get_insights_params.rbi +96 -0
- data/rbi/x_twitter_scraper/models/x/tweet_get_insights_response.rbi +49 -0
- data/rbi/x_twitter_scraper/models/x/tweet_get_retweeter_ids_params.rbi +88 -0
- data/rbi/x_twitter_scraper/models/x/tweet_get_subtitles_params.rbi +96 -0
- data/rbi/x_twitter_scraper/models/x/tweet_get_subtitles_response.rbi +51 -0
- data/rbi/x_twitter_scraper/models/x/tweet_list_top_params.rbi +281 -0
- data/rbi/x_twitter_scraper/models/x/tweet_resolve_links_params.rbi +94 -0
- data/rbi/x_twitter_scraper/models/x/tweet_resolve_links_response.rbi +61 -0
- data/rbi/x_twitter_scraper/models/x/tweet_translate_params.rbi +106 -0
- data/rbi/x_twitter_scraper/models/x/tweet_translate_response.rbi +55 -0
- data/rbi/x_twitter_scraper/models/x/tweets/bookmark_create_params.rbi +105 -0
- data/rbi/x_twitter_scraper/models/x/tweets/bookmark_delete_params.rbi +105 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_affiliates_params.rbi +320 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_articles_params.rbi +749 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_batch_response.rbi +18 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_batch_tweets_params.rbi +127 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_follower_audit_params.rbi +111 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_follower_audit_response.rbi +49 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_follower_ids_params.rbi +78 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_following_ids_params.rbi +78 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_highlights_params.rbi +749 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_insights_params.rbi +113 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_insights_response.rbi +63 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_list_memberships_params.rbi +118 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_lists_params.rbi +118 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_live_params.rbi +94 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_shadowban_params.rbi +111 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_similar_params.rbi +320 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_subscriptions_params.rbi +320 -0
- data/rbi/x_twitter_scraper/models/x/user_translate_bio_params.rbi +104 -0
- data/rbi/x_twitter_scraper/models/x/user_translate_bio_response.rbi +67 -0
- data/rbi/x_twitter_scraper/models/x/users/block_create_params.rbi +103 -0
- data/rbi/x_twitter_scraper/models/x/users/block_delete_params.rbi +103 -0
- data/rbi/x_twitter_scraper/models/x/users/mute_create_params.rbi +103 -0
- data/rbi/x_twitter_scraper/models/x/users/mute_delete_params.rbi +103 -0
- data/rbi/x_twitter_scraper/models/x_autocomplete_search_params.rbi +124 -0
- data/rbi/x_twitter_scraper/models/x_get_hashflags_params.rbi +119 -0
- data/rbi/x_twitter_scraper/models/x_get_hashflags_response.rbi +76 -0
- data/rbi/x_twitter_scraper/models/x_get_news_story_versions_params.rbi +90 -0
- data/rbi/x_twitter_scraper/models/x_get_news_story_versions_response.rbi +65 -0
- data/rbi/x_twitter_scraper/models/x_get_trend_locations_params.rbi +191 -0
- data/rbi/x_twitter_scraper/models/x_get_trend_locations_response.rbi +76 -0
- data/rbi/x_twitter_scraper/models/x_get_trends_history_params.rbi +209 -0
- data/rbi/x_twitter_scraper/models/x_get_trends_history_response.rbi +295 -0
- data/rbi/x_twitter_scraper/models/x_list.rbi +179 -0
- data/rbi/x_twitter_scraper/models/x_list_banner.rbi +291 -0
- data/rbi/x_twitter_scraper/models/x_search_places_params.rbi +105 -0
- data/rbi/x_twitter_scraper/models/x_search_places_response.rbi +76 -0
- data/rbi/x_twitter_scraper/models.rbi +239 -0
- data/rbi/x_twitter_scraper/resources/activity.rbi +114 -0
- data/rbi/x_twitter_scraper/resources/events.rbi +36 -0
- data/rbi/x_twitter_scraper/resources/extractions.rbi +15 -0
- data/rbi/x_twitter_scraper/resources/monitors/posts.rbi +144 -0
- data/rbi/x_twitter_scraper/resources/monitors.rbi +30 -0
- data/rbi/x_twitter_scraper/resources/webhooks.rbi +20 -0
- data/rbi/x_twitter_scraper/resources/x/broadcasts.rbi +51 -0
- data/rbi/x_twitter_scraper/resources/x/communities/media.rbi +178 -0
- data/rbi/x_twitter_scraper/resources/x/communities.rbi +275 -0
- data/rbi/x_twitter_scraper/resources/x/community_notes.rbi +133 -0
- data/rbi/x_twitter_scraper/resources/x/dm.rbi +39 -0
- data/rbi/x_twitter_scraper/resources/x/jobs.rbi +150 -0
- data/rbi/x_twitter_scraper/resources/x/lists.rbi +70 -0
- data/rbi/x_twitter_scraper/resources/x/spaces.rbi +129 -0
- data/rbi/x_twitter_scraper/resources/x/sports.rbi +332 -0
- data/rbi/x_twitter_scraper/resources/x/tweets/bookmark.rbi +93 -0
- data/rbi/x_twitter_scraper/resources/x/tweets.rbi +457 -0
- data/rbi/x_twitter_scraper/resources/x/users/block.rbi +91 -0
- data/rbi/x_twitter_scraper/resources/x/users/mute.rbi +91 -0
- data/rbi/x_twitter_scraper/resources/x/users.rbi +966 -0
- data/rbi/x_twitter_scraper/resources/x.rbi +286 -0
- data/sig/x_twitter_scraper/client.rbs +2 -0
- data/sig/x_twitter_scraper/internal/stream.rbs +21 -0
- data/sig/x_twitter_scraper/models/activity_export_params.rbs +108 -0
- data/sig/x_twitter_scraper/models/activity_list_params.rbs +106 -0
- data/sig/x_twitter_scraper/models/activity_list_response.rbs +12 -0
- data/sig/x_twitter_scraper/models/activity_log_row.rbs +95 -0
- data/sig/x_twitter_scraper/models/activity_record.rbs +448 -0
- data/sig/x_twitter_scraper/models/activity_retrieve_params.rbs +27 -0
- data/sig/x_twitter_scraper/models/audited_follower.rbs +95 -0
- data/sig/x_twitter_scraper/models/batch_user_tweets.rbs +59 -0
- data/sig/x_twitter_scraper/models/broadcast.rbs +245 -0
- data/sig/x_twitter_scraper/models/community.rbs +868 -0
- data/sig/x_twitter_scraper/models/community_analytics.rbs +71 -0
- data/sig/x_twitter_scraper/models/community_analytics_metric.rbs +19 -0
- data/sig/x_twitter_scraper/models/community_banner.rbs +118 -0
- data/sig/x_twitter_scraper/models/community_member_preview.rbs +34 -0
- data/sig/x_twitter_scraper/models/community_note.rbs +231 -0
- data/sig/x_twitter_scraper/models/community_note_entity.rbs +89 -0
- data/sig/x_twitter_scraper/models/community_notes_contributor.rbs +63 -0
- data/sig/x_twitter_scraper/models/community_notes_note_counts.rbs +47 -0
- data/sig/x_twitter_scraper/models/community_notes_rating_counts.rbs +58 -0
- data/sig/x_twitter_scraper/models/community_notes_rating_outcome.rbs +36 -0
- data/sig/x_twitter_scraper/models/community_page.rbs +34 -0
- data/sig/x_twitter_scraper/models/community_topic.rbs +46 -0
- data/sig/x_twitter_scraper/models/event_stream_params.rbs +58 -0
- data/sig/x_twitter_scraper/models/extraction_cancel_params.rbs +27 -0
- data/sig/x_twitter_scraper/models/extraction_cancel_response.rbs +19 -0
- data/sig/x_twitter_scraper/models/follower_audit.rbs +264 -0
- data/sig/x_twitter_scraper/models/follower_class.rbs +22 -0
- data/sig/x_twitter_scraper/models/follower_value_count.rbs +22 -0
- data/sig/x_twitter_scraper/models/football_box_score.rbs +60 -0
- data/sig/x_twitter_scraper/models/football_drive.rbs +84 -0
- data/sig/x_twitter_scraper/models/football_fumble_stats.rbs +34 -0
- data/sig/x_twitter_scraper/models/football_odds.rbs +26 -0
- data/sig/x_twitter_scraper/models/football_passing_stats.rbs +69 -0
- data/sig/x_twitter_scraper/models/football_period.rbs +44 -0
- data/sig/x_twitter_scraper/models/football_play.rbs +203 -0
- data/sig/x_twitter_scraper/models/football_play_detail.rbs +103 -0
- data/sig/x_twitter_scraper/models/football_player.rbs +143 -0
- data/sig/x_twitter_scraper/models/football_player_prop.rbs +49 -0
- data/sig/x_twitter_scraper/models/football_player_stats.rbs +330 -0
- data/sig/x_twitter_scraper/models/football_plays.rbs +65 -0
- data/sig/x_twitter_scraper/models/football_prop_category.rbs +39 -0
- data/sig/x_twitter_scraper/models/football_props.rbs +54 -0
- data/sig/x_twitter_scraper/models/football_quarter.rbs +39 -0
- data/sig/x_twitter_scraper/models/football_return_stats.rbs +44 -0
- data/sig/x_twitter_scraper/models/football_roster.rbs +54 -0
- data/sig/x_twitter_scraper/models/football_roster_team.rbs +19 -0
- data/sig/x_twitter_scraper/models/football_rushing_stats.rbs +44 -0
- data/sig/x_twitter_scraper/models/football_schedule.rbs +45 -0
- data/sig/x_twitter_scraper/models/football_schedule_game.rbs +101 -0
- data/sig/x_twitter_scraper/models/football_schedule_period.rbs +17 -0
- data/sig/x_twitter_scraper/models/football_scoreboard.rbs +152 -0
- data/sig/x_twitter_scraper/models/football_side.rbs +30 -0
- data/sig/x_twitter_scraper/models/football_team_box.rbs +34 -0
- data/sig/x_twitter_scraper/models/football_team_score.rbs +19 -0
- data/sig/x_twitter_scraper/models/football_team_totals.rbs +88 -0
- data/sig/x_twitter_scraper/models/hashflag.rbs +71 -0
- data/sig/x_twitter_scraper/models/job.rbs +173 -0
- data/sig/x_twitter_scraper/models/job_account.rbs +78 -0
- data/sig/x_twitter_scraper/models/job_company.rbs +25 -0
- data/sig/x_twitter_scraper/models/job_location.rbs +19 -0
- data/sig/x_twitter_scraper/models/job_locations.rbs +29 -0
- data/sig/x_twitter_scraper/models/monitor_upsert_by_username_params.rbs +42 -0
- data/sig/x_twitter_scraper/models/monitor_upsert_by_username_response.rbs +95 -0
- data/sig/x_twitter_scraper/models/monitors/post_create_params.rbs +55 -0
- data/sig/x_twitter_scraper/models/monitors/post_delete_params.rbs +29 -0
- data/sig/x_twitter_scraper/models/monitors/post_delete_response.rbs +32 -0
- data/sig/x_twitter_scraper/models/monitors/post_list_params.rbs +38 -0
- data/sig/x_twitter_scraper/models/monitors/post_list_response.rbs +43 -0
- data/sig/x_twitter_scraper/models/monitors/post_retrieve_metrics_params.rbs +36 -0
- data/sig/x_twitter_scraper/models/monitors/post_retrieve_params.rbs +29 -0
- data/sig/x_twitter_scraper/models/monitors/post_update_params.rbs +55 -0
- data/sig/x_twitter_scraper/models/news_version.rbs +34 -0
- data/sig/x_twitter_scraper/models/paginated_community_notes.rbs +34 -0
- data/sig/x_twitter_scraper/models/paginated_jobs.rbs +34 -0
- data/sig/x_twitter_scraper/models/paginated_lists.rbs +34 -0
- data/sig/x_twitter_scraper/models/paginated_user_ids.rbs +30 -0
- data/sig/x_twitter_scraper/models/place.rbs +88 -0
- data/sig/x_twitter_scraper/models/place_search_result.rbs +93 -0
- data/sig/x_twitter_scraper/models/post_engagement_metrics.rbs +49 -0
- data/sig/x_twitter_scraper/models/post_event_type.rbs +36 -0
- data/sig/x_twitter_scraper/models/post_metric_point.rbs +19 -0
- data/sig/x_twitter_scraper/models/post_metric_reading.rbs +19 -0
- data/sig/x_twitter_scraper/models/post_metrics.rbs +49 -0
- data/sig/x_twitter_scraper/models/post_monitor.rbs +270 -0
- data/sig/x_twitter_scraper/models/post_monitor_metrics.rbs +93 -0
- data/sig/x_twitter_scraper/models/profile_translation.rbs +51 -0
- data/sig/x_twitter_scraper/models/resolved_link.rbs +21 -0
- data/sig/x_twitter_scraper/models/search_suggestion_cashtag.rbs +94 -0
- data/sig/x_twitter_scraper/models/search_suggestion_hashtag.rbs +40 -0
- data/sig/x_twitter_scraper/models/search_suggestion_topic.rbs +40 -0
- data/sig/x_twitter_scraper/models/search_suggestion_user.rbs +156 -0
- data/sig/x_twitter_scraper/models/search_suggestions.rbs +49 -0
- data/sig/x_twitter_scraper/models/shadowban_report.rbs +730 -0
- data/sig/x_twitter_scraper/models/shadowban_verdict.rbs +19 -0
- data/sig/x_twitter_scraper/models/space.rbs +220 -0
- data/sig/x_twitter_scraper/models/space_participant.rbs +106 -0
- data/sig/x_twitter_scraper/models/space_sharing.rbs +58 -0
- data/sig/x_twitter_scraper/models/sports_game_audience.rbs +151 -0
- data/sig/x_twitter_scraper/models/sports_game_posts.rbs +131 -0
- data/sig/x_twitter_scraper/models/sports_team.rbs +124 -0
- data/sig/x_twitter_scraper/models/sports_team_game.rbs +59 -0
- data/sig/x_twitter_scraper/models/subtitle_track.rbs +83 -0
- data/sig/x_twitter_scraper/models/support/attachment_download_params.rbs +4 -0
- data/sig/x_twitter_scraper/models/trend_location.rbs +59 -0
- data/sig/x_twitter_scraper/models/tweet_analysis_page.rbs +4 -0
- data/sig/x_twitter_scraper/models/tweet_embed.rbs +58 -0
- data/sig/x_twitter_scraper/models/tweet_entities.rbs +73 -0
- data/sig/x_twitter_scraper/models/tweet_hashtag.rbs +40 -0
- data/sig/x_twitter_scraper/models/tweet_insights.rbs +79 -0
- data/sig/x_twitter_scraper/models/tweet_smart_tag.rbs +74 -0
- data/sig/x_twitter_scraper/models/tweet_subtitles.rbs +29 -0
- data/sig/x_twitter_scraper/models/tweet_symbol.rbs +49 -0
- data/sig/x_twitter_scraper/models/tweet_translation.rbs +46 -0
- data/sig/x_twitter_scraper/models/tweet_url_entity.rbs +47 -0
- data/sig/x_twitter_scraper/models/tweet_user_mention.rbs +45 -0
- data/sig/x_twitter_scraper/models/user_affiliate_label.rbs +77 -0
- data/sig/x_twitter_scraper/models/user_auxiliary_label.rbs +54 -0
- data/sig/x_twitter_scraper/models/user_highlights_info.rbs +27 -0
- data/sig/x_twitter_scraper/models/user_identity_verification.rbs +47 -0
- data/sig/x_twitter_scraper/models/user_insights.rbs +163 -0
- data/sig/x_twitter_scraper/models/user_live_status.rbs +39 -0
- data/sig/x_twitter_scraper/models/webhook_create_telegram_link_params.rbs +32 -0
- data/sig/x_twitter_scraper/models/webhook_create_telegram_link_response.rbs +20 -0
- data/sig/x_twitter_scraper/models/x/account_connection_attempt_retrieve_params.rbs +4 -0
- data/sig/x_twitter_scraper/models/x/account_connection_attempt_retrieve_response.rbs +4 -0
- data/sig/x_twitter_scraper/models/x/broadcast_retrieve_params.rbs +42 -0
- data/sig/x_twitter_scraper/models/x/broadcast_retrieve_response.rbs +20 -0
- data/sig/x_twitter_scraper/models/x/communities/media_list_params.rbs +373 -0
- data/sig/x_twitter_scraper/models/x/community_find_params.rbs +60 -0
- data/sig/x_twitter_scraper/models/x/community_list_popular_params.rbs +69 -0
- data/sig/x_twitter_scraper/models/x/community_list_suggested_params.rbs +44 -0
- data/sig/x_twitter_scraper/models/x/community_list_suggested_response.rbs +38 -0
- data/sig/x_twitter_scraper/models/x/community_list_topics_params.rbs +44 -0
- data/sig/x_twitter_scraper/models/x/community_list_topics_response.rbs +38 -0
- data/sig/x_twitter_scraper/models/x/community_note_list_contributor_deleted_notes_params.rbs +60 -0
- data/sig/x_twitter_scraper/models/x/community_note_list_contributor_notes_params.rbs +60 -0
- data/sig/x_twitter_scraper/models/x/community_note_retrieve_contributor_params.rbs +42 -0
- data/sig/x_twitter_scraper/models/x/community_note_retrieve_contributor_response.rbs +24 -0
- data/sig/x_twitter_scraper/models/x/community_retrieve_analytics_params.rbs +42 -0
- data/sig/x_twitter_scraper/models/x/community_search_members_params.rbs +177 -0
- data/sig/x_twitter_scraper/models/x/dm_delete_message_params.rbs +54 -0
- data/sig/x_twitter_scraper/models/x/job_list_locations_params.rbs +48 -0
- data/sig/x_twitter_scraper/models/x/job_retrieve_params.rbs +42 -0
- data/sig/x_twitter_scraper/models/x/job_retrieve_response.rbs +19 -0
- data/sig/x_twitter_scraper/models/x/job_search_params.rbs +102 -0
- data/sig/x_twitter_scraper/models/x/list_retrieve_followers_response.rbs +4 -0
- data/sig/x_twitter_scraper/models/x/list_retrieve_members_response.rbs +4 -0
- data/sig/x_twitter_scraper/models/x/list_retrieve_params.rbs +42 -0
- data/sig/x_twitter_scraper/models/x/list_retrieve_response.rbs +19 -0
- data/sig/x_twitter_scraper/models/x/list_retrieve_search_params.rbs +60 -0
- data/sig/x_twitter_scraper/models/x/space_retrieve_params.rbs +42 -0
- data/sig/x_twitter_scraper/models/x/space_retrieve_replay_params.rbs +42 -0
- data/sig/x_twitter_scraper/models/x/space_retrieve_replay_response.rbs +48 -0
- data/sig/x_twitter_scraper/models/x/space_retrieve_response.rbs +19 -0
- data/sig/x_twitter_scraper/models/x/space_search_params.rbs +82 -0
- data/sig/x_twitter_scraper/models/x/space_search_response.rbs +36 -0
- data/sig/x_twitter_scraper/models/x/sport_list_games_params.rbs +78 -0
- data/sig/x_twitter_scraper/models/x/sport_list_posts_params.rbs +96 -0
- data/sig/x_twitter_scraper/models/x/sport_retrieve_audience_params.rbs +62 -0
- data/sig/x_twitter_scraper/models/x/sport_retrieve_box_score_params.rbs +62 -0
- data/sig/x_twitter_scraper/models/x/sport_retrieve_player_props_params.rbs +61 -0
- data/sig/x_twitter_scraper/models/x/sport_retrieve_plays_params.rbs +62 -0
- data/sig/x_twitter_scraper/models/x/sport_retrieve_roster_params.rbs +61 -0
- data/sig/x_twitter_scraper/models/x/sport_retrieve_scoreboard_params.rbs +62 -0
- data/sig/x_twitter_scraper/models/x/tweet_analysis_params.rbs +4 -0
- data/sig/x_twitter_scraper/models/x/tweet_check_repost_params.rbs +46 -0
- data/sig/x_twitter_scraper/models/x/tweet_check_repost_response.rbs +56 -0
- data/sig/x_twitter_scraper/models/x/tweet_embed_params.rbs +87 -0
- data/sig/x_twitter_scraper/models/x/tweet_embed_response.rbs +19 -0
- data/sig/x_twitter_scraper/models/x/tweet_get_hidden_replies_params.rbs +371 -0
- data/sig/x_twitter_scraper/models/x/tweet_get_insights_params.rbs +42 -0
- data/sig/x_twitter_scraper/models/x/tweet_get_insights_response.rbs +22 -0
- data/sig/x_twitter_scraper/models/x/tweet_get_replies_response.rbs +4 -0
- data/sig/x_twitter_scraper/models/x/tweet_get_retweeter_ids_params.rbs +42 -0
- data/sig/x_twitter_scraper/models/x/tweet_get_subtitles_params.rbs +42 -0
- data/sig/x_twitter_scraper/models/x/tweet_get_subtitles_response.rbs +22 -0
- data/sig/x_twitter_scraper/models/x/tweet_list_top_params.rbs +115 -0
- data/sig/x_twitter_scraper/models/x/tweet_resolve_links_params.rbs +42 -0
- data/sig/x_twitter_scraper/models/x/tweet_resolve_links_response.rbs +31 -0
- data/sig/x_twitter_scraper/models/x/tweet_search_response.rbs +4 -0
- data/sig/x_twitter_scraper/models/x/tweet_translate_params.rbs +46 -0
- data/sig/x_twitter_scraper/models/x/tweet_translate_response.rbs +24 -0
- data/sig/x_twitter_scraper/models/x/tweets/bookmark_create_params.rbs +51 -0
- data/sig/x_twitter_scraper/models/x/tweets/bookmark_delete_params.rbs +51 -0
- data/sig/x_twitter_scraper/models/x/user_retrieve_affiliates_params.rbs +186 -0
- data/sig/x_twitter_scraper/models/x/user_retrieve_articles_params.rbs +371 -0
- data/sig/x_twitter_scraper/models/x/user_retrieve_batch_response.rbs +10 -0
- data/sig/x_twitter_scraper/models/x/user_retrieve_batch_tweets_params.rbs +62 -0
- data/sig/x_twitter_scraper/models/x/user_retrieve_follower_audit_params.rbs +48 -0
- data/sig/x_twitter_scraper/models/x/user_retrieve_follower_audit_response.rbs +20 -0
- data/sig/x_twitter_scraper/models/x/user_retrieve_follower_ids_params.rbs +42 -0
- data/sig/x_twitter_scraper/models/x/user_retrieve_followers_response.rbs +4 -0
- data/sig/x_twitter_scraper/models/x/user_retrieve_following_ids_params.rbs +42 -0
- data/sig/x_twitter_scraper/models/x/user_retrieve_following_response.rbs +4 -0
- data/sig/x_twitter_scraper/models/x/user_retrieve_highlights_params.rbs +371 -0
- data/sig/x_twitter_scraper/models/x/user_retrieve_insights_params.rbs +48 -0
- data/sig/x_twitter_scraper/models/x/user_retrieve_insights_response.rbs +30 -0
- data/sig/x_twitter_scraper/models/x/user_retrieve_list_memberships_params.rbs +60 -0
- data/sig/x_twitter_scraper/models/x/user_retrieve_lists_params.rbs +60 -0
- data/sig/x_twitter_scraper/models/x/user_retrieve_live_params.rbs +42 -0
- data/sig/x_twitter_scraper/models/x/user_retrieve_shadowban_params.rbs +48 -0
- data/sig/x_twitter_scraper/models/x/user_retrieve_similar_params.rbs +186 -0
- data/sig/x_twitter_scraper/models/x/user_retrieve_subscriptions_params.rbs +186 -0
- data/sig/x_twitter_scraper/models/x/user_retrieve_verified_followers_response.rbs +4 -0
- data/sig/x_twitter_scraper/models/x/user_translate_bio_params.rbs +46 -0
- data/sig/x_twitter_scraper/models/x/user_translate_bio_response.rbs +33 -0
- data/sig/x_twitter_scraper/models/x/users/block_create_params.rbs +51 -0
- data/sig/x_twitter_scraper/models/x/users/block_delete_params.rbs +51 -0
- data/sig/x_twitter_scraper/models/x/users/mute_create_params.rbs +51 -0
- data/sig/x_twitter_scraper/models/x/users/mute_delete_params.rbs +51 -0
- data/sig/x_twitter_scraper/models/x_autocomplete_search_params.rbs +52 -0
- data/sig/x_twitter_scraper/models/x_get_hashflags_params.rbs +60 -0
- data/sig/x_twitter_scraper/models/x_get_hashflags_response.rbs +41 -0
- data/sig/x_twitter_scraper/models/x_get_news_story_versions_params.rbs +40 -0
- data/sig/x_twitter_scraper/models/x_get_news_story_versions_response.rbs +34 -0
- data/sig/x_twitter_scraper/models/x_get_trend_locations_params.rbs +82 -0
- data/sig/x_twitter_scraper/models/x_get_trend_locations_response.rbs +41 -0
- data/sig/x_twitter_scraper/models/x_get_trends_history_params.rbs +102 -0
- data/sig/x_twitter_scraper/models/x_get_trends_history_response.rbs +149 -0
- data/sig/x_twitter_scraper/models/x_list.rbs +112 -0
- data/sig/x_twitter_scraper/models/x_list_banner.rbs +157 -0
- data/sig/x_twitter_scraper/models/x_search_places_params.rbs +46 -0
- data/sig/x_twitter_scraper/models/x_search_places_response.rbs +41 -0
- data/sig/x_twitter_scraper/models.rbs +234 -0
- data/sig/x_twitter_scraper/resources/activity.rbs +38 -0
- data/sig/x_twitter_scraper/resources/events.rbs +7 -0
- data/sig/x_twitter_scraper/resources/extractions.rbs +5 -0
- data/sig/x_twitter_scraper/resources/monitors/posts.rbs +51 -0
- data/sig/x_twitter_scraper/resources/monitors.rbs +9 -0
- data/sig/x_twitter_scraper/resources/support/attachments.rbs +4 -0
- data/sig/x_twitter_scraper/resources/webhooks.rbs +5 -0
- data/sig/x_twitter_scraper/resources/x/account_connection_attempts.rbs +4 -0
- data/sig/x_twitter_scraper/resources/x/analysis.rbs +4 -0
- data/sig/x_twitter_scraper/resources/x/broadcasts.rbs +20 -0
- data/sig/x_twitter_scraper/resources/x/communities/media.rbs +60 -0
- data/sig/x_twitter_scraper/resources/x/communities.rbs +68 -0
- data/sig/x_twitter_scraper/resources/x/community_notes.rbs +38 -0
- data/sig/x_twitter_scraper/resources/x/dm.rbs +9 -0
- data/sig/x_twitter_scraper/resources/x/jobs.rbs +43 -0
- data/sig/x_twitter_scraper/resources/x/lists.rbs +16 -0
- data/sig/x_twitter_scraper/resources/x/spaces.rbs +37 -0
- data/sig/x_twitter_scraper/resources/x/sports.rbs +82 -0
- data/sig/x_twitter_scraper/resources/x/tweets/bookmark.rbs +31 -0
- data/sig/x_twitter_scraper/resources/x/tweets.rbs +114 -0
- data/sig/x_twitter_scraper/resources/x/users/block.rbs +31 -0
- data/sig/x_twitter_scraper/resources/x/users/mute.rbs +31 -0
- data/sig/x_twitter_scraper/resources/x/users.rbs +255 -0
- data/sig/x_twitter_scraper/resources/x.rbs +68 -0
- metadata +668 -2
|
@@ -0,0 +1,833 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: 2026 Xquik contributors
|
|
2
|
+
#
|
|
3
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
|
|
5
|
+
# frozen_string_literal: true
|
|
6
|
+
|
|
7
|
+
module XTwitterScraper
|
|
8
|
+
module Models
|
|
9
|
+
class ShadowbanReport < XTwitterScraper::Internal::Type::BaseModel
|
|
10
|
+
# @!attribute username
|
|
11
|
+
# Username of the account. Null for a suspended account asked for by ID.
|
|
12
|
+
#
|
|
13
|
+
# @return [String, nil]
|
|
14
|
+
required :username, String, nil?: true
|
|
15
|
+
|
|
16
|
+
# @!attribute user_id
|
|
17
|
+
# ID of the account. Null for a suspended account asked for by username.
|
|
18
|
+
#
|
|
19
|
+
# @return [String, nil]
|
|
20
|
+
required :user_id, String, api_name: :userId, nil?: true
|
|
21
|
+
|
|
22
|
+
# @!attribute account
|
|
23
|
+
# Whether the account is active, protected or suspended.
|
|
24
|
+
#
|
|
25
|
+
# @return [Symbol, XTwitterScraper::Models::ShadowbanReport::Account]
|
|
26
|
+
required :account, enum: -> { XTwitterScraper::Models::ShadowbanReport::Account }
|
|
27
|
+
|
|
28
|
+
# @!attribute checked_at
|
|
29
|
+
# When the check ran.
|
|
30
|
+
#
|
|
31
|
+
# @return [Time]
|
|
32
|
+
required :checked_at, Time, api_name: :checkedAt
|
|
33
|
+
|
|
34
|
+
# @!attribute overall
|
|
35
|
+
# `suspended` means X suspended the account. `limited` means at least 1 check
|
|
36
|
+
# failed. `clear` means search & suggestions passed with no fail. `unclear` means
|
|
37
|
+
# neither of those.
|
|
38
|
+
#
|
|
39
|
+
# @return [Symbol, XTwitterScraper::Models::ShadowbanReport::Overall]
|
|
40
|
+
required :overall, enum: -> { XTwitterScraper::Models::ShadowbanReport::Overall }
|
|
41
|
+
|
|
42
|
+
# @!attribute checks
|
|
43
|
+
# The 9 checks, each with a verdict, a reason & evidence.
|
|
44
|
+
#
|
|
45
|
+
# @return [XTwitterScraper::Models::ShadowbanReport::Checks]
|
|
46
|
+
required :checks, -> { XTwitterScraper::Models::ShadowbanReport::Checks }
|
|
47
|
+
|
|
48
|
+
# @!method initialize(username:, user_id:, account:, checked_at:, overall:, checks:)
|
|
49
|
+
# Says whether X limits 1 account in search, search suggestions, reply threads or
|
|
50
|
+
# its timeline. Each check holds a verdict, its reason & the evidence it read.
|
|
51
|
+
# Evidence is null for a check that couldn't read the account.
|
|
52
|
+
#
|
|
53
|
+
# @param username [String, nil] Username of the account. Null for a suspended account asked for by ID.
|
|
54
|
+
#
|
|
55
|
+
# @param user_id [String, nil] ID of the account. Null for a suspended account asked for by username.
|
|
56
|
+
#
|
|
57
|
+
# @param account [Symbol, XTwitterScraper::Models::ShadowbanReport::Account] Whether the account is active, protected or suspended.
|
|
58
|
+
#
|
|
59
|
+
# @param checked_at [Time] When the check ran.
|
|
60
|
+
#
|
|
61
|
+
# @param overall [Symbol, XTwitterScraper::Models::ShadowbanReport::Overall] `suspended` means X suspended the account. `limited` means at least 1 check failed. `clear` means search & suggestions passed with no fail. `unclear` means neither of those.
|
|
62
|
+
#
|
|
63
|
+
# @param checks [XTwitterScraper::Models::ShadowbanReport::Checks] The 9 checks, each with a verdict, a reason & evidence.
|
|
64
|
+
|
|
65
|
+
# Whether the account is active, protected or suspended.
|
|
66
|
+
module Account
|
|
67
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
68
|
+
|
|
69
|
+
ACTIVE = :active
|
|
70
|
+
PROTECTED = :protected
|
|
71
|
+
SUSPENDED = :suspended
|
|
72
|
+
|
|
73
|
+
# @!method self.values
|
|
74
|
+
# @return [Array<Symbol>]
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# `suspended` means X suspended the account. `limited` means at least 1 check
|
|
78
|
+
# failed. `clear` means search & suggestions passed with no fail. `unclear` means
|
|
79
|
+
# neither of those.
|
|
80
|
+
module Overall
|
|
81
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
82
|
+
|
|
83
|
+
CLEAR = :clear
|
|
84
|
+
LIMITED = :limited
|
|
85
|
+
UNCLEAR = :unclear
|
|
86
|
+
SUSPENDED = :suspended
|
|
87
|
+
|
|
88
|
+
# @!method self.values
|
|
89
|
+
# @return [Array<Symbol>]
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
class Checks < XTwitterScraper::Internal::Type::BaseModel
|
|
93
|
+
# @!attribute account
|
|
94
|
+
# Passes an active or protected account & fails a suspended one.
|
|
95
|
+
#
|
|
96
|
+
# @return [XTwitterScraper::Models::ShadowbanReport::Checks::Account]
|
|
97
|
+
required :account, -> { XTwitterScraper::Models::ShadowbanReport::Checks::Account }
|
|
98
|
+
|
|
99
|
+
# @!attribute search
|
|
100
|
+
# Looks for the account's recent posts in X search, sorted by Latest. `listed`
|
|
101
|
+
# passes & `missing` fails.
|
|
102
|
+
#
|
|
103
|
+
# @return [XTwitterScraper::Models::ShadowbanReport::Checks::Search]
|
|
104
|
+
required :search, -> { XTwitterScraper::Models::ShadowbanReport::Checks::Search }
|
|
105
|
+
|
|
106
|
+
# @!attribute suggestion
|
|
107
|
+
# Looks for the account among the accounts X suggests for its username.
|
|
108
|
+
# `suggested` passes & `not_suggested` fails.
|
|
109
|
+
#
|
|
110
|
+
# @return [XTwitterScraper::Models::ShadowbanReport::Checks::Suggestion]
|
|
111
|
+
required :suggestion, -> { XTwitterScraper::Models::ShadowbanReport::Checks::Suggestion }
|
|
112
|
+
|
|
113
|
+
# @!attribute replies
|
|
114
|
+
# Opens the threads of up to 3 recent replies to other accounts. `in_thread`
|
|
115
|
+
# passes. X ranks replies for each viewer, so `more_replies` can't tell.
|
|
116
|
+
#
|
|
117
|
+
# @return [XTwitterScraper::Models::ShadowbanReport::Checks::Replies]
|
|
118
|
+
required :replies, -> { XTwitterScraper::Models::ShadowbanReport::Checks::Replies }
|
|
119
|
+
|
|
120
|
+
# @!attribute reply_lock
|
|
121
|
+
# Reads the same reply threads as `replies`. `replies_show` passes when any
|
|
122
|
+
# checked reply shows. X ranks replies for each viewer, so `replies_missing` can't
|
|
123
|
+
# tell.
|
|
124
|
+
#
|
|
125
|
+
# @return [XTwitterScraper::Models::ShadowbanReport::Checks::ReplyLock]
|
|
126
|
+
required :reply_lock, -> { XTwitterScraper::Models::ShadowbanReport::Checks::ReplyLock }, api_name: :replyLock
|
|
127
|
+
|
|
128
|
+
# @!attribute timeline
|
|
129
|
+
# Looks for the account's posts on its profile timeline. `visible` passes &
|
|
130
|
+
# `hidden` fails.
|
|
131
|
+
#
|
|
132
|
+
# @return [XTwitterScraper::Models::ShadowbanReport::Checks::Timeline]
|
|
133
|
+
required :timeline, -> { XTwitterScraper::Models::ShadowbanReport::Checks::Timeline }
|
|
134
|
+
|
|
135
|
+
# @!attribute engagement
|
|
136
|
+
# Compares the newest 5 of the account's own posts older than 24 hours with its
|
|
137
|
+
# earlier posts, by the median of likes, replies, reposts & quotes. `typical`
|
|
138
|
+
# passes at 25% or more. A drop alone proves nothing, so `low` can't tell.
|
|
139
|
+
#
|
|
140
|
+
# @return [XTwitterScraper::Models::ShadowbanReport::Checks::Engagement]
|
|
141
|
+
required :engagement, -> { XTwitterScraper::Models::ShadowbanReport::Checks::Engagement }
|
|
142
|
+
|
|
143
|
+
# @!attribute sensitive
|
|
144
|
+
# Reads X's sensitive flag on the profile. `not_flagged` passes & `flagged` fails.
|
|
145
|
+
#
|
|
146
|
+
# @return [XTwitterScraper::Models::ShadowbanReport::Checks::Sensitive]
|
|
147
|
+
required :sensitive, -> { XTwitterScraper::Models::ShadowbanReport::Checks::Sensitive }
|
|
148
|
+
|
|
149
|
+
# @!attribute withheld
|
|
150
|
+
# Reads the countries where X withholds the account. `none` passes & `countries`
|
|
151
|
+
# fails.
|
|
152
|
+
#
|
|
153
|
+
# @return [XTwitterScraper::Models::ShadowbanReport::Checks::Withheld]
|
|
154
|
+
required :withheld, -> { XTwitterScraper::Models::ShadowbanReport::Checks::Withheld }
|
|
155
|
+
|
|
156
|
+
# @!method initialize(account:, search:, suggestion:, replies:, reply_lock:, timeline:, engagement:, sensitive:, withheld:)
|
|
157
|
+
# The 9 checks, each with a verdict, a reason & evidence.
|
|
158
|
+
#
|
|
159
|
+
# @param account [XTwitterScraper::Models::ShadowbanReport::Checks::Account] Passes an active or protected account & fails a suspended one.
|
|
160
|
+
#
|
|
161
|
+
# @param search [XTwitterScraper::Models::ShadowbanReport::Checks::Search] Looks for the account's recent posts in X search, sorted by Latest. `listed` passes & `missing` fails.
|
|
162
|
+
#
|
|
163
|
+
# @param suggestion [XTwitterScraper::Models::ShadowbanReport::Checks::Suggestion] Looks for the account among the accounts X suggests for its username. `suggested` passes & `not_suggested` fails.
|
|
164
|
+
#
|
|
165
|
+
# @param replies [XTwitterScraper::Models::ShadowbanReport::Checks::Replies] Opens the threads of up to 3 recent replies to other accounts. `in_thread` passes. X ranks replies for each viewer, so `more_replies` can't tell.
|
|
166
|
+
#
|
|
167
|
+
# @param reply_lock [XTwitterScraper::Models::ShadowbanReport::Checks::ReplyLock] Reads the same reply threads as `replies`. `replies_show` passes when any checked reply shows. X ranks replies for each viewer, so `replies_missing` can't tell.
|
|
168
|
+
#
|
|
169
|
+
# @param timeline [XTwitterScraper::Models::ShadowbanReport::Checks::Timeline] Looks for the account's posts on its profile timeline. `visible` passes & `hidden` fails.
|
|
170
|
+
#
|
|
171
|
+
# @param engagement [XTwitterScraper::Models::ShadowbanReport::Checks::Engagement] Compares the newest 5 of the account's own posts older than 24 hours with its earlier posts, by the median of likes, replies, reposts & quotes. `typical` passes at 25% or more. A drop alone proves nothing, so `low` can't tell.
|
|
172
|
+
#
|
|
173
|
+
# @param sensitive [XTwitterScraper::Models::ShadowbanReport::Checks::Sensitive] Reads X's sensitive flag on the profile. `not_flagged` passes & `flagged` fails.
|
|
174
|
+
#
|
|
175
|
+
# @param withheld [XTwitterScraper::Models::ShadowbanReport::Checks::Withheld] Reads the countries where X withholds the account. `none` passes & `countries` fails.
|
|
176
|
+
|
|
177
|
+
class Account < XTwitterScraper::Internal::Type::BaseModel
|
|
178
|
+
# @!attribute verdict
|
|
179
|
+
# Pass means X shows the account there, and fail means it doesn't. Unknown means
|
|
180
|
+
# the check had nothing to test or X didn't answer.
|
|
181
|
+
#
|
|
182
|
+
# @return [Symbol, XTwitterScraper::Models::ShadowbanVerdict]
|
|
183
|
+
required :verdict, enum: -> { XTwitterScraper::Models::ShadowbanVerdict }
|
|
184
|
+
|
|
185
|
+
# @!attribute reason
|
|
186
|
+
# State of the account on X.
|
|
187
|
+
#
|
|
188
|
+
# @return [Symbol, XTwitterScraper::Models::ShadowbanReport::Checks::Account::Reason]
|
|
189
|
+
required :reason, enum: -> { XTwitterScraper::Models::ShadowbanReport::Checks::Account::Reason }
|
|
190
|
+
|
|
191
|
+
# @!attribute evidence
|
|
192
|
+
# Where to see the account on X.
|
|
193
|
+
#
|
|
194
|
+
# @return [XTwitterScraper::Models::ShadowbanReport::Checks::Account::Evidence]
|
|
195
|
+
required :evidence, -> { XTwitterScraper::Models::ShadowbanReport::Checks::Account::Evidence }
|
|
196
|
+
|
|
197
|
+
# @!method initialize(verdict:, reason:, evidence:)
|
|
198
|
+
# Passes an active or protected account & fails a suspended one.
|
|
199
|
+
#
|
|
200
|
+
# @param verdict [Symbol, XTwitterScraper::Models::ShadowbanVerdict] Pass means X shows the account there, and fail means it doesn't. Unknown means the check had nothing to test or X didn't answer.
|
|
201
|
+
#
|
|
202
|
+
# @param reason [Symbol, XTwitterScraper::Models::ShadowbanReport::Checks::Account::Reason] State of the account on X.
|
|
203
|
+
#
|
|
204
|
+
# @param evidence [XTwitterScraper::Models::ShadowbanReport::Checks::Account::Evidence] Where to see the account on X.
|
|
205
|
+
|
|
206
|
+
# State of the account on X.
|
|
207
|
+
module Reason
|
|
208
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
209
|
+
|
|
210
|
+
ACTIVE = :active
|
|
211
|
+
PROTECTED = :protected
|
|
212
|
+
SUSPENDED = :suspended
|
|
213
|
+
|
|
214
|
+
# @!method self.values
|
|
215
|
+
# @return [Array<Symbol>]
|
|
216
|
+
end
|
|
217
|
+
|
|
218
|
+
class Evidence < XTwitterScraper::Internal::Type::BaseModel
|
|
219
|
+
# @!attribute profile_url
|
|
220
|
+
# Profile of the account on X.
|
|
221
|
+
#
|
|
222
|
+
# @return [String]
|
|
223
|
+
required :profile_url, String, api_name: :profileUrl
|
|
224
|
+
|
|
225
|
+
# @!method initialize(profile_url:)
|
|
226
|
+
# Where to see the account on X.
|
|
227
|
+
#
|
|
228
|
+
# @param profile_url [String] Profile of the account on X.
|
|
229
|
+
end
|
|
230
|
+
end
|
|
231
|
+
|
|
232
|
+
class Search < XTwitterScraper::Internal::Type::BaseModel
|
|
233
|
+
# @!attribute verdict
|
|
234
|
+
# Pass means X shows the account there, and fail means it doesn't. Unknown means
|
|
235
|
+
# the check had nothing to test or X didn't answer.
|
|
236
|
+
#
|
|
237
|
+
# @return [Symbol, XTwitterScraper::Models::ShadowbanVerdict]
|
|
238
|
+
required :verdict, enum: -> { XTwitterScraper::Models::ShadowbanVerdict }
|
|
239
|
+
|
|
240
|
+
# @!attribute reason
|
|
241
|
+
# `listed` means search shows its posts & `missing` means it shows none.
|
|
242
|
+
# `no_recent_posts` means the account has no recent post to look for.
|
|
243
|
+
#
|
|
244
|
+
# @return [Symbol, XTwitterScraper::Models::ShadowbanReport::Checks::Search::Reason]
|
|
245
|
+
required :reason, enum: -> { XTwitterScraper::Models::ShadowbanReport::Checks::Search::Reason }
|
|
246
|
+
|
|
247
|
+
# @!attribute evidence
|
|
248
|
+
# The search & the posts it looked for.
|
|
249
|
+
#
|
|
250
|
+
# @return [XTwitterScraper::Models::ShadowbanReport::Checks::Search::Evidence, nil]
|
|
251
|
+
required :evidence, -> { XTwitterScraper::Models::ShadowbanReport::Checks::Search::Evidence }, nil?: true
|
|
252
|
+
|
|
253
|
+
# @!method initialize(verdict:, reason:, evidence:)
|
|
254
|
+
# Looks for the account's recent posts in X search, sorted by Latest. `listed`
|
|
255
|
+
# passes & `missing` fails.
|
|
256
|
+
#
|
|
257
|
+
# @param verdict [Symbol, XTwitterScraper::Models::ShadowbanVerdict] Pass means X shows the account there, and fail means it doesn't. Unknown means the check had nothing to test or X didn't answer.
|
|
258
|
+
#
|
|
259
|
+
# @param reason [Symbol, XTwitterScraper::Models::ShadowbanReport::Checks::Search::Reason] `listed` means search shows its posts & `missing` means it shows none. `no_recent_posts` means the account has no recent post to look for.
|
|
260
|
+
#
|
|
261
|
+
# @param evidence [XTwitterScraper::Models::ShadowbanReport::Checks::Search::Evidence, nil] The search & the posts it looked for.
|
|
262
|
+
|
|
263
|
+
# `listed` means search shows its posts & `missing` means it shows none.
|
|
264
|
+
# `no_recent_posts` means the account has no recent post to look for.
|
|
265
|
+
module Reason
|
|
266
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
267
|
+
|
|
268
|
+
LISTED = :listed
|
|
269
|
+
MISSING = :missing
|
|
270
|
+
NO_RECENT_POSTS = :no_recent_posts
|
|
271
|
+
UNAVAILABLE = :unavailable
|
|
272
|
+
PROTECTED = :protected
|
|
273
|
+
SUSPENDED = :suspended
|
|
274
|
+
|
|
275
|
+
# @!method self.values
|
|
276
|
+
# @return [Array<Symbol>]
|
|
277
|
+
end
|
|
278
|
+
|
|
279
|
+
class Evidence < XTwitterScraper::Internal::Type::BaseModel
|
|
280
|
+
# @!attribute query
|
|
281
|
+
# The search it ran.
|
|
282
|
+
#
|
|
283
|
+
# @return [String]
|
|
284
|
+
required :query, String
|
|
285
|
+
|
|
286
|
+
# @!attribute search_url
|
|
287
|
+
# The same search on X, sorted by Latest.
|
|
288
|
+
#
|
|
289
|
+
# @return [String]
|
|
290
|
+
required :search_url, String, api_name: :searchUrl
|
|
291
|
+
|
|
292
|
+
# @!attribute recent_post_ids
|
|
293
|
+
# Up to 5 recent posts of the account.
|
|
294
|
+
#
|
|
295
|
+
# @return [Array<String>]
|
|
296
|
+
required :recent_post_ids,
|
|
297
|
+
XTwitterScraper::Internal::Type::ArrayOf[String],
|
|
298
|
+
api_name: :recentPostIds
|
|
299
|
+
|
|
300
|
+
# @!attribute found_post_ids
|
|
301
|
+
# Up to 5 posts of the account that search showed.
|
|
302
|
+
#
|
|
303
|
+
# @return [Array<String>]
|
|
304
|
+
required :found_post_ids,
|
|
305
|
+
XTwitterScraper::Internal::Type::ArrayOf[String],
|
|
306
|
+
api_name: :foundPostIds
|
|
307
|
+
|
|
308
|
+
# @!method initialize(query:, search_url:, recent_post_ids:, found_post_ids:)
|
|
309
|
+
# The search & the posts it looked for.
|
|
310
|
+
#
|
|
311
|
+
# @param query [String] The search it ran.
|
|
312
|
+
#
|
|
313
|
+
# @param search_url [String] The same search on X, sorted by Latest.
|
|
314
|
+
#
|
|
315
|
+
# @param recent_post_ids [Array<String>] Up to 5 recent posts of the account.
|
|
316
|
+
#
|
|
317
|
+
# @param found_post_ids [Array<String>] Up to 5 posts of the account that search showed.
|
|
318
|
+
end
|
|
319
|
+
end
|
|
320
|
+
|
|
321
|
+
class Suggestion < XTwitterScraper::Internal::Type::BaseModel
|
|
322
|
+
# @!attribute verdict
|
|
323
|
+
# Pass means X shows the account there, and fail means it doesn't. Unknown means
|
|
324
|
+
# the check had nothing to test or X didn't answer.
|
|
325
|
+
#
|
|
326
|
+
# @return [Symbol, XTwitterScraper::Models::ShadowbanVerdict]
|
|
327
|
+
required :verdict, enum: -> { XTwitterScraper::Models::ShadowbanVerdict }
|
|
328
|
+
|
|
329
|
+
# @!attribute reason
|
|
330
|
+
# `suggested` means X suggests the account for its username.
|
|
331
|
+
#
|
|
332
|
+
# @return [Symbol, XTwitterScraper::Models::ShadowbanReport::Checks::Suggestion::Reason]
|
|
333
|
+
required :reason, enum: -> { XTwitterScraper::Models::ShadowbanReport::Checks::Suggestion::Reason }
|
|
334
|
+
|
|
335
|
+
# @!attribute evidence
|
|
336
|
+
# The username searched & the accounts X suggested.
|
|
337
|
+
#
|
|
338
|
+
# @return [XTwitterScraper::Models::ShadowbanReport::Checks::Suggestion::Evidence, nil]
|
|
339
|
+
required :evidence, -> { XTwitterScraper::Models::ShadowbanReport::Checks::Suggestion::Evidence }, nil?: true
|
|
340
|
+
|
|
341
|
+
# @!method initialize(verdict:, reason:, evidence:)
|
|
342
|
+
# Looks for the account among the accounts X suggests for its username.
|
|
343
|
+
# `suggested` passes & `not_suggested` fails.
|
|
344
|
+
#
|
|
345
|
+
# @param verdict [Symbol, XTwitterScraper::Models::ShadowbanVerdict] Pass means X shows the account there, and fail means it doesn't. Unknown means the check had nothing to test or X didn't answer.
|
|
346
|
+
#
|
|
347
|
+
# @param reason [Symbol, XTwitterScraper::Models::ShadowbanReport::Checks::Suggestion::Reason] `suggested` means X suggests the account for its username.
|
|
348
|
+
#
|
|
349
|
+
# @param evidence [XTwitterScraper::Models::ShadowbanReport::Checks::Suggestion::Evidence, nil] The username searched & the accounts X suggested.
|
|
350
|
+
|
|
351
|
+
# `suggested` means X suggests the account for its username.
|
|
352
|
+
module Reason
|
|
353
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
354
|
+
|
|
355
|
+
SUGGESTED = :suggested
|
|
356
|
+
NOT_SUGGESTED = :not_suggested
|
|
357
|
+
UNAVAILABLE = :unavailable
|
|
358
|
+
SUSPENDED = :suspended
|
|
359
|
+
|
|
360
|
+
# @!method self.values
|
|
361
|
+
# @return [Array<Symbol>]
|
|
362
|
+
end
|
|
363
|
+
|
|
364
|
+
class Evidence < XTwitterScraper::Internal::Type::BaseModel
|
|
365
|
+
# @!attribute query
|
|
366
|
+
# The username it typed.
|
|
367
|
+
#
|
|
368
|
+
# @return [String]
|
|
369
|
+
required :query, String
|
|
370
|
+
|
|
371
|
+
# @!attribute suggested_usernames
|
|
372
|
+
# Up to 10 accounts X suggested, in its order.
|
|
373
|
+
#
|
|
374
|
+
# @return [Array<String>]
|
|
375
|
+
required :suggested_usernames,
|
|
376
|
+
XTwitterScraper::Internal::Type::ArrayOf[String],
|
|
377
|
+
api_name: :suggestedUsernames
|
|
378
|
+
|
|
379
|
+
# @!method initialize(query:, suggested_usernames:)
|
|
380
|
+
# The username searched & the accounts X suggested.
|
|
381
|
+
#
|
|
382
|
+
# @param query [String] The username it typed.
|
|
383
|
+
#
|
|
384
|
+
# @param suggested_usernames [Array<String>] Up to 10 accounts X suggested, in its order.
|
|
385
|
+
end
|
|
386
|
+
end
|
|
387
|
+
|
|
388
|
+
class Replies < XTwitterScraper::Internal::Type::BaseModel
|
|
389
|
+
# @!attribute verdict
|
|
390
|
+
# Pass means X shows the account there, and fail means it doesn't. Unknown means
|
|
391
|
+
# the check had nothing to test or X didn't answer.
|
|
392
|
+
#
|
|
393
|
+
# @return [Symbol, XTwitterScraper::Models::ShadowbanVerdict]
|
|
394
|
+
required :verdict, enum: -> { XTwitterScraper::Models::ShadowbanVerdict }
|
|
395
|
+
|
|
396
|
+
# @!attribute reason
|
|
397
|
+
# `more_replies` means X put a reply behind its hidden replies prompt. `not_found`
|
|
398
|
+
# means no reply showed on the pages the check read.
|
|
399
|
+
#
|
|
400
|
+
# @return [Symbol, XTwitterScraper::Models::ShadowbanReport::Checks::Replies::Reason]
|
|
401
|
+
required :reason, enum: -> { XTwitterScraper::Models::ShadowbanReport::Checks::Replies::Reason }
|
|
402
|
+
|
|
403
|
+
# @!attribute evidence
|
|
404
|
+
# Each reply it opened & where it showed.
|
|
405
|
+
#
|
|
406
|
+
# @return [XTwitterScraper::Models::ShadowbanReport::Checks::Replies::Evidence, nil]
|
|
407
|
+
required :evidence, -> { XTwitterScraper::Models::ShadowbanReport::Checks::Replies::Evidence }, nil?: true
|
|
408
|
+
|
|
409
|
+
# @!method initialize(verdict:, reason:, evidence:)
|
|
410
|
+
# Opens the threads of up to 3 recent replies to other accounts. `in_thread`
|
|
411
|
+
# passes. X ranks replies for each viewer, so `more_replies` can't tell.
|
|
412
|
+
#
|
|
413
|
+
# @param verdict [Symbol, XTwitterScraper::Models::ShadowbanVerdict] Pass means X shows the account there, and fail means it doesn't. Unknown means the check had nothing to test or X didn't answer.
|
|
414
|
+
#
|
|
415
|
+
# @param reason [Symbol, XTwitterScraper::Models::ShadowbanReport::Checks::Replies::Reason] `more_replies` means X put a reply behind its hidden replies prompt. `not_found` means no reply showed on the pages the check read.
|
|
416
|
+
#
|
|
417
|
+
# @param evidence [XTwitterScraper::Models::ShadowbanReport::Checks::Replies::Evidence, nil] Each reply it opened & where it showed.
|
|
418
|
+
|
|
419
|
+
# `more_replies` means X put a reply behind its hidden replies prompt. `not_found`
|
|
420
|
+
# means no reply showed on the pages the check read.
|
|
421
|
+
module Reason
|
|
422
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
423
|
+
|
|
424
|
+
IN_THREAD = :in_thread
|
|
425
|
+
MORE_REPLIES = :more_replies
|
|
426
|
+
NO_RECENT_REPLIES = :no_recent_replies
|
|
427
|
+
NOT_FOUND = :not_found
|
|
428
|
+
UNAVAILABLE = :unavailable
|
|
429
|
+
PROTECTED = :protected
|
|
430
|
+
SUSPENDED = :suspended
|
|
431
|
+
|
|
432
|
+
# @!method self.values
|
|
433
|
+
# @return [Array<Symbol>]
|
|
434
|
+
end
|
|
435
|
+
|
|
436
|
+
class Evidence < XTwitterScraper::Internal::Type::BaseModel
|
|
437
|
+
# @!attribute replies
|
|
438
|
+
# Up to 3 replies, newest first.
|
|
439
|
+
#
|
|
440
|
+
# @return [Array<XTwitterScraper::Models::ShadowbanReport::Checks::Replies::Evidence::Reply>]
|
|
441
|
+
required :replies, -> { XTwitterScraper::Internal::Type::ArrayOf[XTwitterScraper::Models::ShadowbanReport::Checks::Replies::Evidence::Reply] }
|
|
442
|
+
|
|
443
|
+
# @!method initialize(replies:)
|
|
444
|
+
# Each reply it opened & where it showed.
|
|
445
|
+
#
|
|
446
|
+
# @param replies [Array<XTwitterScraper::Models::ShadowbanReport::Checks::Replies::Evidence::Reply>] Up to 3 replies, newest first.
|
|
447
|
+
|
|
448
|
+
class Reply < XTwitterScraper::Internal::Type::BaseModel
|
|
449
|
+
# @!attribute reply_id
|
|
450
|
+
# ID of the reply.
|
|
451
|
+
#
|
|
452
|
+
# @return [String]
|
|
453
|
+
required :reply_id, String, api_name: :replyId
|
|
454
|
+
|
|
455
|
+
# @!attribute reply_url
|
|
456
|
+
# The reply on X.
|
|
457
|
+
#
|
|
458
|
+
# @return [String]
|
|
459
|
+
required :reply_url, String, api_name: :replyUrl
|
|
460
|
+
|
|
461
|
+
# @!attribute parent_id
|
|
462
|
+
# ID of the post it replies to.
|
|
463
|
+
#
|
|
464
|
+
# @return [String]
|
|
465
|
+
required :parent_id, String, api_name: :parentId
|
|
466
|
+
|
|
467
|
+
# @!attribute parent_url
|
|
468
|
+
# The thread of that post on X.
|
|
469
|
+
#
|
|
470
|
+
# @return [String]
|
|
471
|
+
required :parent_url, String, api_name: :parentUrl
|
|
472
|
+
|
|
473
|
+
# @!attribute placement
|
|
474
|
+
# `thread` means the reply shows in the thread. `more_replies` means it shows only
|
|
475
|
+
# behind X's hidden replies prompt.
|
|
476
|
+
#
|
|
477
|
+
# @return [Symbol, XTwitterScraper::Models::ShadowbanReport::Checks::Replies::Evidence::Reply::Placement]
|
|
478
|
+
required :placement, enum: -> { XTwitterScraper::Models::ShadowbanReport::Checks::Replies::Evidence::Reply::Placement }
|
|
479
|
+
|
|
480
|
+
# @!method initialize(reply_id:, reply_url:, parent_id:, parent_url:, placement:)
|
|
481
|
+
# @param reply_id [String] ID of the reply.
|
|
482
|
+
#
|
|
483
|
+
# @param reply_url [String] The reply on X.
|
|
484
|
+
#
|
|
485
|
+
# @param parent_id [String] ID of the post it replies to.
|
|
486
|
+
#
|
|
487
|
+
# @param parent_url [String] The thread of that post on X.
|
|
488
|
+
#
|
|
489
|
+
# @param placement [Symbol, XTwitterScraper::Models::ShadowbanReport::Checks::Replies::Evidence::Reply::Placement] `thread` means the reply shows in the thread. `more_replies` means it shows only behind X's hidden replies prompt.
|
|
490
|
+
|
|
491
|
+
# `thread` means the reply shows in the thread. `more_replies` means it shows only
|
|
492
|
+
# behind X's hidden replies prompt.
|
|
493
|
+
module Placement
|
|
494
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
495
|
+
|
|
496
|
+
THREAD = :thread
|
|
497
|
+
MORE_REPLIES = :more_replies
|
|
498
|
+
NOT_FOUND = :not_found
|
|
499
|
+
|
|
500
|
+
# @!method self.values
|
|
501
|
+
# @return [Array<Symbol>]
|
|
502
|
+
end
|
|
503
|
+
end
|
|
504
|
+
end
|
|
505
|
+
end
|
|
506
|
+
|
|
507
|
+
class ReplyLock < XTwitterScraper::Internal::Type::BaseModel
|
|
508
|
+
# @!attribute verdict
|
|
509
|
+
# Pass means X shows the account there, and fail means it doesn't. Unknown means
|
|
510
|
+
# the check had nothing to test or X didn't answer.
|
|
511
|
+
#
|
|
512
|
+
# @return [Symbol, XTwitterScraper::Models::ShadowbanVerdict]
|
|
513
|
+
required :verdict, enum: -> { XTwitterScraper::Models::ShadowbanVerdict }
|
|
514
|
+
|
|
515
|
+
# @!attribute reason
|
|
516
|
+
# `replies_show` means X showed at least 1 checked reply. `replies_missing` means
|
|
517
|
+
# it showed none on the pages read.
|
|
518
|
+
#
|
|
519
|
+
# @return [Symbol, XTwitterScraper::Models::ShadowbanReport::Checks::ReplyLock::Reason]
|
|
520
|
+
required :reason, enum: -> { XTwitterScraper::Models::ShadowbanReport::Checks::ReplyLock::Reason }
|
|
521
|
+
|
|
522
|
+
# @!attribute evidence
|
|
523
|
+
# How many replies it opened & how many showed.
|
|
524
|
+
#
|
|
525
|
+
# @return [XTwitterScraper::Models::ShadowbanReport::Checks::ReplyLock::Evidence, nil]
|
|
526
|
+
required :evidence, -> { XTwitterScraper::Models::ShadowbanReport::Checks::ReplyLock::Evidence }, nil?: true
|
|
527
|
+
|
|
528
|
+
# @!method initialize(verdict:, reason:, evidence:)
|
|
529
|
+
# Reads the same reply threads as `replies`. `replies_show` passes when any
|
|
530
|
+
# checked reply shows. X ranks replies for each viewer, so `replies_missing` can't
|
|
531
|
+
# tell.
|
|
532
|
+
#
|
|
533
|
+
# @param verdict [Symbol, XTwitterScraper::Models::ShadowbanVerdict] Pass means X shows the account there, and fail means it doesn't. Unknown means the check had nothing to test or X didn't answer.
|
|
534
|
+
#
|
|
535
|
+
# @param reason [Symbol, XTwitterScraper::Models::ShadowbanReport::Checks::ReplyLock::Reason] `replies_show` means X showed at least 1 checked reply. `replies_missing` means it showed none on the pages read.
|
|
536
|
+
#
|
|
537
|
+
# @param evidence [XTwitterScraper::Models::ShadowbanReport::Checks::ReplyLock::Evidence, nil] How many replies it opened & how many showed.
|
|
538
|
+
|
|
539
|
+
# `replies_show` means X showed at least 1 checked reply. `replies_missing` means
|
|
540
|
+
# it showed none on the pages read.
|
|
541
|
+
module Reason
|
|
542
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
543
|
+
|
|
544
|
+
REPLIES_SHOW = :replies_show
|
|
545
|
+
REPLIES_MISSING = :replies_missing
|
|
546
|
+
NO_RECENT_REPLIES = :no_recent_replies
|
|
547
|
+
UNAVAILABLE = :unavailable
|
|
548
|
+
PROTECTED = :protected
|
|
549
|
+
SUSPENDED = :suspended
|
|
550
|
+
|
|
551
|
+
# @!method self.values
|
|
552
|
+
# @return [Array<Symbol>]
|
|
553
|
+
end
|
|
554
|
+
|
|
555
|
+
class Evidence < XTwitterScraper::Internal::Type::BaseModel
|
|
556
|
+
# @!attribute checked_replies
|
|
557
|
+
# Replies it looked for, up to 3.
|
|
558
|
+
#
|
|
559
|
+
# @return [Integer]
|
|
560
|
+
required :checked_replies, Integer, api_name: :checkedReplies
|
|
561
|
+
|
|
562
|
+
# @!attribute shown_replies
|
|
563
|
+
# Replies that showed in their thread.
|
|
564
|
+
#
|
|
565
|
+
# @return [Integer]
|
|
566
|
+
required :shown_replies, Integer, api_name: :shownReplies
|
|
567
|
+
|
|
568
|
+
# @!method initialize(checked_replies:, shown_replies:)
|
|
569
|
+
# How many replies it opened & how many showed.
|
|
570
|
+
#
|
|
571
|
+
# @param checked_replies [Integer] Replies it looked for, up to 3.
|
|
572
|
+
#
|
|
573
|
+
# @param shown_replies [Integer] Replies that showed in their thread.
|
|
574
|
+
end
|
|
575
|
+
end
|
|
576
|
+
|
|
577
|
+
class Timeline < XTwitterScraper::Internal::Type::BaseModel
|
|
578
|
+
# @!attribute verdict
|
|
579
|
+
# Pass means X shows the account there, and fail means it doesn't. Unknown means
|
|
580
|
+
# the check had nothing to test or X didn't answer.
|
|
581
|
+
#
|
|
582
|
+
# @return [Symbol, XTwitterScraper::Models::ShadowbanVerdict]
|
|
583
|
+
required :verdict, enum: -> { XTwitterScraper::Models::ShadowbanVerdict }
|
|
584
|
+
|
|
585
|
+
# @!attribute reason
|
|
586
|
+
# `visible` means the timeline shows posts. `hidden` means X counts posts but
|
|
587
|
+
# shows none. `no_posts` means the account has none to show.
|
|
588
|
+
#
|
|
589
|
+
# @return [Symbol, XTwitterScraper::Models::ShadowbanReport::Checks::Timeline::Reason]
|
|
590
|
+
required :reason, enum: -> { XTwitterScraper::Models::ShadowbanReport::Checks::Timeline::Reason }
|
|
591
|
+
|
|
592
|
+
# @!attribute evidence
|
|
593
|
+
# The post count on the profile & the posts read.
|
|
594
|
+
#
|
|
595
|
+
# @return [XTwitterScraper::Models::ShadowbanReport::Checks::Timeline::Evidence, nil]
|
|
596
|
+
required :evidence, -> { XTwitterScraper::Models::ShadowbanReport::Checks::Timeline::Evidence }, nil?: true
|
|
597
|
+
|
|
598
|
+
# @!method initialize(verdict:, reason:, evidence:)
|
|
599
|
+
# Looks for the account's posts on its profile timeline. `visible` passes &
|
|
600
|
+
# `hidden` fails.
|
|
601
|
+
#
|
|
602
|
+
# @param verdict [Symbol, XTwitterScraper::Models::ShadowbanVerdict] Pass means X shows the account there, and fail means it doesn't. Unknown means the check had nothing to test or X didn't answer.
|
|
603
|
+
#
|
|
604
|
+
# @param reason [Symbol, XTwitterScraper::Models::ShadowbanReport::Checks::Timeline::Reason] `visible` means the timeline shows posts. `hidden` means X counts posts but shows none. `no_posts` means the account has none to show.
|
|
605
|
+
#
|
|
606
|
+
# @param evidence [XTwitterScraper::Models::ShadowbanReport::Checks::Timeline::Evidence, nil] The post count on the profile & the posts read.
|
|
607
|
+
|
|
608
|
+
# `visible` means the timeline shows posts. `hidden` means X counts posts but
|
|
609
|
+
# shows none. `no_posts` means the account has none to show.
|
|
610
|
+
module Reason
|
|
611
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
612
|
+
|
|
613
|
+
VISIBLE = :visible
|
|
614
|
+
HIDDEN = :hidden
|
|
615
|
+
NO_POSTS = :no_posts
|
|
616
|
+
UNAVAILABLE = :unavailable
|
|
617
|
+
PROTECTED = :protected
|
|
618
|
+
SUSPENDED = :suspended
|
|
619
|
+
|
|
620
|
+
# @!method self.values
|
|
621
|
+
# @return [Array<Symbol>]
|
|
622
|
+
end
|
|
623
|
+
|
|
624
|
+
class Evidence < XTwitterScraper::Internal::Type::BaseModel
|
|
625
|
+
# @!attribute post_count
|
|
626
|
+
# Posts X counts on the profile.
|
|
627
|
+
#
|
|
628
|
+
# @return [Integer, nil]
|
|
629
|
+
required :post_count, Integer, api_name: :postCount, nil?: true
|
|
630
|
+
|
|
631
|
+
# @!attribute timeline_posts
|
|
632
|
+
# Posts the timeline read returned, up to 20.
|
|
633
|
+
#
|
|
634
|
+
# @return [Integer]
|
|
635
|
+
required :timeline_posts, Integer, api_name: :timelinePosts
|
|
636
|
+
|
|
637
|
+
# @!method initialize(post_count:, timeline_posts:)
|
|
638
|
+
# The post count on the profile & the posts read.
|
|
639
|
+
#
|
|
640
|
+
# @param post_count [Integer, nil] Posts X counts on the profile.
|
|
641
|
+
#
|
|
642
|
+
# @param timeline_posts [Integer] Posts the timeline read returned, up to 20.
|
|
643
|
+
end
|
|
644
|
+
end
|
|
645
|
+
|
|
646
|
+
class Engagement < XTwitterScraper::Internal::Type::BaseModel
|
|
647
|
+
# @!attribute verdict
|
|
648
|
+
# Pass means X shows the account there, and fail means it doesn't. Unknown means
|
|
649
|
+
# the check had nothing to test or X didn't answer.
|
|
650
|
+
#
|
|
651
|
+
# @return [Symbol, XTwitterScraper::Models::ShadowbanVerdict]
|
|
652
|
+
required :verdict, enum: -> { XTwitterScraper::Models::ShadowbanVerdict }
|
|
653
|
+
|
|
654
|
+
# @!attribute reason
|
|
655
|
+
# `too_few_posts` means fewer than 8 posts to compare, or earlier posts with no
|
|
656
|
+
# engagement.
|
|
657
|
+
#
|
|
658
|
+
# @return [Symbol, XTwitterScraper::Models::ShadowbanReport::Checks::Engagement::Reason]
|
|
659
|
+
required :reason, enum: -> { XTwitterScraper::Models::ShadowbanReport::Checks::Engagement::Reason }
|
|
660
|
+
|
|
661
|
+
# @!attribute evidence
|
|
662
|
+
# The 2 medians & how many posts each one covers.
|
|
663
|
+
#
|
|
664
|
+
# @return [XTwitterScraper::Models::ShadowbanReport::Checks::Engagement::Evidence, nil]
|
|
665
|
+
required :evidence, -> { XTwitterScraper::Models::ShadowbanReport::Checks::Engagement::Evidence }, nil?: true
|
|
666
|
+
|
|
667
|
+
# @!method initialize(verdict:, reason:, evidence:)
|
|
668
|
+
# Compares the newest 5 of the account's own posts older than 24 hours with its
|
|
669
|
+
# earlier posts, by the median of likes, replies, reposts & quotes. `typical`
|
|
670
|
+
# passes at 25% or more. A drop alone proves nothing, so `low` can't tell.
|
|
671
|
+
#
|
|
672
|
+
# @param verdict [Symbol, XTwitterScraper::Models::ShadowbanVerdict] Pass means X shows the account there, and fail means it doesn't. Unknown means the check had nothing to test or X didn't answer.
|
|
673
|
+
#
|
|
674
|
+
# @param reason [Symbol, XTwitterScraper::Models::ShadowbanReport::Checks::Engagement::Reason] `too_few_posts` means fewer than 8 posts to compare, or earlier posts with no engagement.
|
|
675
|
+
#
|
|
676
|
+
# @param evidence [XTwitterScraper::Models::ShadowbanReport::Checks::Engagement::Evidence, nil] The 2 medians & how many posts each one covers.
|
|
677
|
+
|
|
678
|
+
# `too_few_posts` means fewer than 8 posts to compare, or earlier posts with no
|
|
679
|
+
# engagement.
|
|
680
|
+
module Reason
|
|
681
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
682
|
+
|
|
683
|
+
TYPICAL = :typical
|
|
684
|
+
LOW = :low
|
|
685
|
+
TOO_FEW_POSTS = :too_few_posts
|
|
686
|
+
UNAVAILABLE = :unavailable
|
|
687
|
+
PROTECTED = :protected
|
|
688
|
+
SUSPENDED = :suspended
|
|
689
|
+
|
|
690
|
+
# @!method self.values
|
|
691
|
+
# @return [Array<Symbol>]
|
|
692
|
+
end
|
|
693
|
+
|
|
694
|
+
class Evidence < XTwitterScraper::Internal::Type::BaseModel
|
|
695
|
+
# @!attribute newest_median
|
|
696
|
+
# Median engagement of the newest posts.
|
|
697
|
+
#
|
|
698
|
+
# @return [Float]
|
|
699
|
+
required :newest_median, Float, api_name: :newestMedian
|
|
700
|
+
|
|
701
|
+
# @!attribute newest_posts
|
|
702
|
+
# Posts in the newest group, up to 5.
|
|
703
|
+
#
|
|
704
|
+
# @return [Integer]
|
|
705
|
+
required :newest_posts, Integer, api_name: :newestPosts
|
|
706
|
+
|
|
707
|
+
# @!attribute earlier_median
|
|
708
|
+
# Median engagement of the earlier posts.
|
|
709
|
+
#
|
|
710
|
+
# @return [Float]
|
|
711
|
+
required :earlier_median, Float, api_name: :earlierMedian
|
|
712
|
+
|
|
713
|
+
# @!attribute earlier_posts
|
|
714
|
+
# Posts in the earlier group.
|
|
715
|
+
#
|
|
716
|
+
# @return [Integer]
|
|
717
|
+
required :earlier_posts, Integer, api_name: :earlierPosts
|
|
718
|
+
|
|
719
|
+
# @!method initialize(newest_median:, newest_posts:, earlier_median:, earlier_posts:)
|
|
720
|
+
# The 2 medians & how many posts each one covers.
|
|
721
|
+
#
|
|
722
|
+
# @param newest_median [Float] Median engagement of the newest posts.
|
|
723
|
+
#
|
|
724
|
+
# @param newest_posts [Integer] Posts in the newest group, up to 5.
|
|
725
|
+
#
|
|
726
|
+
# @param earlier_median [Float] Median engagement of the earlier posts.
|
|
727
|
+
#
|
|
728
|
+
# @param earlier_posts [Integer] Posts in the earlier group.
|
|
729
|
+
end
|
|
730
|
+
end
|
|
731
|
+
|
|
732
|
+
class Sensitive < XTwitterScraper::Internal::Type::BaseModel
|
|
733
|
+
# @!attribute verdict
|
|
734
|
+
# Pass means X shows the account there, and fail means it doesn't. Unknown means
|
|
735
|
+
# the check had nothing to test or X didn't answer.
|
|
736
|
+
#
|
|
737
|
+
# @return [Symbol, XTwitterScraper::Models::ShadowbanVerdict]
|
|
738
|
+
required :verdict, enum: -> { XTwitterScraper::Models::ShadowbanVerdict }
|
|
739
|
+
|
|
740
|
+
# @!attribute reason
|
|
741
|
+
# `unknown` means X left the flag out of the profile.
|
|
742
|
+
#
|
|
743
|
+
# @return [Symbol, XTwitterScraper::Models::ShadowbanReport::Checks::Sensitive::Reason]
|
|
744
|
+
required :reason, enum: -> { XTwitterScraper::Models::ShadowbanReport::Checks::Sensitive::Reason }
|
|
745
|
+
|
|
746
|
+
# @!attribute evidence
|
|
747
|
+
# Always null, since the reason holds the answer.
|
|
748
|
+
#
|
|
749
|
+
# @return [Object, nil]
|
|
750
|
+
required :evidence, XTwitterScraper::Internal::Type::Unknown, nil?: true
|
|
751
|
+
|
|
752
|
+
# @!method initialize(verdict:, reason:, evidence:)
|
|
753
|
+
# Reads X's sensitive flag on the profile. `not_flagged` passes & `flagged` fails.
|
|
754
|
+
#
|
|
755
|
+
# @param verdict [Symbol, XTwitterScraper::Models::ShadowbanVerdict] Pass means X shows the account there, and fail means it doesn't. Unknown means the check had nothing to test or X didn't answer.
|
|
756
|
+
#
|
|
757
|
+
# @param reason [Symbol, XTwitterScraper::Models::ShadowbanReport::Checks::Sensitive::Reason] `unknown` means X left the flag out of the profile.
|
|
758
|
+
#
|
|
759
|
+
# @param evidence [Object, nil] Always null, since the reason holds the answer.
|
|
760
|
+
|
|
761
|
+
# `unknown` means X left the flag out of the profile.
|
|
762
|
+
module Reason
|
|
763
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
764
|
+
|
|
765
|
+
NOT_FLAGGED = :not_flagged
|
|
766
|
+
FLAGGED = :flagged
|
|
767
|
+
UNKNOWN = :unknown
|
|
768
|
+
SUSPENDED = :suspended
|
|
769
|
+
|
|
770
|
+
# @!method self.values
|
|
771
|
+
# @return [Array<Symbol>]
|
|
772
|
+
end
|
|
773
|
+
end
|
|
774
|
+
|
|
775
|
+
class Withheld < XTwitterScraper::Internal::Type::BaseModel
|
|
776
|
+
# @!attribute verdict
|
|
777
|
+
# Pass means X shows the account there, and fail means it doesn't. Unknown means
|
|
778
|
+
# the check had nothing to test or X didn't answer.
|
|
779
|
+
#
|
|
780
|
+
# @return [Symbol, XTwitterScraper::Models::ShadowbanVerdict]
|
|
781
|
+
required :verdict, enum: -> { XTwitterScraper::Models::ShadowbanVerdict }
|
|
782
|
+
|
|
783
|
+
# @!attribute reason
|
|
784
|
+
# `countries` means X lists at least 1 country.
|
|
785
|
+
#
|
|
786
|
+
# @return [Symbol, XTwitterScraper::Models::ShadowbanReport::Checks::Withheld::Reason]
|
|
787
|
+
required :reason, enum: -> { XTwitterScraper::Models::ShadowbanReport::Checks::Withheld::Reason }
|
|
788
|
+
|
|
789
|
+
# @!attribute evidence
|
|
790
|
+
# The countries X lists.
|
|
791
|
+
#
|
|
792
|
+
# @return [XTwitterScraper::Models::ShadowbanReport::Checks::Withheld::Evidence, nil]
|
|
793
|
+
required :evidence, -> { XTwitterScraper::Models::ShadowbanReport::Checks::Withheld::Evidence }, nil?: true
|
|
794
|
+
|
|
795
|
+
# @!method initialize(verdict:, reason:, evidence:)
|
|
796
|
+
# Reads the countries where X withholds the account. `none` passes & `countries`
|
|
797
|
+
# fails.
|
|
798
|
+
#
|
|
799
|
+
# @param verdict [Symbol, XTwitterScraper::Models::ShadowbanVerdict] Pass means X shows the account there, and fail means it doesn't. Unknown means the check had nothing to test or X didn't answer.
|
|
800
|
+
#
|
|
801
|
+
# @param reason [Symbol, XTwitterScraper::Models::ShadowbanReport::Checks::Withheld::Reason] `countries` means X lists at least 1 country.
|
|
802
|
+
#
|
|
803
|
+
# @param evidence [XTwitterScraper::Models::ShadowbanReport::Checks::Withheld::Evidence, nil] The countries X lists.
|
|
804
|
+
|
|
805
|
+
# `countries` means X lists at least 1 country.
|
|
806
|
+
module Reason
|
|
807
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
808
|
+
|
|
809
|
+
NONE = :none
|
|
810
|
+
COUNTRIES = :countries
|
|
811
|
+
SUSPENDED = :suspended
|
|
812
|
+
|
|
813
|
+
# @!method self.values
|
|
814
|
+
# @return [Array<Symbol>]
|
|
815
|
+
end
|
|
816
|
+
|
|
817
|
+
class Evidence < XTwitterScraper::Internal::Type::BaseModel
|
|
818
|
+
# @!attribute countries
|
|
819
|
+
# Country codes as X gives them.
|
|
820
|
+
#
|
|
821
|
+
# @return [Array<String>]
|
|
822
|
+
required :countries, XTwitterScraper::Internal::Type::ArrayOf[String]
|
|
823
|
+
|
|
824
|
+
# @!method initialize(countries:)
|
|
825
|
+
# The countries X lists.
|
|
826
|
+
#
|
|
827
|
+
# @param countries [Array<String>] Country codes as X gives them.
|
|
828
|
+
end
|
|
829
|
+
end
|
|
830
|
+
end
|
|
831
|
+
end
|
|
832
|
+
end
|
|
833
|
+
end
|