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,89 @@
|
|
|
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 CommunityAnalytics < XTwitterScraper::Internal::Type::BaseModel
|
|
10
|
+
# @!attribute id
|
|
11
|
+
# The community ID from your request.
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :id, String
|
|
15
|
+
|
|
16
|
+
# @!attribute period_ends_at
|
|
17
|
+
# The end of X's latest period, in UTC.
|
|
18
|
+
#
|
|
19
|
+
# @return [Time]
|
|
20
|
+
required :period_ends_at, Time, api_name: :periodEndsAt
|
|
21
|
+
|
|
22
|
+
# @!attribute metrics
|
|
23
|
+
# The period's activity, each metric with its count and changePercent. likes
|
|
24
|
+
# counts likes on community posts and newMembers the accounts that joined. posts
|
|
25
|
+
# counts the community posts and replies the replies to them. uniquePosters counts
|
|
26
|
+
# the distinct accounts that posted.
|
|
27
|
+
#
|
|
28
|
+
# @return [XTwitterScraper::Models::CommunityAnalytics::Metrics]
|
|
29
|
+
required :metrics, -> { XTwitterScraper::Models::CommunityAnalytics::Metrics }
|
|
30
|
+
|
|
31
|
+
# @!method initialize(id:, period_ends_at:, metrics:)
|
|
32
|
+
# Community activity & growth for X's latest period.
|
|
33
|
+
#
|
|
34
|
+
# @param id [String] The community ID from your request.
|
|
35
|
+
#
|
|
36
|
+
# @param period_ends_at [Time] The end of X's latest period, in UTC.
|
|
37
|
+
#
|
|
38
|
+
# @param metrics [XTwitterScraper::Models::CommunityAnalytics::Metrics] The period's activity, each metric with its count and changePercent. likes counts likes on community posts and newMembers the accounts that joined. posts counts the community posts and replies the replies to them. uniquePosters counts the distinct accounts that posted.
|
|
39
|
+
|
|
40
|
+
class Metrics < XTwitterScraper::Internal::Type::BaseModel
|
|
41
|
+
# @!attribute likes
|
|
42
|
+
# A community metric for X's latest period & its percent change.
|
|
43
|
+
#
|
|
44
|
+
# @return [XTwitterScraper::Models::CommunityAnalyticsMetric]
|
|
45
|
+
required :likes, -> { XTwitterScraper::Models::CommunityAnalyticsMetric }
|
|
46
|
+
|
|
47
|
+
# @!attribute new_members
|
|
48
|
+
# A community metric for X's latest period & its percent change.
|
|
49
|
+
#
|
|
50
|
+
# @return [XTwitterScraper::Models::CommunityAnalyticsMetric]
|
|
51
|
+
required :new_members, -> { XTwitterScraper::Models::CommunityAnalyticsMetric }, api_name: :newMembers
|
|
52
|
+
|
|
53
|
+
# @!attribute posts
|
|
54
|
+
# A community metric for X's latest period & its percent change.
|
|
55
|
+
#
|
|
56
|
+
# @return [XTwitterScraper::Models::CommunityAnalyticsMetric]
|
|
57
|
+
required :posts, -> { XTwitterScraper::Models::CommunityAnalyticsMetric }
|
|
58
|
+
|
|
59
|
+
# @!attribute replies
|
|
60
|
+
# A community metric for X's latest period & its percent change.
|
|
61
|
+
#
|
|
62
|
+
# @return [XTwitterScraper::Models::CommunityAnalyticsMetric]
|
|
63
|
+
required :replies, -> { XTwitterScraper::Models::CommunityAnalyticsMetric }
|
|
64
|
+
|
|
65
|
+
# @!attribute unique_posters
|
|
66
|
+
# A community metric for X's latest period & its percent change.
|
|
67
|
+
#
|
|
68
|
+
# @return [XTwitterScraper::Models::CommunityAnalyticsMetric]
|
|
69
|
+
required :unique_posters, -> { XTwitterScraper::Models::CommunityAnalyticsMetric }, api_name: :uniquePosters
|
|
70
|
+
|
|
71
|
+
# @!method initialize(likes:, new_members:, posts:, replies:, unique_posters:)
|
|
72
|
+
# The period's activity, each metric with its count and changePercent. likes
|
|
73
|
+
# counts likes on community posts and newMembers the accounts that joined. posts
|
|
74
|
+
# counts the community posts and replies the replies to them. uniquePosters counts
|
|
75
|
+
# the distinct accounts that posted.
|
|
76
|
+
#
|
|
77
|
+
# @param likes [XTwitterScraper::Models::CommunityAnalyticsMetric] A community metric for X's latest period & its percent change.
|
|
78
|
+
#
|
|
79
|
+
# @param new_members [XTwitterScraper::Models::CommunityAnalyticsMetric] A community metric for X's latest period & its percent change.
|
|
80
|
+
#
|
|
81
|
+
# @param posts [XTwitterScraper::Models::CommunityAnalyticsMetric] A community metric for X's latest period & its percent change.
|
|
82
|
+
#
|
|
83
|
+
# @param replies [XTwitterScraper::Models::CommunityAnalyticsMetric] A community metric for X's latest period & its percent change.
|
|
84
|
+
#
|
|
85
|
+
# @param unique_posters [XTwitterScraper::Models::CommunityAnalyticsMetric] A community metric for X's latest period & its percent change.
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
end
|
|
@@ -0,0 +1,30 @@
|
|
|
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 CommunityAnalyticsMetric < XTwitterScraper::Internal::Type::BaseModel
|
|
10
|
+
# @!attribute count
|
|
11
|
+
# Total for this metric during X's latest period.
|
|
12
|
+
#
|
|
13
|
+
# @return [Integer]
|
|
14
|
+
required :count, Integer
|
|
15
|
+
|
|
16
|
+
# @!attribute change_percent
|
|
17
|
+
# Change in percent from the same figure 1 day earlier. Values stay unrounded.
|
|
18
|
+
#
|
|
19
|
+
# @return [Float]
|
|
20
|
+
required :change_percent, Float, api_name: :changePercent
|
|
21
|
+
|
|
22
|
+
# @!method initialize(count:, change_percent:)
|
|
23
|
+
# A community metric for X's latest period & its percent change.
|
|
24
|
+
#
|
|
25
|
+
# @param count [Integer] Total for this metric during X's latest period.
|
|
26
|
+
#
|
|
27
|
+
# @param change_percent [Float] Change in percent from the same figure 1 day earlier. Values stay unrounded.
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -0,0 +1,126 @@
|
|
|
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 CommunityBanner < XTwitterScraper::Internal::Type::BaseModel
|
|
10
|
+
# @!attribute url
|
|
11
|
+
# Banner image URL at its original size
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :url, String
|
|
15
|
+
|
|
16
|
+
# @!attribute width
|
|
17
|
+
# Banner width in pixels
|
|
18
|
+
#
|
|
19
|
+
# @return [Integer, nil]
|
|
20
|
+
optional :width, Integer
|
|
21
|
+
|
|
22
|
+
# @!attribute height
|
|
23
|
+
# Banner height in pixels
|
|
24
|
+
#
|
|
25
|
+
# @return [Integer, nil]
|
|
26
|
+
optional :height, Integer
|
|
27
|
+
|
|
28
|
+
# @!attribute colors
|
|
29
|
+
# Main colors of the banner, largest share first
|
|
30
|
+
#
|
|
31
|
+
# @return [Array<XTwitterScraper::Models::CommunityBanner::Color>, nil]
|
|
32
|
+
optional :colors, -> { XTwitterScraper::Internal::Type::ArrayOf[XTwitterScraper::Models::CommunityBanner::Color] }
|
|
33
|
+
|
|
34
|
+
# @!attribute focus
|
|
35
|
+
# Area X keeps in view when it crops the banner, in pixels from the top left
|
|
36
|
+
#
|
|
37
|
+
# @return [XTwitterScraper::Models::CommunityBanner::Focus, nil]
|
|
38
|
+
optional :focus, -> { XTwitterScraper::Models::CommunityBanner::Focus }
|
|
39
|
+
|
|
40
|
+
# @!method initialize(url:, width: nil, height: nil, colors: nil, focus: nil)
|
|
41
|
+
# The banner X shows for a community, with its size & colors.
|
|
42
|
+
#
|
|
43
|
+
# @param url [String] Banner image URL at its original size
|
|
44
|
+
#
|
|
45
|
+
# @param width [Integer] Banner width in pixels
|
|
46
|
+
#
|
|
47
|
+
# @param height [Integer] Banner height in pixels
|
|
48
|
+
#
|
|
49
|
+
# @param colors [Array<XTwitterScraper::Models::CommunityBanner::Color>] Main colors of the banner, largest share first
|
|
50
|
+
#
|
|
51
|
+
# @param focus [XTwitterScraper::Models::CommunityBanner::Focus] Area X keeps in view when it crops the banner, in pixels from the top left
|
|
52
|
+
|
|
53
|
+
class Color < XTwitterScraper::Internal::Type::BaseModel
|
|
54
|
+
# @!attribute percentage
|
|
55
|
+
# Share of the banner in this color
|
|
56
|
+
#
|
|
57
|
+
# @return [Float]
|
|
58
|
+
required :percentage, Float
|
|
59
|
+
|
|
60
|
+
# @!attribute red
|
|
61
|
+
# Red value of the color
|
|
62
|
+
#
|
|
63
|
+
# @return [Integer]
|
|
64
|
+
required :red, Integer
|
|
65
|
+
|
|
66
|
+
# @!attribute green
|
|
67
|
+
# Green value of the color
|
|
68
|
+
#
|
|
69
|
+
# @return [Integer]
|
|
70
|
+
required :green, Integer
|
|
71
|
+
|
|
72
|
+
# @!attribute blue
|
|
73
|
+
# Blue value of the color
|
|
74
|
+
#
|
|
75
|
+
# @return [Integer]
|
|
76
|
+
required :blue, Integer
|
|
77
|
+
|
|
78
|
+
# @!method initialize(percentage:, red:, green:, blue:)
|
|
79
|
+
# @param percentage [Float] Share of the banner in this color
|
|
80
|
+
#
|
|
81
|
+
# @param red [Integer] Red value of the color
|
|
82
|
+
#
|
|
83
|
+
# @param green [Integer] Green value of the color
|
|
84
|
+
#
|
|
85
|
+
# @param blue [Integer] Blue value of the color
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
class Focus < XTwitterScraper::Internal::Type::BaseModel
|
|
89
|
+
# @!attribute left
|
|
90
|
+
# Distance from the left edge
|
|
91
|
+
#
|
|
92
|
+
# @return [Integer, nil]
|
|
93
|
+
optional :left, Integer
|
|
94
|
+
|
|
95
|
+
# @!attribute top
|
|
96
|
+
# Distance from the top edge
|
|
97
|
+
#
|
|
98
|
+
# @return [Integer, nil]
|
|
99
|
+
optional :top, Integer
|
|
100
|
+
|
|
101
|
+
# @!attribute width
|
|
102
|
+
# Width of the area
|
|
103
|
+
#
|
|
104
|
+
# @return [Integer, nil]
|
|
105
|
+
optional :width, Integer
|
|
106
|
+
|
|
107
|
+
# @!attribute height
|
|
108
|
+
# Height of the area
|
|
109
|
+
#
|
|
110
|
+
# @return [Integer, nil]
|
|
111
|
+
optional :height, Integer
|
|
112
|
+
|
|
113
|
+
# @!method initialize(left: nil, top: nil, width: nil, height: nil)
|
|
114
|
+
# Area X keeps in view when it crops the banner, in pixels from the top left
|
|
115
|
+
#
|
|
116
|
+
# @param left [Integer] Distance from the left edge
|
|
117
|
+
#
|
|
118
|
+
# @param top [Integer] Distance from the top edge
|
|
119
|
+
#
|
|
120
|
+
# @param width [Integer] Width of the area
|
|
121
|
+
#
|
|
122
|
+
# @param height [Integer] Height of the area
|
|
123
|
+
end
|
|
124
|
+
end
|
|
125
|
+
end
|
|
126
|
+
end
|
|
@@ -0,0 +1,38 @@
|
|
|
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 CommunityMemberPreview < XTwitterScraper::Internal::Type::BaseModel
|
|
10
|
+
# @!attribute id
|
|
11
|
+
# Numeric X user ID of the member
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :id, String
|
|
15
|
+
|
|
16
|
+
# @!attribute profile_picture
|
|
17
|
+
# Profile picture URL of the member
|
|
18
|
+
#
|
|
19
|
+
# @return [String, nil]
|
|
20
|
+
optional :profile_picture, String, api_name: :profilePicture
|
|
21
|
+
|
|
22
|
+
# @!attribute profile_picture_original
|
|
23
|
+
# The member's profile picture at full size
|
|
24
|
+
#
|
|
25
|
+
# @return [String, nil]
|
|
26
|
+
optional :profile_picture_original, String, api_name: :profilePictureOriginal
|
|
27
|
+
|
|
28
|
+
# @!method initialize(id:, profile_picture: nil, profile_picture_original: nil)
|
|
29
|
+
# A member X previews by ID & profile picture only.
|
|
30
|
+
#
|
|
31
|
+
# @param id [String] Numeric X user ID of the member
|
|
32
|
+
#
|
|
33
|
+
# @param profile_picture [String] Profile picture URL of the member
|
|
34
|
+
#
|
|
35
|
+
# @param profile_picture_original [String] The member's profile picture at full size
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
@@ -0,0 +1,257 @@
|
|
|
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 CommunityNote < XTwitterScraper::Internal::Type::BaseModel
|
|
10
|
+
# @!attribute id
|
|
11
|
+
# Note ID.
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :id, String
|
|
15
|
+
|
|
16
|
+
# @!attribute created_at
|
|
17
|
+
# When the contributor wrote the note.
|
|
18
|
+
#
|
|
19
|
+
# @return [Time, nil]
|
|
20
|
+
optional :created_at, Time, api_name: :createdAt
|
|
21
|
+
|
|
22
|
+
# @!attribute language
|
|
23
|
+
# Language code of the note.
|
|
24
|
+
#
|
|
25
|
+
# @return [String, nil]
|
|
26
|
+
optional :language, String
|
|
27
|
+
|
|
28
|
+
# @!attribute classification
|
|
29
|
+
# What the writer says of the post, such as MisinformedOrPotentiallyMisleading or
|
|
30
|
+
# NotMisleading.
|
|
31
|
+
#
|
|
32
|
+
# @return [String, nil]
|
|
33
|
+
optional :classification, String
|
|
34
|
+
|
|
35
|
+
# @!attribute text
|
|
36
|
+
# What the note says.
|
|
37
|
+
#
|
|
38
|
+
# @return [String, nil]
|
|
39
|
+
optional :text, String
|
|
40
|
+
|
|
41
|
+
# @!attribute contributor
|
|
42
|
+
# The note's writer, with the counts X sends beside a note. GET
|
|
43
|
+
# /x/community-notes/contributors/{alias} serves every count.
|
|
44
|
+
#
|
|
45
|
+
# @return [XTwitterScraper::Models::CommunityNotesContributor, nil]
|
|
46
|
+
optional :contributor, -> { XTwitterScraper::Models::CommunityNotesContributor }
|
|
47
|
+
|
|
48
|
+
# @!attribute entities
|
|
49
|
+
# Links, tags & accounts inside the text, by character range.
|
|
50
|
+
#
|
|
51
|
+
# @return [Array<XTwitterScraper::Models::CommunityNoteEntity>, nil]
|
|
52
|
+
optional :entities, -> { XTwitterScraper::Internal::Type::ArrayOf[XTwitterScraper::Models::CommunityNoteEntity] }
|
|
53
|
+
|
|
54
|
+
# @!attribute rating_status
|
|
55
|
+
# X's current rating, such as NeedsMoreRatings, CurrentlyRatedHelpful or
|
|
56
|
+
# CurrentlyRatedNotHelpful. x.com shows only helpful notes under posts.
|
|
57
|
+
#
|
|
58
|
+
# @return [String, nil]
|
|
59
|
+
optional :rating_status, String, api_name: :ratingStatus
|
|
60
|
+
|
|
61
|
+
# @!attribute helpful_tags
|
|
62
|
+
# Why raters called the note helpful.
|
|
63
|
+
#
|
|
64
|
+
# @return [Array<String>, nil]
|
|
65
|
+
optional :helpful_tags, XTwitterScraper::Internal::Type::ArrayOf[String], api_name: :helpfulTags
|
|
66
|
+
|
|
67
|
+
# @!attribute not_helpful_tags
|
|
68
|
+
# Why raters called the note not helpful.
|
|
69
|
+
#
|
|
70
|
+
# @return [Array<String>, nil]
|
|
71
|
+
optional :not_helpful_tags, XTwitterScraper::Internal::Type::ArrayOf[String], api_name: :notHelpfulTags
|
|
72
|
+
|
|
73
|
+
# @!attribute decided_by
|
|
74
|
+
# The X scoring model that set the rating.
|
|
75
|
+
#
|
|
76
|
+
# @return [String, nil]
|
|
77
|
+
optional :decided_by, String, api_name: :decidedBy
|
|
78
|
+
|
|
79
|
+
# @!attribute fully_visible_model
|
|
80
|
+
# Whether X marks that scoring model as fully visible.
|
|
81
|
+
#
|
|
82
|
+
# @return [Boolean, nil]
|
|
83
|
+
optional :fully_visible_model, XTwitterScraper::Internal::Type::Boolean, api_name: :fullyVisibleModel
|
|
84
|
+
|
|
85
|
+
# @!attribute above_pcrh_threshold
|
|
86
|
+
# Whether the note scores above X's bar for a possible helpful rating.
|
|
87
|
+
#
|
|
88
|
+
# @return [Boolean, nil]
|
|
89
|
+
optional :above_pcrh_threshold, XTwitterScraper::Internal::Type::Boolean, api_name: :abovePcrhThreshold
|
|
90
|
+
|
|
91
|
+
# @!attribute appeal_status
|
|
92
|
+
# Whether the rating is under appeal.
|
|
93
|
+
#
|
|
94
|
+
# @return [String, nil]
|
|
95
|
+
optional :appeal_status, String, api_name: :appealStatus
|
|
96
|
+
|
|
97
|
+
# @!attribute deleted
|
|
98
|
+
# Whether the writer deleted the note.
|
|
99
|
+
#
|
|
100
|
+
# @return [Boolean, nil]
|
|
101
|
+
optional :deleted, XTwitterScraper::Internal::Type::Boolean
|
|
102
|
+
|
|
103
|
+
# @!attribute tombstone
|
|
104
|
+
# X's notice in place of a deleted note.
|
|
105
|
+
#
|
|
106
|
+
# @return [String, nil]
|
|
107
|
+
optional :tombstone, String
|
|
108
|
+
|
|
109
|
+
# @!attribute is_api_author
|
|
110
|
+
# Whether the note came through X's API.
|
|
111
|
+
#
|
|
112
|
+
# @return [Boolean, nil]
|
|
113
|
+
optional :is_api_author, XTwitterScraper::Internal::Type::Boolean, api_name: :isApiAuthor
|
|
114
|
+
|
|
115
|
+
# @!attribute is_media_note
|
|
116
|
+
# Whether the note is about the post's media. X can show such a note on other
|
|
117
|
+
# posts.
|
|
118
|
+
#
|
|
119
|
+
# @return [Boolean, nil]
|
|
120
|
+
optional :is_media_note, XTwitterScraper::Internal::Type::Boolean, api_name: :isMediaNote
|
|
121
|
+
|
|
122
|
+
# @!attribute media_note_match_count
|
|
123
|
+
# Other posts X matched a media note to.
|
|
124
|
+
#
|
|
125
|
+
# @return [Integer, nil]
|
|
126
|
+
optional :media_note_match_count, Integer, api_name: :mediaNoteMatchCount
|
|
127
|
+
|
|
128
|
+
# @!attribute is_url_note
|
|
129
|
+
# Whether the note is on a link.
|
|
130
|
+
#
|
|
131
|
+
# @return [Boolean, nil]
|
|
132
|
+
optional :is_url_note, XTwitterScraper::Internal::Type::Boolean, api_name: :isUrlNote
|
|
133
|
+
|
|
134
|
+
# @!attribute display_url
|
|
135
|
+
# The link a link note is on, as X shows it.
|
|
136
|
+
#
|
|
137
|
+
# @return [String, nil]
|
|
138
|
+
optional :display_url, String, api_name: :displayUrl
|
|
139
|
+
|
|
140
|
+
# @!attribute is_translatable
|
|
141
|
+
# Whether X offers a translation of the note.
|
|
142
|
+
#
|
|
143
|
+
# @return [Boolean, nil]
|
|
144
|
+
optional :is_translatable, XTwitterScraper::Internal::Type::Boolean, api_name: :isTranslatable
|
|
145
|
+
|
|
146
|
+
# @!attribute time_to_helpful_from_note_ms
|
|
147
|
+
# Milliseconds from the note's creation to its helpful rating.
|
|
148
|
+
#
|
|
149
|
+
# @return [Integer, nil]
|
|
150
|
+
optional :time_to_helpful_from_note_ms, Integer, api_name: :timeToHelpfulFromNoteMs
|
|
151
|
+
|
|
152
|
+
# @!attribute time_to_helpful_from_post_ms
|
|
153
|
+
# Milliseconds from the post's creation to the note's helpful rating.
|
|
154
|
+
#
|
|
155
|
+
# @return [Integer, nil]
|
|
156
|
+
optional :time_to_helpful_from_post_ms, Integer, api_name: :timeToHelpfulFromPostMs
|
|
157
|
+
|
|
158
|
+
# @!attribute impression_count
|
|
159
|
+
# Views of the note, when X shares them.
|
|
160
|
+
#
|
|
161
|
+
# @return [Integer, nil]
|
|
162
|
+
optional :impression_count, Integer, api_name: :impressionCount
|
|
163
|
+
|
|
164
|
+
# @!attribute post_id
|
|
165
|
+
# ID of the post the note is on.
|
|
166
|
+
#
|
|
167
|
+
# @return [String, nil]
|
|
168
|
+
optional :post_id, String, api_name: :postId
|
|
169
|
+
|
|
170
|
+
# @!attribute post
|
|
171
|
+
# The post the note is on. Null when X no longer shows it.
|
|
172
|
+
#
|
|
173
|
+
# @return [XTwitterScraper::Models::SearchTweet, nil]
|
|
174
|
+
optional :post, -> { XTwitterScraper::Models::SearchTweet }, nil?: true
|
|
175
|
+
|
|
176
|
+
# @!attribute post_unavailable
|
|
177
|
+
# Why X shows no post, when X says.
|
|
178
|
+
#
|
|
179
|
+
# @return [XTwitterScraper::Models::CommunityNote::PostUnavailable, nil]
|
|
180
|
+
optional :post_unavailable, -> { XTwitterScraper::Models::CommunityNote::PostUnavailable }, api_name: :postUnavailable
|
|
181
|
+
|
|
182
|
+
# @!method initialize(id:, created_at: nil, language: nil, classification: nil, text: nil, contributor: nil, entities: nil, rating_status: nil, helpful_tags: nil, not_helpful_tags: nil, decided_by: nil, fully_visible_model: nil, above_pcrh_threshold: nil, appeal_status: nil, deleted: nil, tombstone: nil, is_api_author: nil, is_media_note: nil, media_note_match_count: nil, is_url_note: nil, display_url: nil, is_translatable: nil, time_to_helpful_from_note_ms: nil, time_to_helpful_from_post_ms: nil, impression_count: nil, post_id: nil, post: nil, post_unavailable: nil)
|
|
183
|
+
# A Community Note as its writer's page lists it, with the post it is on. A
|
|
184
|
+
# deleted note has no text, classification or post. A field X leaves out is left
|
|
185
|
+
# out.
|
|
186
|
+
#
|
|
187
|
+
# @param id [String] Note ID.
|
|
188
|
+
#
|
|
189
|
+
# @param created_at [Time] When the contributor wrote the note.
|
|
190
|
+
#
|
|
191
|
+
# @param language [String] Language code of the note.
|
|
192
|
+
#
|
|
193
|
+
# @param classification [String] What the writer says of the post, such as MisinformedOrPotentiallyMisleading or NotMisleading.
|
|
194
|
+
#
|
|
195
|
+
# @param text [String] What the note says.
|
|
196
|
+
#
|
|
197
|
+
# @param contributor [XTwitterScraper::Models::CommunityNotesContributor] The note's writer, with the counts X sends beside a note. GET /x/community-notes/contributors/{alias} serves every count.
|
|
198
|
+
#
|
|
199
|
+
# @param entities [Array<XTwitterScraper::Models::CommunityNoteEntity>] Links, tags & accounts inside the text, by character range.
|
|
200
|
+
#
|
|
201
|
+
# @param rating_status [String] X's current rating, such as NeedsMoreRatings, CurrentlyRatedHelpful or CurrentlyRatedNotHelpful. x.com shows only helpful notes under posts.
|
|
202
|
+
#
|
|
203
|
+
# @param helpful_tags [Array<String>] Why raters called the note helpful.
|
|
204
|
+
#
|
|
205
|
+
# @param not_helpful_tags [Array<String>] Why raters called the note not helpful.
|
|
206
|
+
#
|
|
207
|
+
# @param decided_by [String] The X scoring model that set the rating.
|
|
208
|
+
#
|
|
209
|
+
# @param fully_visible_model [Boolean] Whether X marks that scoring model as fully visible.
|
|
210
|
+
#
|
|
211
|
+
# @param above_pcrh_threshold [Boolean] Whether the note scores above X's bar for a possible helpful rating.
|
|
212
|
+
#
|
|
213
|
+
# @param appeal_status [String] Whether the rating is under appeal.
|
|
214
|
+
#
|
|
215
|
+
# @param deleted [Boolean] Whether the writer deleted the note.
|
|
216
|
+
#
|
|
217
|
+
# @param tombstone [String] X's notice in place of a deleted note.
|
|
218
|
+
#
|
|
219
|
+
# @param is_api_author [Boolean] Whether the note came through X's API.
|
|
220
|
+
#
|
|
221
|
+
# @param is_media_note [Boolean] Whether the note is about the post's media. X can show such a note on other posts.
|
|
222
|
+
#
|
|
223
|
+
# @param media_note_match_count [Integer] Other posts X matched a media note to.
|
|
224
|
+
#
|
|
225
|
+
# @param is_url_note [Boolean] Whether the note is on a link.
|
|
226
|
+
#
|
|
227
|
+
# @param display_url [String] The link a link note is on, as X shows it.
|
|
228
|
+
#
|
|
229
|
+
# @param is_translatable [Boolean] Whether X offers a translation of the note.
|
|
230
|
+
#
|
|
231
|
+
# @param time_to_helpful_from_note_ms [Integer] Milliseconds from the note's creation to its helpful rating.
|
|
232
|
+
#
|
|
233
|
+
# @param time_to_helpful_from_post_ms [Integer] Milliseconds from the post's creation to the note's helpful rating.
|
|
234
|
+
#
|
|
235
|
+
# @param impression_count [Integer] Views of the note, when X shares them.
|
|
236
|
+
#
|
|
237
|
+
# @param post_id [String] ID of the post the note is on.
|
|
238
|
+
#
|
|
239
|
+
# @param post [XTwitterScraper::Models::SearchTweet, nil] The post the note is on. Null when X no longer shows it.
|
|
240
|
+
#
|
|
241
|
+
# @param post_unavailable [XTwitterScraper::Models::CommunityNote::PostUnavailable] Why X shows no post, when X says.
|
|
242
|
+
|
|
243
|
+
class PostUnavailable < XTwitterScraper::Internal::Type::BaseModel
|
|
244
|
+
# @!attribute reason
|
|
245
|
+
# Why X shows no post, as X names it.
|
|
246
|
+
#
|
|
247
|
+
# @return [String]
|
|
248
|
+
required :reason, String
|
|
249
|
+
|
|
250
|
+
# @!method initialize(reason:)
|
|
251
|
+
# Why X shows no post, when X says.
|
|
252
|
+
#
|
|
253
|
+
# @param reason [String] Why X shows no post, as X names it.
|
|
254
|
+
end
|
|
255
|
+
end
|
|
256
|
+
end
|
|
257
|
+
end
|
|
@@ -0,0 +1,83 @@
|
|
|
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 CommunityNoteEntity < XTwitterScraper::Internal::Type::BaseModel
|
|
10
|
+
# @!attribute from_index
|
|
11
|
+
# Where it starts in the text.
|
|
12
|
+
#
|
|
13
|
+
# @return [Integer, nil]
|
|
14
|
+
optional :from_index, Integer, api_name: :fromIndex
|
|
15
|
+
|
|
16
|
+
# @!attribute to_index
|
|
17
|
+
# Where it ends in the text.
|
|
18
|
+
#
|
|
19
|
+
# @return [Integer, nil]
|
|
20
|
+
optional :to_index, Integer, api_name: :toIndex
|
|
21
|
+
|
|
22
|
+
# @!attribute ref
|
|
23
|
+
# What it points at.
|
|
24
|
+
#
|
|
25
|
+
# @return [XTwitterScraper::Models::CommunityNoteEntity::Ref, nil]
|
|
26
|
+
optional :ref, -> { XTwitterScraper::Models::CommunityNoteEntity::Ref }
|
|
27
|
+
|
|
28
|
+
# @!method initialize(from_index: nil, to_index: nil, ref: nil)
|
|
29
|
+
# A link, tag or account inside a note's text.
|
|
30
|
+
#
|
|
31
|
+
# @param from_index [Integer] Where it starts in the text.
|
|
32
|
+
#
|
|
33
|
+
# @param to_index [Integer] Where it ends in the text.
|
|
34
|
+
#
|
|
35
|
+
# @param ref [XTwitterScraper::Models::CommunityNoteEntity::Ref] What it points at.
|
|
36
|
+
|
|
37
|
+
class Ref < XTwitterScraper::Internal::Type::BaseModel
|
|
38
|
+
# @!attribute type
|
|
39
|
+
# X's kind, such as TimelineUrl.
|
|
40
|
+
#
|
|
41
|
+
# @return [String, nil]
|
|
42
|
+
optional :type, String
|
|
43
|
+
|
|
44
|
+
# @!attribute url
|
|
45
|
+
# The link.
|
|
46
|
+
#
|
|
47
|
+
# @return [String, nil]
|
|
48
|
+
optional :url, String
|
|
49
|
+
|
|
50
|
+
# @!attribute url_type
|
|
51
|
+
# How X opens the link, such as ExternalUrl.
|
|
52
|
+
#
|
|
53
|
+
# @return [String, nil]
|
|
54
|
+
optional :url_type, String, api_name: :urlType
|
|
55
|
+
|
|
56
|
+
# @!attribute text
|
|
57
|
+
# A hashtag's or cashtag's text.
|
|
58
|
+
#
|
|
59
|
+
# @return [String, nil]
|
|
60
|
+
optional :text, String
|
|
61
|
+
|
|
62
|
+
# @!attribute screen_name
|
|
63
|
+
# A mentioned account's username.
|
|
64
|
+
#
|
|
65
|
+
# @return [String, nil]
|
|
66
|
+
optional :screen_name, String, api_name: :screenName
|
|
67
|
+
|
|
68
|
+
# @!method initialize(type: nil, url: nil, url_type: nil, text: nil, screen_name: nil)
|
|
69
|
+
# What it points at.
|
|
70
|
+
#
|
|
71
|
+
# @param type [String] X's kind, such as TimelineUrl.
|
|
72
|
+
#
|
|
73
|
+
# @param url [String] The link.
|
|
74
|
+
#
|
|
75
|
+
# @param url_type [String] How X opens the link, such as ExternalUrl.
|
|
76
|
+
#
|
|
77
|
+
# @param text [String] A hashtag's or cashtag's text.
|
|
78
|
+
#
|
|
79
|
+
# @param screen_name [String] A mentioned account's username.
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
end
|
|
@@ -0,0 +1,64 @@
|
|
|
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 CommunityNotesContributor < XTwitterScraper::Internal::Type::BaseModel
|
|
10
|
+
# @!attribute alias_
|
|
11
|
+
# The alias X gives the contributor.
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :alias_, String, api_name: :alias
|
|
15
|
+
|
|
16
|
+
# @!attribute is_top_writer
|
|
17
|
+
# Whether X marks the contributor as a top writer.
|
|
18
|
+
#
|
|
19
|
+
# @return [Boolean, nil]
|
|
20
|
+
optional :is_top_writer, XTwitterScraper::Internal::Type::Boolean, api_name: :isTopWriter
|
|
21
|
+
|
|
22
|
+
# @!attribute is_api_contributor
|
|
23
|
+
# Whether the contributor writes notes through X's API.
|
|
24
|
+
#
|
|
25
|
+
# @return [Boolean, nil]
|
|
26
|
+
optional :is_api_contributor, XTwitterScraper::Internal::Type::Boolean, api_name: :isApiContributor
|
|
27
|
+
|
|
28
|
+
# @!attribute deleted_notes_count
|
|
29
|
+
# Notes the contributor deleted.
|
|
30
|
+
#
|
|
31
|
+
# @return [Integer, nil]
|
|
32
|
+
optional :deleted_notes_count, Integer, api_name: :deletedNotesCount
|
|
33
|
+
|
|
34
|
+
# @!attribute notes_count
|
|
35
|
+
# How many notes a contributor wrote, by X's current rating.
|
|
36
|
+
#
|
|
37
|
+
# @return [XTwitterScraper::Models::CommunityNotesNoteCounts, nil]
|
|
38
|
+
optional :notes_count, -> { XTwitterScraper::Models::CommunityNotesNoteCounts }, api_name: :notesCount
|
|
39
|
+
|
|
40
|
+
# @!attribute ratings_count
|
|
41
|
+
# How a contributor's ratings of other notes went.
|
|
42
|
+
#
|
|
43
|
+
# @return [XTwitterScraper::Models::CommunityNotesRatingCounts, nil]
|
|
44
|
+
optional :ratings_count, -> { XTwitterScraper::Models::CommunityNotesRatingCounts }, api_name: :ratingsCount
|
|
45
|
+
|
|
46
|
+
# @!method initialize(alias_:, is_top_writer: nil, is_api_contributor: nil, deleted_notes_count: nil, notes_count: nil, ratings_count: nil)
|
|
47
|
+
# A Community Notes contributor. X names contributors by an alias, never by their
|
|
48
|
+
# X account. A field X leaves out is left out. Beside a note, X sends its writer
|
|
49
|
+
# with only some of the counts.
|
|
50
|
+
#
|
|
51
|
+
# @param alias_ [String] The alias X gives the contributor.
|
|
52
|
+
#
|
|
53
|
+
# @param is_top_writer [Boolean] Whether X marks the contributor as a top writer.
|
|
54
|
+
#
|
|
55
|
+
# @param is_api_contributor [Boolean] Whether the contributor writes notes through X's API.
|
|
56
|
+
#
|
|
57
|
+
# @param deleted_notes_count [Integer] Notes the contributor deleted.
|
|
58
|
+
#
|
|
59
|
+
# @param notes_count [XTwitterScraper::Models::CommunityNotesNoteCounts] How many notes a contributor wrote, by X's current rating.
|
|
60
|
+
#
|
|
61
|
+
# @param ratings_count [XTwitterScraper::Models::CommunityNotesRatingCounts] How a contributor's ratings of other notes went.
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
end
|