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,957 @@
|
|
|
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 Community < XTwitterScraper::Internal::Type::BaseModel
|
|
10
|
+
# @!attribute id
|
|
11
|
+
# Unique community identifier
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :id, String
|
|
15
|
+
|
|
16
|
+
# @!attribute name
|
|
17
|
+
# Display name of the community
|
|
18
|
+
#
|
|
19
|
+
# @return [String]
|
|
20
|
+
required :name, String
|
|
21
|
+
|
|
22
|
+
# @!attribute description
|
|
23
|
+
# About text for the community
|
|
24
|
+
#
|
|
25
|
+
# @return [String, nil]
|
|
26
|
+
optional :description, String
|
|
27
|
+
|
|
28
|
+
# @!attribute member_count
|
|
29
|
+
# Total member count
|
|
30
|
+
#
|
|
31
|
+
# @return [Integer]
|
|
32
|
+
required :member_count, Integer
|
|
33
|
+
|
|
34
|
+
# @!attribute moderator_count
|
|
35
|
+
# Total moderator count
|
|
36
|
+
#
|
|
37
|
+
# @return [Integer, nil]
|
|
38
|
+
optional :moderator_count, Integer
|
|
39
|
+
|
|
40
|
+
# @!attribute is_nsfw
|
|
41
|
+
# Whether the community is marked sensitive
|
|
42
|
+
#
|
|
43
|
+
# @return [Boolean]
|
|
44
|
+
required :is_nsfw, XTwitterScraper::Internal::Type::Boolean
|
|
45
|
+
|
|
46
|
+
# @!attribute primary_topic
|
|
47
|
+
# Primary topic. Its id is absent when X lists the community in a keyword or topic
|
|
48
|
+
# result.
|
|
49
|
+
#
|
|
50
|
+
# @return [XTwitterScraper::Models::Community::PrimaryTopic, nil]
|
|
51
|
+
optional :primary_topic, -> { XTwitterScraper::Models::Community::PrimaryTopic }
|
|
52
|
+
|
|
53
|
+
# @!attribute created_at
|
|
54
|
+
# Community creation timestamp
|
|
55
|
+
#
|
|
56
|
+
# @return [String, nil]
|
|
57
|
+
optional :created_at, String
|
|
58
|
+
|
|
59
|
+
# @!attribute join_policy
|
|
60
|
+
# Join policy (open or restricted)
|
|
61
|
+
#
|
|
62
|
+
# @return [String, nil]
|
|
63
|
+
optional :join_policy, String
|
|
64
|
+
|
|
65
|
+
# @!attribute invites_policy
|
|
66
|
+
# Invitation policy
|
|
67
|
+
#
|
|
68
|
+
# @return [String, nil]
|
|
69
|
+
optional :invites_policy, String
|
|
70
|
+
|
|
71
|
+
# @!attribute question
|
|
72
|
+
# What the community asks a user who joins
|
|
73
|
+
#
|
|
74
|
+
# @return [String, nil]
|
|
75
|
+
optional :question, String
|
|
76
|
+
|
|
77
|
+
# @!attribute rules
|
|
78
|
+
# Community rules
|
|
79
|
+
#
|
|
80
|
+
# @return [Array<XTwitterScraper::Models::Community::Rule>, nil]
|
|
81
|
+
optional :rules, -> { XTwitterScraper::Internal::Type::ArrayOf[XTwitterScraper::Models::Community::Rule] }
|
|
82
|
+
|
|
83
|
+
# @!attribute search_tags
|
|
84
|
+
# Tags X finds the community by
|
|
85
|
+
#
|
|
86
|
+
# @return [Array<String>, nil]
|
|
87
|
+
optional :search_tags, XTwitterScraper::Internal::Type::ArrayOf[String], api_name: :searchTags
|
|
88
|
+
|
|
89
|
+
# @!attribute creator
|
|
90
|
+
# The creator's public profile, or the ID, username and badge alone when X sends
|
|
91
|
+
# no profile
|
|
92
|
+
#
|
|
93
|
+
# @return [XTwitterScraper::Models::Community::Creator, nil]
|
|
94
|
+
optional :creator, -> { XTwitterScraper::Models::Community::Creator }
|
|
95
|
+
|
|
96
|
+
# @!attribute admin
|
|
97
|
+
# Public X profile.
|
|
98
|
+
#
|
|
99
|
+
# @return [XTwitterScraper::Models::UserProfile, nil]
|
|
100
|
+
optional :admin, -> { XTwitterScraper::Models::UserProfile }
|
|
101
|
+
|
|
102
|
+
# @!attribute members_facepile
|
|
103
|
+
# The members X previews beside the member count. A keyword or topic result gives
|
|
104
|
+
# each member's ID & picture only.
|
|
105
|
+
#
|
|
106
|
+
# @return [Array<XTwitterScraper::Models::UserProfile, XTwitterScraper::Models::CommunityMemberPreview>, nil]
|
|
107
|
+
optional :members_facepile, -> { XTwitterScraper::Internal::Type::ArrayOf[union: XTwitterScraper::Models::Community::MembersFacepile] }, api_name: :membersFacepile
|
|
108
|
+
|
|
109
|
+
# @!attribute banner_url
|
|
110
|
+
# Community banner image URL
|
|
111
|
+
#
|
|
112
|
+
# @return [String, nil]
|
|
113
|
+
optional :banner_url, String
|
|
114
|
+
|
|
115
|
+
# @!attribute banner
|
|
116
|
+
# The banner X shows for a community, with its size & colors.
|
|
117
|
+
#
|
|
118
|
+
# @return [XTwitterScraper::Models::CommunityBanner, nil]
|
|
119
|
+
optional :banner, -> { XTwitterScraper::Models::CommunityBanner }
|
|
120
|
+
|
|
121
|
+
# @!method initialize(id:, name:, member_count:, is_nsfw:, description: nil, moderator_count: nil, primary_topic: nil, created_at: nil, join_policy: nil, invites_policy: nil, question: nil, rules: nil, search_tags: nil, creator: nil, admin: nil, members_facepile: nil, banner_url: nil, banner: nil)
|
|
122
|
+
# Public X Community, as every Community read returns it.
|
|
123
|
+
#
|
|
124
|
+
# @param id [String] Unique community identifier
|
|
125
|
+
#
|
|
126
|
+
# @param name [String] Display name of the community
|
|
127
|
+
#
|
|
128
|
+
# @param member_count [Integer] Total member count
|
|
129
|
+
#
|
|
130
|
+
# @param is_nsfw [Boolean] Whether the community is marked sensitive
|
|
131
|
+
#
|
|
132
|
+
# @param description [String] About text for the community
|
|
133
|
+
#
|
|
134
|
+
# @param moderator_count [Integer] Total moderator count
|
|
135
|
+
#
|
|
136
|
+
# @param primary_topic [XTwitterScraper::Models::Community::PrimaryTopic] Primary topic. Its id is absent when X lists the community in a keyword or topic result.
|
|
137
|
+
#
|
|
138
|
+
# @param created_at [String] Community creation timestamp
|
|
139
|
+
#
|
|
140
|
+
# @param join_policy [String] Join policy (open or restricted)
|
|
141
|
+
#
|
|
142
|
+
# @param invites_policy [String] Invitation policy
|
|
143
|
+
#
|
|
144
|
+
# @param question [String] What the community asks a user who joins
|
|
145
|
+
#
|
|
146
|
+
# @param rules [Array<XTwitterScraper::Models::Community::Rule>] Community rules
|
|
147
|
+
#
|
|
148
|
+
# @param search_tags [Array<String>] Tags X finds the community by
|
|
149
|
+
#
|
|
150
|
+
# @param creator [XTwitterScraper::Models::Community::Creator] The creator's public profile, or the ID, username and badge alone when X sends no profile
|
|
151
|
+
#
|
|
152
|
+
# @param admin [XTwitterScraper::Models::UserProfile] Public X profile.
|
|
153
|
+
#
|
|
154
|
+
# @param members_facepile [Array<XTwitterScraper::Models::UserProfile, XTwitterScraper::Models::CommunityMemberPreview>] The members X previews beside the member count. A keyword or topic result gives each member's ID & picture only.
|
|
155
|
+
#
|
|
156
|
+
# @param banner_url [String] Community banner image URL
|
|
157
|
+
#
|
|
158
|
+
# @param banner [XTwitterScraper::Models::CommunityBanner] The banner X shows for a community, with its size & colors.
|
|
159
|
+
|
|
160
|
+
class PrimaryTopic < XTwitterScraper::Internal::Type::BaseModel
|
|
161
|
+
# @!attribute id
|
|
162
|
+
# Topic ID that /x/communities/popular takes
|
|
163
|
+
#
|
|
164
|
+
# @return [String, nil]
|
|
165
|
+
optional :id, String
|
|
166
|
+
|
|
167
|
+
# @!attribute name
|
|
168
|
+
# Topic name X shows on the community
|
|
169
|
+
#
|
|
170
|
+
# @return [String]
|
|
171
|
+
required :name, String
|
|
172
|
+
|
|
173
|
+
# @!method initialize(name:, id: nil)
|
|
174
|
+
# Primary topic. Its id is absent when X lists the community in a keyword or topic
|
|
175
|
+
# result.
|
|
176
|
+
#
|
|
177
|
+
# @param name [String] Topic name X shows on the community
|
|
178
|
+
#
|
|
179
|
+
# @param id [String] Topic ID that /x/communities/popular takes
|
|
180
|
+
end
|
|
181
|
+
|
|
182
|
+
class Rule < XTwitterScraper::Internal::Type::BaseModel
|
|
183
|
+
# @!attribute id
|
|
184
|
+
# Rule ID
|
|
185
|
+
#
|
|
186
|
+
# @return [String, nil]
|
|
187
|
+
optional :id, String
|
|
188
|
+
|
|
189
|
+
# @!attribute name
|
|
190
|
+
# Rule title
|
|
191
|
+
#
|
|
192
|
+
# @return [String, nil]
|
|
193
|
+
optional :name, String
|
|
194
|
+
|
|
195
|
+
# @!attribute description
|
|
196
|
+
# What the rule asks of members
|
|
197
|
+
#
|
|
198
|
+
# @return [String, nil]
|
|
199
|
+
optional :description, String
|
|
200
|
+
|
|
201
|
+
# @!method initialize(id: nil, name: nil, description: nil)
|
|
202
|
+
# @param id [String] Rule ID
|
|
203
|
+
#
|
|
204
|
+
# @param name [String] Rule title
|
|
205
|
+
#
|
|
206
|
+
# @param description [String] What the rule asks of members
|
|
207
|
+
end
|
|
208
|
+
|
|
209
|
+
class Creator < XTwitterScraper::Internal::Type::BaseModel
|
|
210
|
+
# @!attribute id
|
|
211
|
+
#
|
|
212
|
+
# @return [String]
|
|
213
|
+
required :id, String
|
|
214
|
+
|
|
215
|
+
# @!attribute username
|
|
216
|
+
#
|
|
217
|
+
# @return [String]
|
|
218
|
+
required :username, String
|
|
219
|
+
|
|
220
|
+
# @!attribute name
|
|
221
|
+
#
|
|
222
|
+
# @return [String, nil]
|
|
223
|
+
optional :name, String
|
|
224
|
+
|
|
225
|
+
# @!attribute description
|
|
226
|
+
#
|
|
227
|
+
# @return [String, nil]
|
|
228
|
+
optional :description, String
|
|
229
|
+
|
|
230
|
+
# @!attribute followers
|
|
231
|
+
# Omitted when X sends no count, as for the account that first posted reused
|
|
232
|
+
# media.
|
|
233
|
+
#
|
|
234
|
+
# @return [Integer, nil]
|
|
235
|
+
optional :followers, Integer
|
|
236
|
+
|
|
237
|
+
# @!attribute following
|
|
238
|
+
#
|
|
239
|
+
# @return [Integer, nil]
|
|
240
|
+
optional :following, Integer
|
|
241
|
+
|
|
242
|
+
# @!attribute verified
|
|
243
|
+
#
|
|
244
|
+
# @return [Boolean]
|
|
245
|
+
required :verified, XTwitterScraper::Internal::Type::Boolean
|
|
246
|
+
|
|
247
|
+
# @!attribute is_blue_verified
|
|
248
|
+
# Whether X shows a blue verification badge
|
|
249
|
+
#
|
|
250
|
+
# @return [Boolean, nil]
|
|
251
|
+
optional :is_blue_verified, XTwitterScraper::Internal::Type::Boolean, api_name: :isBlueVerified
|
|
252
|
+
|
|
253
|
+
# @!attribute is_verified
|
|
254
|
+
# Whether X marks the profile as verified
|
|
255
|
+
#
|
|
256
|
+
# @return [Boolean, nil]
|
|
257
|
+
optional :is_verified, XTwitterScraper::Internal::Type::Boolean, api_name: :isVerified
|
|
258
|
+
|
|
259
|
+
# @!attribute profile_picture
|
|
260
|
+
# Profile picture at 48 px, as X sends it.
|
|
261
|
+
#
|
|
262
|
+
# @return [String, nil]
|
|
263
|
+
optional :profile_picture, String, api_name: :profilePicture
|
|
264
|
+
|
|
265
|
+
# @!attribute profile_picture_original
|
|
266
|
+
# The same profile picture at full size, as the account uploaded it. Download this
|
|
267
|
+
# one for the image.
|
|
268
|
+
#
|
|
269
|
+
# @return [String, nil]
|
|
270
|
+
optional :profile_picture_original, String, api_name: :profilePictureOriginal
|
|
271
|
+
|
|
272
|
+
# @!attribute cover_picture
|
|
273
|
+
#
|
|
274
|
+
# @return [String, nil]
|
|
275
|
+
optional :cover_picture, String, api_name: :coverPicture
|
|
276
|
+
|
|
277
|
+
# @!attribute profile_banner_url
|
|
278
|
+
# Original X profile banner field when available
|
|
279
|
+
#
|
|
280
|
+
# @return [String, nil]
|
|
281
|
+
optional :profile_banner_url, String, api_name: :profileBannerUrl
|
|
282
|
+
|
|
283
|
+
# @!attribute location
|
|
284
|
+
# Account owner's public profile location text
|
|
285
|
+
#
|
|
286
|
+
# @return [String, nil]
|
|
287
|
+
optional :location, String
|
|
288
|
+
|
|
289
|
+
# @!attribute account_based_in
|
|
290
|
+
# Null when X shows no label.
|
|
291
|
+
#
|
|
292
|
+
# @return [XTwitterScraper::Models::AccountBasedIn, nil]
|
|
293
|
+
optional :account_based_in, -> { XTwitterScraper::Models::AccountBasedIn }, api_name: :accountBasedIn, nil?: true
|
|
294
|
+
|
|
295
|
+
# @!attribute account_based_in_unavailable
|
|
296
|
+
# True when X withheld accountBasedIn from this read. Retry later.
|
|
297
|
+
#
|
|
298
|
+
# @return [Boolean, nil]
|
|
299
|
+
optional :account_based_in_unavailable,
|
|
300
|
+
XTwitterScraper::Internal::Type::Boolean,
|
|
301
|
+
api_name: :accountBasedInUnavailable
|
|
302
|
+
|
|
303
|
+
# @!attribute account_based_in_accurate
|
|
304
|
+
# False when X notes accountBasedIn may be inaccurate.
|
|
305
|
+
#
|
|
306
|
+
# @return [Boolean, nil]
|
|
307
|
+
optional :account_based_in_accurate,
|
|
308
|
+
XTwitterScraper::Internal::Type::Boolean,
|
|
309
|
+
api_name: :accountBasedInAccurate
|
|
310
|
+
|
|
311
|
+
# @!attribute connected_via
|
|
312
|
+
# How the account first connected to X.
|
|
313
|
+
#
|
|
314
|
+
# @return [String, nil]
|
|
315
|
+
optional :connected_via, String, api_name: :connectedVia
|
|
316
|
+
|
|
317
|
+
# @!attribute connected_via_accurate
|
|
318
|
+
# False when X notes that country may be inaccurate.
|
|
319
|
+
#
|
|
320
|
+
# @return [Boolean, nil]
|
|
321
|
+
optional :connected_via_accurate,
|
|
322
|
+
XTwitterScraper::Internal::Type::Boolean,
|
|
323
|
+
api_name: :connectedViaAccurate
|
|
324
|
+
|
|
325
|
+
# @!attribute affiliate_username
|
|
326
|
+
# Handle of the organization X shows the account is affiliated with, from its
|
|
327
|
+
# About page.
|
|
328
|
+
#
|
|
329
|
+
# @return [String, nil]
|
|
330
|
+
optional :affiliate_username, String, api_name: :affiliateUsername
|
|
331
|
+
|
|
332
|
+
# @!attribute email
|
|
333
|
+
# First email the account publishes on its profile, lowercased. Omitted when it
|
|
334
|
+
# publishes none.
|
|
335
|
+
#
|
|
336
|
+
# @return [String, nil]
|
|
337
|
+
optional :email, String
|
|
338
|
+
|
|
339
|
+
# @!attribute contact_info
|
|
340
|
+
# Emails, phone numbers & links the account publishes on its own profile. Omitted
|
|
341
|
+
# when it publishes none.
|
|
342
|
+
#
|
|
343
|
+
# @return [XTwitterScraper::Models::ProfileContactInfo, nil]
|
|
344
|
+
optional :contact_info, -> { XTwitterScraper::Models::ProfileContactInfo }, api_name: :contactInfo
|
|
345
|
+
|
|
346
|
+
# @!attribute username_changes
|
|
347
|
+
# How often the account changed its username.
|
|
348
|
+
#
|
|
349
|
+
# @return [XTwitterScraper::Models::Community::Creator::UsernameChanges, nil]
|
|
350
|
+
optional :username_changes, -> { XTwitterScraper::Models::Community::Creator::UsernameChanges }, api_name: :usernameChanges
|
|
351
|
+
|
|
352
|
+
# @!attribute birthdate
|
|
353
|
+
# The parts of the birthday the account made public.
|
|
354
|
+
#
|
|
355
|
+
# @return [XTwitterScraper::Models::Community::Creator::Birthdate, nil]
|
|
356
|
+
optional :birthdate, -> { XTwitterScraper::Models::Community::Creator::Birthdate }
|
|
357
|
+
|
|
358
|
+
# @!attribute retweeted_at
|
|
359
|
+
# UTC repost time with includeRetweetTimestamp. Null when Xquik found no repost
|
|
360
|
+
# time. Otherwise omitted.
|
|
361
|
+
#
|
|
362
|
+
# @return [Time, nil]
|
|
363
|
+
optional :retweeted_at, Time, api_name: :retweetedAt, nil?: true
|
|
364
|
+
|
|
365
|
+
# @!attribute created_at
|
|
366
|
+
# Account creation time.
|
|
367
|
+
#
|
|
368
|
+
# @return [String, nil]
|
|
369
|
+
optional :created_at, String, api_name: :createdAt
|
|
370
|
+
|
|
371
|
+
# @!attribute statuses_count
|
|
372
|
+
#
|
|
373
|
+
# @return [Integer, nil]
|
|
374
|
+
optional :statuses_count, Integer, api_name: :statusesCount
|
|
375
|
+
|
|
376
|
+
# @!attribute media_count
|
|
377
|
+
#
|
|
378
|
+
# @return [Integer, nil]
|
|
379
|
+
optional :media_count, Integer, api_name: :mediaCount
|
|
380
|
+
|
|
381
|
+
# @!attribute protected
|
|
382
|
+
# Whether the profile protects its posts
|
|
383
|
+
#
|
|
384
|
+
# @return [Boolean, nil]
|
|
385
|
+
optional :protected, XTwitterScraper::Internal::Type::Boolean
|
|
386
|
+
|
|
387
|
+
# @!attribute url
|
|
388
|
+
#
|
|
389
|
+
# @return [String, nil]
|
|
390
|
+
optional :url, String
|
|
391
|
+
|
|
392
|
+
# @!attribute favourites_count
|
|
393
|
+
#
|
|
394
|
+
# @return [Integer, nil]
|
|
395
|
+
optional :favourites_count, Integer, api_name: :favouritesCount
|
|
396
|
+
|
|
397
|
+
# @!attribute has_custom_timelines
|
|
398
|
+
#
|
|
399
|
+
# @return [Boolean, nil]
|
|
400
|
+
optional :has_custom_timelines,
|
|
401
|
+
XTwitterScraper::Internal::Type::Boolean,
|
|
402
|
+
api_name: :hasCustomTimelines
|
|
403
|
+
|
|
404
|
+
# @!attribute is_translator
|
|
405
|
+
#
|
|
406
|
+
# @return [Boolean, nil]
|
|
407
|
+
optional :is_translator, XTwitterScraper::Internal::Type::Boolean, api_name: :isTranslator
|
|
408
|
+
|
|
409
|
+
# @!attribute withheld_in_countries
|
|
410
|
+
#
|
|
411
|
+
# @return [Array<String>, nil]
|
|
412
|
+
optional :withheld_in_countries,
|
|
413
|
+
XTwitterScraper::Internal::Type::ArrayOf[String],
|
|
414
|
+
api_name: :withheldInCountries
|
|
415
|
+
|
|
416
|
+
# @!attribute withheld_scope
|
|
417
|
+
# Whether X withholds a post or user
|
|
418
|
+
#
|
|
419
|
+
# @return [String, nil]
|
|
420
|
+
optional :withheld_scope, String, api_name: :withheldScope
|
|
421
|
+
|
|
422
|
+
# @!attribute possibly_sensitive
|
|
423
|
+
#
|
|
424
|
+
# @return [Boolean, nil]
|
|
425
|
+
optional :possibly_sensitive, XTwitterScraper::Internal::Type::Boolean, api_name: :possiblySensitive
|
|
426
|
+
|
|
427
|
+
# @!attribute professional
|
|
428
|
+
# Professional metadata with category display settings
|
|
429
|
+
#
|
|
430
|
+
# @return [Hash{Symbol=>Object}, nil]
|
|
431
|
+
optional :professional, XTwitterScraper::Internal::Type::HashOf[XTwitterScraper::Internal::Type::Unknown]
|
|
432
|
+
|
|
433
|
+
# @!attribute grok_translated_bio
|
|
434
|
+
# Public profile bio translation returned by X
|
|
435
|
+
#
|
|
436
|
+
# @return [Hash{Symbol=>Object}, nil]
|
|
437
|
+
optional :grok_translated_bio,
|
|
438
|
+
XTwitterScraper::Internal::Type::HashOf[XTwitterScraper::Internal::Type::Unknown],
|
|
439
|
+
api_name: :grokTranslatedBio
|
|
440
|
+
|
|
441
|
+
# @!attribute pinned_tweet_ids
|
|
442
|
+
#
|
|
443
|
+
# @return [Array<String>, nil]
|
|
444
|
+
optional :pinned_tweet_ids,
|
|
445
|
+
XTwitterScraper::Internal::Type::ArrayOf[String],
|
|
446
|
+
api_name: :pinnedTweetIds
|
|
447
|
+
|
|
448
|
+
# @!attribute is_automated
|
|
449
|
+
#
|
|
450
|
+
# @return [Boolean, nil]
|
|
451
|
+
optional :is_automated, XTwitterScraper::Internal::Type::Boolean, api_name: :isAutomated
|
|
452
|
+
|
|
453
|
+
# @!attribute automated_by
|
|
454
|
+
#
|
|
455
|
+
# @return [String, nil]
|
|
456
|
+
optional :automated_by, String, api_name: :automatedBy
|
|
457
|
+
|
|
458
|
+
# @!attribute unavailable
|
|
459
|
+
#
|
|
460
|
+
# @return [Boolean, nil]
|
|
461
|
+
optional :unavailable, XTwitterScraper::Internal::Type::Boolean
|
|
462
|
+
|
|
463
|
+
# @!attribute unavailable_reason
|
|
464
|
+
#
|
|
465
|
+
# @return [String, nil]
|
|
466
|
+
optional :unavailable_reason, String, api_name: :unavailableReason
|
|
467
|
+
|
|
468
|
+
# @!attribute verified_type
|
|
469
|
+
#
|
|
470
|
+
# @return [String, nil]
|
|
471
|
+
optional :verified_type, String, api_name: :verifiedType
|
|
472
|
+
|
|
473
|
+
# @!attribute affiliates_highlighted_label
|
|
474
|
+
# Organization affiliation label shown on an X profile.
|
|
475
|
+
#
|
|
476
|
+
# @return [XTwitterScraper::Models::UserAffiliateLabel, nil]
|
|
477
|
+
optional :affiliates_highlighted_label, -> { XTwitterScraper::Models::UserAffiliateLabel }, api_name: :affiliatesHighlightedLabel
|
|
478
|
+
|
|
479
|
+
# @!attribute business_account_affiliates_count
|
|
480
|
+
# Whole number from 0.
|
|
481
|
+
#
|
|
482
|
+
# @return [Integer, nil]
|
|
483
|
+
optional :business_account_affiliates_count, Integer, api_name: :businessAccountAffiliatesCount
|
|
484
|
+
|
|
485
|
+
# @!attribute creator_subscriptions_count
|
|
486
|
+
# Whole number from 0.
|
|
487
|
+
#
|
|
488
|
+
# @return [Integer, nil]
|
|
489
|
+
optional :creator_subscriptions_count, Integer, api_name: :creatorSubscriptionsCount
|
|
490
|
+
|
|
491
|
+
# @!attribute has_graduated_access
|
|
492
|
+
#
|
|
493
|
+
# @return [Boolean, nil]
|
|
494
|
+
optional :has_graduated_access,
|
|
495
|
+
XTwitterScraper::Internal::Type::Boolean,
|
|
496
|
+
api_name: :hasGraduatedAccess
|
|
497
|
+
|
|
498
|
+
# @!attribute has_hidden_subscriptions_on_profile
|
|
499
|
+
#
|
|
500
|
+
# @return [Boolean, nil]
|
|
501
|
+
optional :has_hidden_subscriptions_on_profile,
|
|
502
|
+
XTwitterScraper::Internal::Type::Boolean,
|
|
503
|
+
api_name: :hasHiddenSubscriptionsOnProfile
|
|
504
|
+
|
|
505
|
+
# @!attribute highlights_info
|
|
506
|
+
# Profile highlight availability and count metadata.
|
|
507
|
+
#
|
|
508
|
+
# @return [XTwitterScraper::Models::UserHighlightsInfo, nil]
|
|
509
|
+
optional :highlights_info, -> { XTwitterScraper::Models::UserHighlightsInfo }, api_name: :highlightsInfo
|
|
510
|
+
|
|
511
|
+
# @!attribute identity_verification
|
|
512
|
+
# Identity verification X shows on the profile & its About page.
|
|
513
|
+
#
|
|
514
|
+
# @return [XTwitterScraper::Models::UserIdentityVerification, nil]
|
|
515
|
+
optional :identity_verification, -> { XTwitterScraper::Models::UserIdentityVerification }, api_name: :identityVerification
|
|
516
|
+
|
|
517
|
+
# @!attribute is_profile_translatable
|
|
518
|
+
#
|
|
519
|
+
# @return [Boolean, nil]
|
|
520
|
+
optional :is_profile_translatable,
|
|
521
|
+
XTwitterScraper::Internal::Type::Boolean,
|
|
522
|
+
api_name: :isProfileTranslatable
|
|
523
|
+
|
|
524
|
+
# @!attribute parody_commentary_fan_label
|
|
525
|
+
#
|
|
526
|
+
# @return [String, nil]
|
|
527
|
+
optional :parody_commentary_fan_label, String, api_name: :parodyCommentaryFanLabel
|
|
528
|
+
|
|
529
|
+
# @!attribute profile_description_language
|
|
530
|
+
#
|
|
531
|
+
# @return [String, nil]
|
|
532
|
+
optional :profile_description_language, String, api_name: :profileDescriptionLanguage
|
|
533
|
+
|
|
534
|
+
# @!attribute profile_image_shape
|
|
535
|
+
#
|
|
536
|
+
# @return [String, nil]
|
|
537
|
+
optional :profile_image_shape, String, api_name: :profileImageShape
|
|
538
|
+
|
|
539
|
+
# @!attribute profile_interstitial_type
|
|
540
|
+
#
|
|
541
|
+
# @return [String, nil]
|
|
542
|
+
optional :profile_interstitial_type, String, api_name: :profileInterstitialType
|
|
543
|
+
|
|
544
|
+
# @!attribute profile_sort_enabled
|
|
545
|
+
#
|
|
546
|
+
# @return [Boolean, nil]
|
|
547
|
+
optional :profile_sort_enabled,
|
|
548
|
+
XTwitterScraper::Internal::Type::Boolean,
|
|
549
|
+
api_name: :profileSortEnabled
|
|
550
|
+
|
|
551
|
+
# @!attribute profile_translator_type
|
|
552
|
+
#
|
|
553
|
+
# @return [String, nil]
|
|
554
|
+
optional :profile_translator_type, String, api_name: :profileTranslatorType
|
|
555
|
+
|
|
556
|
+
# @!attribute redirects_to_username
|
|
557
|
+
# Handle x.com sends this profile's visitors to, such as the new handle of a
|
|
558
|
+
# renamed account whose old handle now holds a placeholder. Missing when x.com
|
|
559
|
+
# shows the profile itself.
|
|
560
|
+
#
|
|
561
|
+
# @return [String, nil]
|
|
562
|
+
optional :redirects_to_username, String, api_name: :redirectsToUsername
|
|
563
|
+
|
|
564
|
+
# @!attribute super_follow_eligible
|
|
565
|
+
#
|
|
566
|
+
# @return [Boolean, nil]
|
|
567
|
+
optional :super_follow_eligible,
|
|
568
|
+
XTwitterScraper::Internal::Type::Boolean,
|
|
569
|
+
api_name: :superFollowEligible
|
|
570
|
+
|
|
571
|
+
# @!attribute super_follows_user_profile_active
|
|
572
|
+
# Whether X marks the subscription profile as active.
|
|
573
|
+
#
|
|
574
|
+
# @return [Boolean, nil]
|
|
575
|
+
optional :super_follows_user_profile_active,
|
|
576
|
+
XTwitterScraper::Internal::Type::Boolean,
|
|
577
|
+
api_name: :superFollowsUserProfileActive
|
|
578
|
+
|
|
579
|
+
# @!attribute tip_jar
|
|
580
|
+
# Public payment and creator-support handles shown on X.
|
|
581
|
+
#
|
|
582
|
+
# @return [XTwitterScraper::Models::UserTipJar, nil]
|
|
583
|
+
optional :tip_jar, -> { XTwitterScraper::Models::UserTipJar }, api_name: :tipJar
|
|
584
|
+
|
|
585
|
+
# @!attribute listed_count
|
|
586
|
+
# Public lists that include the profile.
|
|
587
|
+
#
|
|
588
|
+
# @return [Integer, nil]
|
|
589
|
+
optional :listed_count, Integer, api_name: :listedCount
|
|
590
|
+
|
|
591
|
+
# @!attribute fast_followers_count
|
|
592
|
+
# Followers X counts as fast followers.
|
|
593
|
+
#
|
|
594
|
+
# @return [Integer, nil]
|
|
595
|
+
optional :fast_followers_count, Integer, api_name: :fastFollowersCount
|
|
596
|
+
|
|
597
|
+
# @!attribute normal_followers_count
|
|
598
|
+
# Followers minus fast followers.
|
|
599
|
+
#
|
|
600
|
+
# @return [Integer, nil]
|
|
601
|
+
optional :normal_followers_count, Integer, api_name: :normalFollowersCount
|
|
602
|
+
|
|
603
|
+
# @!attribute default_profile
|
|
604
|
+
# Whether the profile keeps X's default theme.
|
|
605
|
+
#
|
|
606
|
+
# @return [Boolean, nil]
|
|
607
|
+
optional :default_profile, XTwitterScraper::Internal::Type::Boolean, api_name: :defaultProfile
|
|
608
|
+
|
|
609
|
+
# @!attribute default_profile_image
|
|
610
|
+
# Whether the profile keeps X's default avatar.
|
|
611
|
+
#
|
|
612
|
+
# @return [Boolean, nil]
|
|
613
|
+
optional :default_profile_image,
|
|
614
|
+
XTwitterScraper::Internal::Type::Boolean,
|
|
615
|
+
api_name: :defaultProfileImage
|
|
616
|
+
|
|
617
|
+
# @!attribute has_extended_profile
|
|
618
|
+
# Whether the profile filled X's extended fields, such as a birth date. True or
|
|
619
|
+
# false.
|
|
620
|
+
#
|
|
621
|
+
# @return [Boolean, nil]
|
|
622
|
+
optional :has_extended_profile,
|
|
623
|
+
XTwitterScraper::Internal::Type::Boolean,
|
|
624
|
+
api_name: :hasExtendedProfile
|
|
625
|
+
|
|
626
|
+
# @!attribute is_translation_enabled
|
|
627
|
+
# Whether the account turned on X's translation of its posts. True or false.
|
|
628
|
+
#
|
|
629
|
+
# @return [Boolean, nil]
|
|
630
|
+
optional :is_translation_enabled,
|
|
631
|
+
XTwitterScraper::Internal::Type::Boolean,
|
|
632
|
+
api_name: :isTranslationEnabled
|
|
633
|
+
|
|
634
|
+
# @!attribute geo_enabled
|
|
635
|
+
# Whether the profile may add a location to posts.
|
|
636
|
+
#
|
|
637
|
+
# @return [Boolean, nil]
|
|
638
|
+
optional :geo_enabled, XTwitterScraper::Internal::Type::Boolean, api_name: :geoEnabled
|
|
639
|
+
|
|
640
|
+
# @!attribute advertiser_account_type
|
|
641
|
+
# The account's X Ads type. `none` for an account without ads, or
|
|
642
|
+
# `promotable_user` for one that may run them.
|
|
643
|
+
#
|
|
644
|
+
# @return [String, nil]
|
|
645
|
+
optional :advertiser_account_type, String, api_name: :advertiserAccountType
|
|
646
|
+
|
|
647
|
+
# @!attribute advertiser_account_service_levels
|
|
648
|
+
# X Ads services the account uses, such as `analytics`, `media_studio` or `smb`.
|
|
649
|
+
# Empty for an account without ads.
|
|
650
|
+
#
|
|
651
|
+
# @return [Array<String>, nil]
|
|
652
|
+
optional :advertiser_account_service_levels,
|
|
653
|
+
XTwitterScraper::Internal::Type::ArrayOf[String],
|
|
654
|
+
api_name: :advertiserAccountServiceLevels
|
|
655
|
+
|
|
656
|
+
# @!attribute business_profile_state
|
|
657
|
+
# Whether X treats the profile as a business profile. `none` or `enabled`.
|
|
658
|
+
#
|
|
659
|
+
# @return [String, nil]
|
|
660
|
+
optional :business_profile_state, String, api_name: :businessProfileState
|
|
661
|
+
|
|
662
|
+
# @!attribute subscribers_count
|
|
663
|
+
# Accounts subscribed to the profile's paid Subscriptions. 0 when it has none.
|
|
664
|
+
#
|
|
665
|
+
# @return [Integer, nil]
|
|
666
|
+
optional :subscribers_count, Integer, api_name: :subscribersCount
|
|
667
|
+
|
|
668
|
+
# @!attribute verification_reason
|
|
669
|
+
# X's text on why the profile is verified, with its links.
|
|
670
|
+
#
|
|
671
|
+
# @return [XTwitterScraper::Models::Community::Creator::VerificationReason, nil]
|
|
672
|
+
optional :verification_reason, -> { XTwitterScraper::Models::Community::Creator::VerificationReason }, api_name: :verificationReason
|
|
673
|
+
|
|
674
|
+
# @!attribute community_role
|
|
675
|
+
# Community role when returned by community member reads
|
|
676
|
+
#
|
|
677
|
+
# @return [String, nil]
|
|
678
|
+
optional :community_role, String, api_name: :communityRole
|
|
679
|
+
|
|
680
|
+
# @!attribute profile_bio
|
|
681
|
+
# Structured profile bio with entity annotations
|
|
682
|
+
#
|
|
683
|
+
# @return [Hash{Symbol=>Object}, nil]
|
|
684
|
+
optional :profile_bio, XTwitterScraper::Internal::Type::HashOf[XTwitterScraper::Internal::Type::Unknown]
|
|
685
|
+
|
|
686
|
+
# @!method initialize(id:, username:, verified:, name: nil, description: nil, followers: nil, following: nil, is_blue_verified: nil, is_verified: nil, profile_picture: nil, profile_picture_original: nil, cover_picture: nil, profile_banner_url: nil, location: nil, account_based_in: nil, account_based_in_unavailable: nil, account_based_in_accurate: nil, connected_via: nil, connected_via_accurate: nil, affiliate_username: nil, email: nil, contact_info: nil, username_changes: nil, birthdate: nil, retweeted_at: nil, created_at: nil, statuses_count: nil, media_count: nil, protected: nil, url: nil, favourites_count: nil, has_custom_timelines: nil, is_translator: nil, withheld_in_countries: nil, withheld_scope: nil, possibly_sensitive: nil, professional: nil, grok_translated_bio: nil, pinned_tweet_ids: nil, is_automated: nil, automated_by: nil, unavailable: nil, unavailable_reason: nil, verified_type: nil, affiliates_highlighted_label: nil, business_account_affiliates_count: nil, creator_subscriptions_count: nil, has_graduated_access: nil, has_hidden_subscriptions_on_profile: nil, highlights_info: nil, identity_verification: nil, is_profile_translatable: nil, parody_commentary_fan_label: nil, profile_description_language: nil, profile_image_shape: nil, profile_interstitial_type: nil, profile_sort_enabled: nil, profile_translator_type: nil, redirects_to_username: nil, super_follow_eligible: nil, super_follows_user_profile_active: nil, tip_jar: nil, listed_count: nil, fast_followers_count: nil, normal_followers_count: nil, default_profile: nil, default_profile_image: nil, has_extended_profile: nil, is_translation_enabled: nil, geo_enabled: nil, advertiser_account_type: nil, advertiser_account_service_levels: nil, business_profile_state: nil, subscribers_count: nil, verification_reason: nil, community_role: nil, profile_bio: nil)
|
|
687
|
+
# The creator's public profile, or the ID, username and badge alone when X sends
|
|
688
|
+
# no profile
|
|
689
|
+
#
|
|
690
|
+
# @param id [String]
|
|
691
|
+
#
|
|
692
|
+
# @param username [String]
|
|
693
|
+
#
|
|
694
|
+
# @param verified [Boolean]
|
|
695
|
+
#
|
|
696
|
+
# @param name [String]
|
|
697
|
+
#
|
|
698
|
+
# @param description [String]
|
|
699
|
+
#
|
|
700
|
+
# @param followers [Integer] Omitted when X sends no count, as for the account that first posted reused media.
|
|
701
|
+
#
|
|
702
|
+
# @param following [Integer]
|
|
703
|
+
#
|
|
704
|
+
# @param is_blue_verified [Boolean] Whether X shows a blue verification badge
|
|
705
|
+
#
|
|
706
|
+
# @param is_verified [Boolean] Whether X marks the profile as verified
|
|
707
|
+
#
|
|
708
|
+
# @param profile_picture [String] Profile picture at 48 px, as X sends it.
|
|
709
|
+
#
|
|
710
|
+
# @param profile_picture_original [String] The same profile picture at full size, as the account uploaded it. Download this one for the image.
|
|
711
|
+
#
|
|
712
|
+
# @param cover_picture [String]
|
|
713
|
+
#
|
|
714
|
+
# @param profile_banner_url [String] Original X profile banner field when available
|
|
715
|
+
#
|
|
716
|
+
# @param location [String] Account owner's public profile location text
|
|
717
|
+
#
|
|
718
|
+
# @param account_based_in [XTwitterScraper::Models::AccountBasedIn, nil] Null when X shows no label.
|
|
719
|
+
#
|
|
720
|
+
# @param account_based_in_unavailable [Boolean] True when X withheld accountBasedIn from this read. Retry later.
|
|
721
|
+
#
|
|
722
|
+
# @param account_based_in_accurate [Boolean] False when X notes accountBasedIn may be inaccurate.
|
|
723
|
+
#
|
|
724
|
+
# @param connected_via [String] How the account first connected to X.
|
|
725
|
+
#
|
|
726
|
+
# @param connected_via_accurate [Boolean] False when X notes that country may be inaccurate.
|
|
727
|
+
#
|
|
728
|
+
# @param affiliate_username [String] Handle of the organization X shows the account is affiliated with, from its About page.
|
|
729
|
+
#
|
|
730
|
+
# @param email [String] First email the account publishes on its profile, lowercased. Omitted when it publishes none.
|
|
731
|
+
#
|
|
732
|
+
# @param contact_info [XTwitterScraper::Models::ProfileContactInfo] Emails, phone numbers & links the account publishes on its own profile. Omitted when it publishes none.
|
|
733
|
+
#
|
|
734
|
+
# @param username_changes [XTwitterScraper::Models::Community::Creator::UsernameChanges] How often the account changed its username.
|
|
735
|
+
#
|
|
736
|
+
# @param birthdate [XTwitterScraper::Models::Community::Creator::Birthdate] The parts of the birthday the account made public.
|
|
737
|
+
#
|
|
738
|
+
# @param retweeted_at [Time, nil] UTC repost time with includeRetweetTimestamp. Null when Xquik found no repost time. Otherwise omitted.
|
|
739
|
+
#
|
|
740
|
+
# @param created_at [String] Account creation time.
|
|
741
|
+
#
|
|
742
|
+
# @param statuses_count [Integer]
|
|
743
|
+
#
|
|
744
|
+
# @param media_count [Integer]
|
|
745
|
+
#
|
|
746
|
+
# @param protected [Boolean] Whether the profile protects its posts
|
|
747
|
+
#
|
|
748
|
+
# @param url [String]
|
|
749
|
+
#
|
|
750
|
+
# @param favourites_count [Integer]
|
|
751
|
+
#
|
|
752
|
+
# @param has_custom_timelines [Boolean]
|
|
753
|
+
#
|
|
754
|
+
# @param is_translator [Boolean]
|
|
755
|
+
#
|
|
756
|
+
# @param withheld_in_countries [Array<String>]
|
|
757
|
+
#
|
|
758
|
+
# @param withheld_scope [String] Whether X withholds a post or user
|
|
759
|
+
#
|
|
760
|
+
# @param possibly_sensitive [Boolean]
|
|
761
|
+
#
|
|
762
|
+
# @param professional [Hash{Symbol=>Object}] Professional metadata with category display settings
|
|
763
|
+
#
|
|
764
|
+
# @param grok_translated_bio [Hash{Symbol=>Object}] Public profile bio translation returned by X
|
|
765
|
+
#
|
|
766
|
+
# @param pinned_tweet_ids [Array<String>]
|
|
767
|
+
#
|
|
768
|
+
# @param is_automated [Boolean]
|
|
769
|
+
#
|
|
770
|
+
# @param automated_by [String]
|
|
771
|
+
#
|
|
772
|
+
# @param unavailable [Boolean]
|
|
773
|
+
#
|
|
774
|
+
# @param unavailable_reason [String]
|
|
775
|
+
#
|
|
776
|
+
# @param verified_type [String]
|
|
777
|
+
#
|
|
778
|
+
# @param affiliates_highlighted_label [XTwitterScraper::Models::UserAffiliateLabel] Organization affiliation label shown on an X profile.
|
|
779
|
+
#
|
|
780
|
+
# @param business_account_affiliates_count [Integer] Whole number from 0.
|
|
781
|
+
#
|
|
782
|
+
# @param creator_subscriptions_count [Integer] Whole number from 0.
|
|
783
|
+
#
|
|
784
|
+
# @param has_graduated_access [Boolean]
|
|
785
|
+
#
|
|
786
|
+
# @param has_hidden_subscriptions_on_profile [Boolean]
|
|
787
|
+
#
|
|
788
|
+
# @param highlights_info [XTwitterScraper::Models::UserHighlightsInfo] Profile highlight availability and count metadata.
|
|
789
|
+
#
|
|
790
|
+
# @param identity_verification [XTwitterScraper::Models::UserIdentityVerification] Identity verification X shows on the profile & its About page.
|
|
791
|
+
#
|
|
792
|
+
# @param is_profile_translatable [Boolean]
|
|
793
|
+
#
|
|
794
|
+
# @param parody_commentary_fan_label [String]
|
|
795
|
+
#
|
|
796
|
+
# @param profile_description_language [String]
|
|
797
|
+
#
|
|
798
|
+
# @param profile_image_shape [String]
|
|
799
|
+
#
|
|
800
|
+
# @param profile_interstitial_type [String]
|
|
801
|
+
#
|
|
802
|
+
# @param profile_sort_enabled [Boolean]
|
|
803
|
+
#
|
|
804
|
+
# @param profile_translator_type [String]
|
|
805
|
+
#
|
|
806
|
+
# @param redirects_to_username [String] Handle x.com sends this profile's visitors to, such as the new handle of a renamed account whose old handle now holds a placeholder. Missing when x.com shows the profile itself.
|
|
807
|
+
#
|
|
808
|
+
# @param super_follow_eligible [Boolean]
|
|
809
|
+
#
|
|
810
|
+
# @param super_follows_user_profile_active [Boolean] Whether X marks the subscription profile as active.
|
|
811
|
+
#
|
|
812
|
+
# @param tip_jar [XTwitterScraper::Models::UserTipJar] Public payment and creator-support handles shown on X.
|
|
813
|
+
#
|
|
814
|
+
# @param listed_count [Integer] Public lists that include the profile.
|
|
815
|
+
#
|
|
816
|
+
# @param fast_followers_count [Integer] Followers X counts as fast followers.
|
|
817
|
+
#
|
|
818
|
+
# @param normal_followers_count [Integer] Followers minus fast followers.
|
|
819
|
+
#
|
|
820
|
+
# @param default_profile [Boolean] Whether the profile keeps X's default theme.
|
|
821
|
+
#
|
|
822
|
+
# @param default_profile_image [Boolean] Whether the profile keeps X's default avatar.
|
|
823
|
+
#
|
|
824
|
+
# @param has_extended_profile [Boolean] Whether the profile filled X's extended fields, such as a birth date. True or false.
|
|
825
|
+
#
|
|
826
|
+
# @param is_translation_enabled [Boolean] Whether the account turned on X's translation of its posts. True or false.
|
|
827
|
+
#
|
|
828
|
+
# @param geo_enabled [Boolean] Whether the profile may add a location to posts.
|
|
829
|
+
#
|
|
830
|
+
# @param advertiser_account_type [String] The account's X Ads type. `none` for an account without ads, or `promotable_user` for one that may run them.
|
|
831
|
+
#
|
|
832
|
+
# @param advertiser_account_service_levels [Array<String>] X Ads services the account uses, such as `analytics`, `media_studio` or `smb`. Empty for an account without ads.
|
|
833
|
+
#
|
|
834
|
+
# @param business_profile_state [String] Whether X treats the profile as a business profile. `none` or `enabled`.
|
|
835
|
+
#
|
|
836
|
+
# @param subscribers_count [Integer] Accounts subscribed to the profile's paid Subscriptions. 0 when it has none.
|
|
837
|
+
#
|
|
838
|
+
# @param verification_reason [XTwitterScraper::Models::Community::Creator::VerificationReason] X's text on why the profile is verified, with its links.
|
|
839
|
+
#
|
|
840
|
+
# @param community_role [String] Community role when returned by community member reads
|
|
841
|
+
#
|
|
842
|
+
# @param profile_bio [Hash{Symbol=>Object}] Structured profile bio with entity annotations
|
|
843
|
+
|
|
844
|
+
class UsernameChanges < XTwitterScraper::Internal::Type::BaseModel
|
|
845
|
+
# @!attribute count
|
|
846
|
+
# Whole number from 0.
|
|
847
|
+
#
|
|
848
|
+
# @return [Integer]
|
|
849
|
+
required :count, Integer
|
|
850
|
+
|
|
851
|
+
# @!attribute last_changed_at
|
|
852
|
+
# Time of the latest change, omitted when there is none.
|
|
853
|
+
#
|
|
854
|
+
# @return [Time, nil]
|
|
855
|
+
optional :last_changed_at, Time, api_name: :lastChangedAt
|
|
856
|
+
|
|
857
|
+
# @!method initialize(count:, last_changed_at: nil)
|
|
858
|
+
# How often the account changed its username.
|
|
859
|
+
#
|
|
860
|
+
# @param count [Integer] Whole number from 0.
|
|
861
|
+
#
|
|
862
|
+
# @param last_changed_at [Time] Time of the latest change, omitted when there is none.
|
|
863
|
+
end
|
|
864
|
+
|
|
865
|
+
class Birthdate < XTwitterScraper::Internal::Type::BaseModel
|
|
866
|
+
# @!attribute day
|
|
867
|
+
#
|
|
868
|
+
# @return [Integer, nil]
|
|
869
|
+
optional :day, Integer
|
|
870
|
+
|
|
871
|
+
# @!attribute month
|
|
872
|
+
#
|
|
873
|
+
# @return [Integer, nil]
|
|
874
|
+
optional :month, Integer
|
|
875
|
+
|
|
876
|
+
# @!attribute year
|
|
877
|
+
#
|
|
878
|
+
# @return [Integer, nil]
|
|
879
|
+
optional :year, Integer
|
|
880
|
+
|
|
881
|
+
# @!method initialize(day: nil, month: nil, year: nil)
|
|
882
|
+
# The parts of the birthday the account made public.
|
|
883
|
+
#
|
|
884
|
+
# @param day [Integer]
|
|
885
|
+
#
|
|
886
|
+
# @param month [Integer]
|
|
887
|
+
#
|
|
888
|
+
# @param year [Integer]
|
|
889
|
+
end
|
|
890
|
+
|
|
891
|
+
class VerificationReason < XTwitterScraper::Internal::Type::BaseModel
|
|
892
|
+
# @!attribute text
|
|
893
|
+
#
|
|
894
|
+
# @return [String, nil]
|
|
895
|
+
optional :text, String
|
|
896
|
+
|
|
897
|
+
# @!attribute entities
|
|
898
|
+
# Links inside the text, by character range.
|
|
899
|
+
#
|
|
900
|
+
# @return [Array<XTwitterScraper::Models::Community::Creator::VerificationReason::Entity>, nil]
|
|
901
|
+
optional :entities, -> { XTwitterScraper::Internal::Type::ArrayOf[XTwitterScraper::Models::Community::Creator::VerificationReason::Entity] }
|
|
902
|
+
|
|
903
|
+
# @!method initialize(text: nil, entities: nil)
|
|
904
|
+
# X's text on why the profile is verified, with its links.
|
|
905
|
+
#
|
|
906
|
+
# @param text [String]
|
|
907
|
+
#
|
|
908
|
+
# @param entities [Array<XTwitterScraper::Models::Community::Creator::VerificationReason::Entity>] Links inside the text, by character range.
|
|
909
|
+
|
|
910
|
+
class Entity < XTwitterScraper::Internal::Type::BaseModel
|
|
911
|
+
# @!attribute from_index
|
|
912
|
+
# Whole number from 0.
|
|
913
|
+
#
|
|
914
|
+
# @return [Integer, nil]
|
|
915
|
+
optional :from_index, Integer, api_name: :fromIndex
|
|
916
|
+
|
|
917
|
+
# @!attribute to_index
|
|
918
|
+
# Whole number from 0.
|
|
919
|
+
#
|
|
920
|
+
# @return [Integer, nil]
|
|
921
|
+
optional :to_index, Integer, api_name: :toIndex
|
|
922
|
+
|
|
923
|
+
# @!attribute url
|
|
924
|
+
#
|
|
925
|
+
# @return [String, nil]
|
|
926
|
+
optional :url, String
|
|
927
|
+
|
|
928
|
+
# @!attribute url_type
|
|
929
|
+
#
|
|
930
|
+
# @return [String, nil]
|
|
931
|
+
optional :url_type, String, api_name: :urlType
|
|
932
|
+
|
|
933
|
+
# @!method initialize(from_index: nil, to_index: nil, url: nil, url_type: nil)
|
|
934
|
+
# @param from_index [Integer] Whole number from 0.
|
|
935
|
+
#
|
|
936
|
+
# @param to_index [Integer] Whole number from 0.
|
|
937
|
+
#
|
|
938
|
+
# @param url [String]
|
|
939
|
+
#
|
|
940
|
+
# @param url_type [String]
|
|
941
|
+
end
|
|
942
|
+
end
|
|
943
|
+
end
|
|
944
|
+
|
|
945
|
+
module MembersFacepile
|
|
946
|
+
extend XTwitterScraper::Internal::Type::Union
|
|
947
|
+
|
|
948
|
+
variant -> { XTwitterScraper::Models::UserProfile }
|
|
949
|
+
|
|
950
|
+
variant -> { XTwitterScraper::Models::CommunityMemberPreview }
|
|
951
|
+
|
|
952
|
+
# @!method self.variants
|
|
953
|
+
# @return [Array(XTwitterScraper::Models::UserProfile, XTwitterScraper::Models::CommunityMemberPreview)]
|
|
954
|
+
end
|
|
955
|
+
end
|
|
956
|
+
end
|
|
957
|
+
end
|