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,279 @@
|
|
|
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 FootballPlay < XTwitterScraper::Internal::Type::BaseModel
|
|
10
|
+
# @!attribute id
|
|
11
|
+
# X's ID for the play within the game.
|
|
12
|
+
#
|
|
13
|
+
# @return [String, nil]
|
|
14
|
+
required :id, String, nil?: true
|
|
15
|
+
|
|
16
|
+
# @!attribute sequence
|
|
17
|
+
# The play's place in its drive, or null when X sends no digits.
|
|
18
|
+
#
|
|
19
|
+
# @return [Integer, nil]
|
|
20
|
+
required :sequence, Integer, nil?: true
|
|
21
|
+
|
|
22
|
+
# @!attribute clock
|
|
23
|
+
# The game clock when the play started, as HH:MM:SS.
|
|
24
|
+
#
|
|
25
|
+
# @return [String, nil]
|
|
26
|
+
required :clock, String, nil?: true
|
|
27
|
+
|
|
28
|
+
# @!attribute type
|
|
29
|
+
# X's kind of play, such as Pass, Rush, Punt or Conversion.
|
|
30
|
+
#
|
|
31
|
+
# @return [String, nil]
|
|
32
|
+
required :type, String, nil?: true
|
|
33
|
+
|
|
34
|
+
# @!attribute direction
|
|
35
|
+
# Where the play went, such as Left or Middle.
|
|
36
|
+
#
|
|
37
|
+
# @return [String, nil]
|
|
38
|
+
required :direction, String, nil?: true
|
|
39
|
+
|
|
40
|
+
# @!attribute description
|
|
41
|
+
# The play as the official play-by-play writes it.
|
|
42
|
+
#
|
|
43
|
+
# @return [String, nil]
|
|
44
|
+
required :description, String, nil?: true
|
|
45
|
+
|
|
46
|
+
# @!attribute scoring
|
|
47
|
+
# Whether the play scored points.
|
|
48
|
+
#
|
|
49
|
+
# @return [Boolean, nil]
|
|
50
|
+
required :scoring, XTwitterScraper::Internal::Type::Boolean, nil?: true
|
|
51
|
+
|
|
52
|
+
# @!attribute home_points
|
|
53
|
+
# The home team's points after the play.
|
|
54
|
+
#
|
|
55
|
+
# @return [Integer, nil]
|
|
56
|
+
required :home_points, Integer, api_name: :homePoints, nil?: true
|
|
57
|
+
|
|
58
|
+
# @!attribute away_points
|
|
59
|
+
# The away team's points after the play.
|
|
60
|
+
#
|
|
61
|
+
# @return [Integer, nil]
|
|
62
|
+
required :away_points, Integer, api_name: :awayPoints, nil?: true
|
|
63
|
+
|
|
64
|
+
# @!attribute score
|
|
65
|
+
# The points a scoring play added, or null.
|
|
66
|
+
#
|
|
67
|
+
# @return [XTwitterScraper::Models::FootballPlay::Score, nil]
|
|
68
|
+
required :score, -> { XTwitterScraper::Models::FootballPlay::Score }, nil?: true
|
|
69
|
+
|
|
70
|
+
# @!attribute start
|
|
71
|
+
# Down & distance when the play started, or null.
|
|
72
|
+
#
|
|
73
|
+
# @return [XTwitterScraper::Models::FootballPlay::Start, nil]
|
|
74
|
+
required :start, -> { XTwitterScraper::Models::FootballPlay::Start }, nil?: true
|
|
75
|
+
|
|
76
|
+
# @!attribute on_field
|
|
77
|
+
# Flags X shows on the field for the play, or null.
|
|
78
|
+
#
|
|
79
|
+
# @return [XTwitterScraper::Models::FootballPlay::OnField, nil]
|
|
80
|
+
required :on_field, -> { XTwitterScraper::Models::FootballPlay::OnField }, api_name: :onField, nil?: true
|
|
81
|
+
|
|
82
|
+
# @!attribute details
|
|
83
|
+
# The play's steps, in order.
|
|
84
|
+
#
|
|
85
|
+
# @return [Array<XTwitterScraper::Models::FootballPlayDetail>]
|
|
86
|
+
required :details, -> { XTwitterScraper::Internal::Type::ArrayOf[XTwitterScraper::Models::FootballPlayDetail] }
|
|
87
|
+
|
|
88
|
+
# @!attribute post
|
|
89
|
+
# The post X links to the play, or null.
|
|
90
|
+
#
|
|
91
|
+
# @return [XTwitterScraper::Models::FootballPlay::Post, nil]
|
|
92
|
+
required :post, -> { XTwitterScraper::Models::FootballPlay::Post }, nil?: true
|
|
93
|
+
|
|
94
|
+
# @!attribute video_post_id
|
|
95
|
+
# The ID of a post with the play's video.
|
|
96
|
+
#
|
|
97
|
+
# @return [String, nil]
|
|
98
|
+
required :video_post_id, String, api_name: :videoPostId, nil?: true
|
|
99
|
+
|
|
100
|
+
# @!attribute video_reply_post_id
|
|
101
|
+
# The ID of a reply with the play's video.
|
|
102
|
+
#
|
|
103
|
+
# @return [String, nil]
|
|
104
|
+
required :video_reply_post_id, String, api_name: :videoReplyPostId, nil?: true
|
|
105
|
+
|
|
106
|
+
# @!method initialize(id:, sequence:, clock:, type:, direction:, description:, scoring:, home_points:, away_points:, score:, start:, on_field:, details:, post:, video_post_id:, video_reply_post_id:)
|
|
107
|
+
# A play, with its situation, steps & linked posts.
|
|
108
|
+
#
|
|
109
|
+
# @param id [String, nil] X's ID for the play within the game.
|
|
110
|
+
#
|
|
111
|
+
# @param sequence [Integer, nil] The play's place in its drive, or null when X sends no digits.
|
|
112
|
+
#
|
|
113
|
+
# @param clock [String, nil] The game clock when the play started, as HH:MM:SS.
|
|
114
|
+
#
|
|
115
|
+
# @param type [String, nil] X's kind of play, such as Pass, Rush, Punt or Conversion.
|
|
116
|
+
#
|
|
117
|
+
# @param direction [String, nil] Where the play went, such as Left or Middle.
|
|
118
|
+
#
|
|
119
|
+
# @param description [String, nil] The play as the official play-by-play writes it.
|
|
120
|
+
#
|
|
121
|
+
# @param scoring [Boolean, nil] Whether the play scored points.
|
|
122
|
+
#
|
|
123
|
+
# @param home_points [Integer, nil] The home team's points after the play.
|
|
124
|
+
#
|
|
125
|
+
# @param away_points [Integer, nil] The away team's points after the play.
|
|
126
|
+
#
|
|
127
|
+
# @param score [XTwitterScraper::Models::FootballPlay::Score, nil] The points a scoring play added, or null.
|
|
128
|
+
#
|
|
129
|
+
# @param start [XTwitterScraper::Models::FootballPlay::Start, nil] Down & distance when the play started, or null.
|
|
130
|
+
#
|
|
131
|
+
# @param on_field [XTwitterScraper::Models::FootballPlay::OnField, nil] Flags X shows on the field for the play, or null.
|
|
132
|
+
#
|
|
133
|
+
# @param details [Array<XTwitterScraper::Models::FootballPlayDetail>] The play's steps, in order.
|
|
134
|
+
#
|
|
135
|
+
# @param post [XTwitterScraper::Models::FootballPlay::Post, nil] The post X links to the play, or null.
|
|
136
|
+
#
|
|
137
|
+
# @param video_post_id [String, nil] The ID of a post with the play's video.
|
|
138
|
+
#
|
|
139
|
+
# @param video_reply_post_id [String, nil] The ID of a reply with the play's video.
|
|
140
|
+
|
|
141
|
+
class Score < XTwitterScraper::Internal::Type::BaseModel
|
|
142
|
+
# @!attribute home_points
|
|
143
|
+
# The home team's score once this scoring play counted.
|
|
144
|
+
#
|
|
145
|
+
# @return [Integer, nil]
|
|
146
|
+
required :home_points, Integer, api_name: :homePoints, nil?: true
|
|
147
|
+
|
|
148
|
+
# @!attribute away_points
|
|
149
|
+
# The away team's score once this scoring play counted.
|
|
150
|
+
#
|
|
151
|
+
# @return [Integer, nil]
|
|
152
|
+
required :away_points, Integer, api_name: :awayPoints, nil?: true
|
|
153
|
+
|
|
154
|
+
# @!attribute points
|
|
155
|
+
# The points the play scored.
|
|
156
|
+
#
|
|
157
|
+
# @return [Integer, nil]
|
|
158
|
+
required :points, Integer, nil?: true
|
|
159
|
+
|
|
160
|
+
# @!method initialize(home_points:, away_points:, points:)
|
|
161
|
+
# The points a scoring play added, or null.
|
|
162
|
+
#
|
|
163
|
+
# @param home_points [Integer, nil] The home team's score once this scoring play counted.
|
|
164
|
+
#
|
|
165
|
+
# @param away_points [Integer, nil] The away team's score once this scoring play counted.
|
|
166
|
+
#
|
|
167
|
+
# @param points [Integer, nil] The points the play scored.
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
class Start < XTwitterScraper::Internal::Type::BaseModel
|
|
171
|
+
# @!attribute down
|
|
172
|
+
# The down, from 1 to 4.
|
|
173
|
+
#
|
|
174
|
+
# @return [Integer, nil]
|
|
175
|
+
required :down, Integer, nil?: true
|
|
176
|
+
|
|
177
|
+
# @!attribute yards_to_go
|
|
178
|
+
# The yards needed for a first down.
|
|
179
|
+
#
|
|
180
|
+
# @return [Integer, nil]
|
|
181
|
+
required :yards_to_go, Integer, api_name: :yardsToGo, nil?: true
|
|
182
|
+
|
|
183
|
+
# @!attribute yardline
|
|
184
|
+
# The yard line of the ball.
|
|
185
|
+
#
|
|
186
|
+
# @return [Integer, nil]
|
|
187
|
+
required :yardline, Integer, nil?: true
|
|
188
|
+
|
|
189
|
+
# @!attribute yardline_side
|
|
190
|
+
# Whose half the ball was in. Home or Away in NFL games, the team's alternateId in
|
|
191
|
+
# college games.
|
|
192
|
+
#
|
|
193
|
+
# @return [String, nil]
|
|
194
|
+
required :yardline_side, String, api_name: :yardlineSide, nil?: true
|
|
195
|
+
|
|
196
|
+
# @!attribute possession
|
|
197
|
+
# The team with the ball. Home or Away in NFL games, the team's alternateId in
|
|
198
|
+
# college games.
|
|
199
|
+
#
|
|
200
|
+
# @return [String, nil]
|
|
201
|
+
required :possession, String, nil?: true
|
|
202
|
+
|
|
203
|
+
# @!method initialize(down:, yards_to_go:, yardline:, yardline_side:, possession:)
|
|
204
|
+
# Down & distance when the play started, or null.
|
|
205
|
+
#
|
|
206
|
+
# @param down [Integer, nil] The down, from 1 to 4.
|
|
207
|
+
#
|
|
208
|
+
# @param yards_to_go [Integer, nil] The yards needed for a first down.
|
|
209
|
+
#
|
|
210
|
+
# @param yardline [Integer, nil] The yard line of the ball.
|
|
211
|
+
#
|
|
212
|
+
# @param yardline_side [String, nil] Whose half the ball was in. Home or Away in NFL games, the team's alternateId in college games.
|
|
213
|
+
#
|
|
214
|
+
# @param possession [String, nil] The team with the ball. Home or Away in NFL games, the team's alternateId in college games.
|
|
215
|
+
end
|
|
216
|
+
|
|
217
|
+
class OnField < XTwitterScraper::Internal::Type::BaseModel
|
|
218
|
+
# @!attribute called_back
|
|
219
|
+
# Whether a penalty called the play back.
|
|
220
|
+
#
|
|
221
|
+
# @return [Boolean, nil]
|
|
222
|
+
required :called_back, XTwitterScraper::Internal::Type::Boolean, api_name: :calledBack, nil?: true
|
|
223
|
+
|
|
224
|
+
# @!attribute penalty_on_field
|
|
225
|
+
# Whether a flag was thrown.
|
|
226
|
+
#
|
|
227
|
+
# @return [Boolean, nil]
|
|
228
|
+
required :penalty_on_field,
|
|
229
|
+
XTwitterScraper::Internal::Type::Boolean,
|
|
230
|
+
api_name: :penaltyOnField,
|
|
231
|
+
nil?: true
|
|
232
|
+
|
|
233
|
+
# @!attribute timeout
|
|
234
|
+
# Whether a timeout followed the play.
|
|
235
|
+
#
|
|
236
|
+
# @return [Boolean, nil]
|
|
237
|
+
required :timeout, XTwitterScraper::Internal::Type::Boolean, nil?: true
|
|
238
|
+
|
|
239
|
+
# @!attribute under_review
|
|
240
|
+
# Whether officials were reviewing the play.
|
|
241
|
+
#
|
|
242
|
+
# @return [Boolean, nil]
|
|
243
|
+
required :under_review, XTwitterScraper::Internal::Type::Boolean, api_name: :underReview, nil?: true
|
|
244
|
+
|
|
245
|
+
# @!method initialize(called_back:, penalty_on_field:, timeout:, under_review:)
|
|
246
|
+
# Flags X shows on the field for the play, or null.
|
|
247
|
+
#
|
|
248
|
+
# @param called_back [Boolean, nil] Whether a penalty called the play back.
|
|
249
|
+
#
|
|
250
|
+
# @param penalty_on_field [Boolean, nil] Whether a flag was thrown.
|
|
251
|
+
#
|
|
252
|
+
# @param timeout [Boolean, nil] Whether a timeout followed the play.
|
|
253
|
+
#
|
|
254
|
+
# @param under_review [Boolean, nil] Whether officials were reviewing the play.
|
|
255
|
+
end
|
|
256
|
+
|
|
257
|
+
class Post < XTwitterScraper::Internal::Type::BaseModel
|
|
258
|
+
# @!attribute id
|
|
259
|
+
# The post's ID.
|
|
260
|
+
#
|
|
261
|
+
# @return [String]
|
|
262
|
+
required :id, String
|
|
263
|
+
|
|
264
|
+
# @!attribute username
|
|
265
|
+
# The username of the post's author, when X sends it.
|
|
266
|
+
#
|
|
267
|
+
# @return [String, nil]
|
|
268
|
+
required :username, String, nil?: true
|
|
269
|
+
|
|
270
|
+
# @!method initialize(id:, username:)
|
|
271
|
+
# The post X links to the play, or null.
|
|
272
|
+
#
|
|
273
|
+
# @param id [String] The post's ID.
|
|
274
|
+
#
|
|
275
|
+
# @param username [String, nil] The username of the post's author, when X sends it.
|
|
276
|
+
end
|
|
277
|
+
end
|
|
278
|
+
end
|
|
279
|
+
end
|
|
@@ -0,0 +1,134 @@
|
|
|
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 FootballPlayDetail < XTwitterScraper::Internal::Type::BaseModel
|
|
10
|
+
# @!attribute sequence
|
|
11
|
+
# The step's place in the play, from 1.
|
|
12
|
+
#
|
|
13
|
+
# @return [Integer, nil]
|
|
14
|
+
required :sequence, Integer, nil?: true
|
|
15
|
+
|
|
16
|
+
# @!attribute category
|
|
17
|
+
# X's kind of step, such as Pass, Tackle or Penalty.
|
|
18
|
+
#
|
|
19
|
+
# @return [String, nil]
|
|
20
|
+
required :category, String, nil?: true
|
|
21
|
+
|
|
22
|
+
# @!attribute description
|
|
23
|
+
# What happened in the step.
|
|
24
|
+
#
|
|
25
|
+
# @return [String, nil]
|
|
26
|
+
required :description, String, nil?: true
|
|
27
|
+
|
|
28
|
+
# @!attribute direction
|
|
29
|
+
# The direction X gives for the step.
|
|
30
|
+
#
|
|
31
|
+
# @return [String, nil]
|
|
32
|
+
required :direction, String, nil?: true
|
|
33
|
+
|
|
34
|
+
# @!attribute yards
|
|
35
|
+
# The yards the step gained or lost.
|
|
36
|
+
#
|
|
37
|
+
# @return [Integer, nil]
|
|
38
|
+
required :yards, Integer, nil?: true
|
|
39
|
+
|
|
40
|
+
# @!attribute players
|
|
41
|
+
# The players in the step & their roles.
|
|
42
|
+
#
|
|
43
|
+
# @return [Array<XTwitterScraper::Models::FootballPlayDetail::Player>]
|
|
44
|
+
required :players, -> { XTwitterScraper::Internal::Type::ArrayOf[XTwitterScraper::Models::FootballPlayDetail::Player] }
|
|
45
|
+
|
|
46
|
+
# @!attribute penalty
|
|
47
|
+
# The penalty this step called, or null.
|
|
48
|
+
#
|
|
49
|
+
# @return [XTwitterScraper::Models::FootballPlayDetail::Penalty, nil]
|
|
50
|
+
required :penalty, -> { XTwitterScraper::Models::FootballPlayDetail::Penalty }, nil?: true
|
|
51
|
+
|
|
52
|
+
# @!method initialize(sequence:, category:, description:, direction:, yards:, players:, penalty:)
|
|
53
|
+
# 1 step of a play, such as a pass, a tackle or a penalty.
|
|
54
|
+
#
|
|
55
|
+
# @param sequence [Integer, nil] The step's place in the play, from 1.
|
|
56
|
+
#
|
|
57
|
+
# @param category [String, nil] X's kind of step, such as Pass, Tackle or Penalty.
|
|
58
|
+
#
|
|
59
|
+
# @param description [String, nil] What happened in the step.
|
|
60
|
+
#
|
|
61
|
+
# @param direction [String, nil] The direction X gives for the step.
|
|
62
|
+
#
|
|
63
|
+
# @param yards [Integer, nil] The yards the step gained or lost.
|
|
64
|
+
#
|
|
65
|
+
# @param players [Array<XTwitterScraper::Models::FootballPlayDetail::Player>] The players in the step & their roles.
|
|
66
|
+
#
|
|
67
|
+
# @param penalty [XTwitterScraper::Models::FootballPlayDetail::Penalty, nil] The penalty this step called, or null.
|
|
68
|
+
|
|
69
|
+
class Player < XTwitterScraper::Internal::Type::BaseModel
|
|
70
|
+
# @!attribute player_id
|
|
71
|
+
# The player, a key of players.
|
|
72
|
+
#
|
|
73
|
+
# @return [String, nil]
|
|
74
|
+
required :player_id, String, api_name: :playerId, nil?: true
|
|
75
|
+
|
|
76
|
+
# @!attribute player_role
|
|
77
|
+
# The player's role, such as Pass, Receive or Tackle.
|
|
78
|
+
#
|
|
79
|
+
# @return [String, nil]
|
|
80
|
+
required :player_role, String, api_name: :playerRole, nil?: true
|
|
81
|
+
|
|
82
|
+
# @!method initialize(player_id:, player_role:)
|
|
83
|
+
# @param player_id [String, nil] The player, a key of players.
|
|
84
|
+
#
|
|
85
|
+
# @param player_role [String, nil] The player's role, such as Pass, Receive or Tackle.
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
class Penalty < XTwitterScraper::Internal::Type::BaseModel
|
|
89
|
+
# @!attribute description
|
|
90
|
+
# The penalty's name.
|
|
91
|
+
#
|
|
92
|
+
# @return [String, nil]
|
|
93
|
+
required :description, String, nil?: true
|
|
94
|
+
|
|
95
|
+
# @!attribute next_down
|
|
96
|
+
# What the penalty does to the down.
|
|
97
|
+
#
|
|
98
|
+
# @return [String, nil]
|
|
99
|
+
required :next_down, String, api_name: :nextDown, nil?: true
|
|
100
|
+
|
|
101
|
+
# @!attribute result
|
|
102
|
+
# Whether the penalty was accepted or declined.
|
|
103
|
+
#
|
|
104
|
+
# @return [String, nil]
|
|
105
|
+
required :result, String, nil?: true
|
|
106
|
+
|
|
107
|
+
# @!attribute team_id
|
|
108
|
+
# The penalized team, a key of teams.
|
|
109
|
+
#
|
|
110
|
+
# @return [String, nil]
|
|
111
|
+
required :team_id, String, api_name: :teamId, nil?: true
|
|
112
|
+
|
|
113
|
+
# @!attribute yards
|
|
114
|
+
# The penalty's yards.
|
|
115
|
+
#
|
|
116
|
+
# @return [Integer, nil]
|
|
117
|
+
required :yards, Integer, nil?: true
|
|
118
|
+
|
|
119
|
+
# @!method initialize(description:, next_down:, result:, team_id:, yards:)
|
|
120
|
+
# The penalty this step called, or null.
|
|
121
|
+
#
|
|
122
|
+
# @param description [String, nil] The penalty's name.
|
|
123
|
+
#
|
|
124
|
+
# @param next_down [String, nil] What the penalty does to the down.
|
|
125
|
+
#
|
|
126
|
+
# @param result [String, nil] Whether the penalty was accepted or declined.
|
|
127
|
+
#
|
|
128
|
+
# @param team_id [String, nil] The penalized team, a key of teams.
|
|
129
|
+
#
|
|
130
|
+
# @param yards [Integer, nil] The penalty's yards.
|
|
131
|
+
end
|
|
132
|
+
end
|
|
133
|
+
end
|
|
134
|
+
end
|
|
@@ -0,0 +1,196 @@
|
|
|
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 FootballPlayer < XTwitterScraper::Internal::Type::BaseModel
|
|
10
|
+
# @!attribute id
|
|
11
|
+
# The player ID that plays & stats refer to.
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :id, String
|
|
15
|
+
|
|
16
|
+
# @!attribute team_id
|
|
17
|
+
# The player's team, a key of teams.
|
|
18
|
+
#
|
|
19
|
+
# @return [String, nil]
|
|
20
|
+
required :team_id, String, api_name: :teamId, nil?: true
|
|
21
|
+
|
|
22
|
+
# @!attribute name
|
|
23
|
+
# The player's full name.
|
|
24
|
+
#
|
|
25
|
+
# @return [String, nil]
|
|
26
|
+
required :name, String, nil?: true
|
|
27
|
+
|
|
28
|
+
# @!attribute short_name
|
|
29
|
+
# The name play descriptions use.
|
|
30
|
+
#
|
|
31
|
+
# @return [String, nil]
|
|
32
|
+
required :short_name, String, api_name: :shortName, nil?: true
|
|
33
|
+
|
|
34
|
+
# @!attribute jersey
|
|
35
|
+
# The jersey number, as text.
|
|
36
|
+
#
|
|
37
|
+
# @return [String, nil]
|
|
38
|
+
required :jersey, String, nil?: true
|
|
39
|
+
|
|
40
|
+
# @!attribute position
|
|
41
|
+
# The position abbreviation, such as QB or DE.
|
|
42
|
+
#
|
|
43
|
+
# @return [String, nil]
|
|
44
|
+
required :position, String, nil?: true
|
|
45
|
+
|
|
46
|
+
# @!attribute college
|
|
47
|
+
# The college the player came from.
|
|
48
|
+
#
|
|
49
|
+
# @return [String, nil]
|
|
50
|
+
required :college, String, nil?: true
|
|
51
|
+
|
|
52
|
+
# @!attribute birth_place
|
|
53
|
+
# Where the player was born. X sends it only for NFL players.
|
|
54
|
+
#
|
|
55
|
+
# @return [String, nil]
|
|
56
|
+
required :birth_place, String, api_name: :birthPlace, nil?: true
|
|
57
|
+
|
|
58
|
+
# @!attribute birth_date
|
|
59
|
+
# The birth date, as YYYY-MM-DD.
|
|
60
|
+
#
|
|
61
|
+
# @return [String, nil]
|
|
62
|
+
required :birth_date, String, api_name: :birthDate, nil?: true
|
|
63
|
+
|
|
64
|
+
# @!attribute headshots
|
|
65
|
+
# Photos of the player. Any of them can be null.
|
|
66
|
+
#
|
|
67
|
+
# @return [XTwitterScraper::Models::FootballPlayer::Headshots]
|
|
68
|
+
required :headshots, -> { XTwitterScraper::Models::FootballPlayer::Headshots }
|
|
69
|
+
|
|
70
|
+
# @!attribute x_user
|
|
71
|
+
# The player's X account, or null without one.
|
|
72
|
+
#
|
|
73
|
+
# @return [XTwitterScraper::Models::FootballPlayer::XUser, nil]
|
|
74
|
+
required :x_user, -> { XTwitterScraper::Models::FootballPlayer::XUser }, api_name: :xUser, nil?: true
|
|
75
|
+
|
|
76
|
+
# @!method initialize(id:, team_id:, name:, short_name:, jersey:, position:, college:, birth_place:, birth_date:, headshots:, x_user:)
|
|
77
|
+
# A football player, as X's sports pages show them.
|
|
78
|
+
#
|
|
79
|
+
# @param id [String] The player ID that plays & stats refer to.
|
|
80
|
+
#
|
|
81
|
+
# @param team_id [String, nil] The player's team, a key of teams.
|
|
82
|
+
#
|
|
83
|
+
# @param name [String, nil] The player's full name.
|
|
84
|
+
#
|
|
85
|
+
# @param short_name [String, nil] The name play descriptions use.
|
|
86
|
+
#
|
|
87
|
+
# @param jersey [String, nil] The jersey number, as text.
|
|
88
|
+
#
|
|
89
|
+
# @param position [String, nil] The position abbreviation, such as QB or DE.
|
|
90
|
+
#
|
|
91
|
+
# @param college [String, nil] The college the player came from.
|
|
92
|
+
#
|
|
93
|
+
# @param birth_place [String, nil] Where the player was born. X sends it only for NFL players.
|
|
94
|
+
#
|
|
95
|
+
# @param birth_date [String, nil] The birth date, as YYYY-MM-DD.
|
|
96
|
+
#
|
|
97
|
+
# @param headshots [XTwitterScraper::Models::FootballPlayer::Headshots] Photos of the player. Any of them can be null.
|
|
98
|
+
#
|
|
99
|
+
# @param x_user [XTwitterScraper::Models::FootballPlayer::XUser, nil] The player's X account, or null without one.
|
|
100
|
+
|
|
101
|
+
class Headshots < XTwitterScraper::Internal::Type::BaseModel
|
|
102
|
+
# @!attribute original
|
|
103
|
+
# The photo X shows on the player's card.
|
|
104
|
+
#
|
|
105
|
+
# @return [String, nil]
|
|
106
|
+
required :original, String, nil?: true
|
|
107
|
+
|
|
108
|
+
# @!attribute large
|
|
109
|
+
# The large photo.
|
|
110
|
+
#
|
|
111
|
+
# @return [String, nil]
|
|
112
|
+
required :large, String, nil?: true
|
|
113
|
+
|
|
114
|
+
# @!attribute medium
|
|
115
|
+
# The medium photo.
|
|
116
|
+
#
|
|
117
|
+
# @return [String, nil]
|
|
118
|
+
required :medium, String, nil?: true
|
|
119
|
+
|
|
120
|
+
# @!attribute small
|
|
121
|
+
# The small photo.
|
|
122
|
+
#
|
|
123
|
+
# @return [String, nil]
|
|
124
|
+
required :small, String, nil?: true
|
|
125
|
+
|
|
126
|
+
# @!method initialize(original:, large:, medium:, small:)
|
|
127
|
+
# Photos of the player. Any of them can be null.
|
|
128
|
+
#
|
|
129
|
+
# @param original [String, nil] The photo X shows on the player's card.
|
|
130
|
+
#
|
|
131
|
+
# @param large [String, nil] The large photo.
|
|
132
|
+
#
|
|
133
|
+
# @param medium [String, nil] The medium photo.
|
|
134
|
+
#
|
|
135
|
+
# @param small [String, nil] The small photo.
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
class XUser < XTwitterScraper::Internal::Type::BaseModel
|
|
139
|
+
# @!attribute id
|
|
140
|
+
# The account's user ID.
|
|
141
|
+
#
|
|
142
|
+
# @return [String]
|
|
143
|
+
required :id, String
|
|
144
|
+
|
|
145
|
+
# @!attribute username
|
|
146
|
+
# The account's username, without @.
|
|
147
|
+
#
|
|
148
|
+
# @return [String, nil]
|
|
149
|
+
required :username, String, nil?: true
|
|
150
|
+
|
|
151
|
+
# @!attribute blue_verified
|
|
152
|
+
# Whether the account has a blue check.
|
|
153
|
+
#
|
|
154
|
+
# @return [Boolean, nil]
|
|
155
|
+
required :blue_verified, XTwitterScraper::Internal::Type::Boolean, api_name: :blueVerified, nil?: true
|
|
156
|
+
|
|
157
|
+
# @!attribute protected
|
|
158
|
+
# Whether the account protects its posts. Only rosters carry it.
|
|
159
|
+
#
|
|
160
|
+
# @return [Boolean, nil]
|
|
161
|
+
required :protected, XTwitterScraper::Internal::Type::Boolean, nil?: true
|
|
162
|
+
|
|
163
|
+
# @!attribute super_follow_eligible
|
|
164
|
+
# Whether the account can offer subscriptions. Only rosters carry it.
|
|
165
|
+
#
|
|
166
|
+
# @return [Boolean, nil]
|
|
167
|
+
required :super_follow_eligible,
|
|
168
|
+
XTwitterScraper::Internal::Type::Boolean,
|
|
169
|
+
api_name: :superFollowEligible,
|
|
170
|
+
nil?: true
|
|
171
|
+
|
|
172
|
+
# @!attribute label_type
|
|
173
|
+
# The label X highlights on the account, such as BusinessLabel. Only rosters carry
|
|
174
|
+
# it.
|
|
175
|
+
#
|
|
176
|
+
# @return [String, nil]
|
|
177
|
+
required :label_type, String, api_name: :labelType, nil?: true
|
|
178
|
+
|
|
179
|
+
# @!method initialize(id:, username:, blue_verified:, protected:, super_follow_eligible:, label_type:)
|
|
180
|
+
# The player's X account, or null without one.
|
|
181
|
+
#
|
|
182
|
+
# @param id [String] The account's user ID.
|
|
183
|
+
#
|
|
184
|
+
# @param username [String, nil] The account's username, without @.
|
|
185
|
+
#
|
|
186
|
+
# @param blue_verified [Boolean, nil] Whether the account has a blue check.
|
|
187
|
+
#
|
|
188
|
+
# @param protected [Boolean, nil] Whether the account protects its posts. Only rosters carry it.
|
|
189
|
+
#
|
|
190
|
+
# @param super_follow_eligible [Boolean, nil] Whether the account can offer subscriptions. Only rosters carry it.
|
|
191
|
+
#
|
|
192
|
+
# @param label_type [String, nil] The label X highlights on the account, such as BusinessLabel. Only rosters carry it.
|
|
193
|
+
end
|
|
194
|
+
end
|
|
195
|
+
end
|
|
196
|
+
end
|
|
@@ -0,0 +1,66 @@
|
|
|
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 FootballPlayerProp < XTwitterScraper::Internal::Type::BaseModel
|
|
10
|
+
# @!attribute player_id
|
|
11
|
+
# The player the line is for, a key of players.
|
|
12
|
+
#
|
|
13
|
+
# @return [String, nil]
|
|
14
|
+
required :player_id, String, api_name: :playerId, nil?: true
|
|
15
|
+
|
|
16
|
+
# @!attribute rank
|
|
17
|
+
# The line's place in its category, from 1.
|
|
18
|
+
#
|
|
19
|
+
# @return [Float, nil]
|
|
20
|
+
required :rank, Float, nil?: true
|
|
21
|
+
|
|
22
|
+
# @!attribute line
|
|
23
|
+
# The line the odds price, such as 248.5 yards. Null when the prop has no line,
|
|
24
|
+
# such as the first touchdown scorer.
|
|
25
|
+
#
|
|
26
|
+
# @return [Float, nil]
|
|
27
|
+
required :line, Float, nil?: true
|
|
28
|
+
|
|
29
|
+
# @!attribute odds
|
|
30
|
+
# The American odds X shows first, such as -115 or 240.
|
|
31
|
+
#
|
|
32
|
+
# @return [Float, nil]
|
|
33
|
+
required :odds, Float, nil?: true
|
|
34
|
+
|
|
35
|
+
# @!attribute alternate_odds
|
|
36
|
+
# The American odds X shows second. Null for a prop with 1 price.
|
|
37
|
+
#
|
|
38
|
+
# @return [Float, nil]
|
|
39
|
+
required :alternate_odds, Float, api_name: :alternateOdds, nil?: true
|
|
40
|
+
|
|
41
|
+
# @!attribute open_for_betting
|
|
42
|
+
# Whether the sportsbook takes bets on the line.
|
|
43
|
+
#
|
|
44
|
+
# @return [Boolean, nil]
|
|
45
|
+
required :open_for_betting,
|
|
46
|
+
XTwitterScraper::Internal::Type::Boolean,
|
|
47
|
+
api_name: :openForBetting,
|
|
48
|
+
nil?: true
|
|
49
|
+
|
|
50
|
+
# @!method initialize(player_id:, rank:, line:, odds:, alternate_odds:, open_for_betting:)
|
|
51
|
+
# 1 player's line & odds in a prop category.
|
|
52
|
+
#
|
|
53
|
+
# @param player_id [String, nil] The player the line is for, a key of players.
|
|
54
|
+
#
|
|
55
|
+
# @param rank [Float, nil] The line's place in its category, from 1.
|
|
56
|
+
#
|
|
57
|
+
# @param line [Float, nil] The line the odds price, such as 248.5 yards. Null when the prop has no line, such as the first touchdown scorer.
|
|
58
|
+
#
|
|
59
|
+
# @param odds [Float, nil] The American odds X shows first, such as -115 or 240.
|
|
60
|
+
#
|
|
61
|
+
# @param alternate_odds [Float, nil] The American odds X shows second. Null for a prop with 1 price.
|
|
62
|
+
#
|
|
63
|
+
# @param open_for_betting [Boolean, nil] Whether the sportsbook takes bets on the line.
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
end
|