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
|
@@ -64,6 +64,21 @@ module XTwitterScraper
|
|
|
64
64
|
sig { returns(XTwitterScraper::Resources::X::Analysis) }
|
|
65
65
|
attr_reader :analysis
|
|
66
66
|
|
|
67
|
+
sig { returns(XTwitterScraper::Resources::X::Broadcasts) }
|
|
68
|
+
attr_reader :broadcasts
|
|
69
|
+
|
|
70
|
+
sig { returns(XTwitterScraper::Resources::X::CommunityNotes) }
|
|
71
|
+
attr_reader :community_notes
|
|
72
|
+
|
|
73
|
+
sig { returns(XTwitterScraper::Resources::X::Jobs) }
|
|
74
|
+
attr_reader :jobs
|
|
75
|
+
|
|
76
|
+
sig { returns(XTwitterScraper::Resources::X::Spaces) }
|
|
77
|
+
attr_reader :spaces
|
|
78
|
+
|
|
79
|
+
sig { returns(XTwitterScraper::Resources::X::Sports) }
|
|
80
|
+
attr_reader :sports
|
|
81
|
+
|
|
67
82
|
# Retrieve the full content of an X Article (long-form post) by numeric tweet ID.
|
|
68
83
|
# Returns article_not_found when the tweet is valid but is not an X Article.
|
|
69
84
|
sig do
|
|
@@ -181,6 +196,277 @@ module XTwitterScraper
|
|
|
181
196
|
)
|
|
182
197
|
end
|
|
183
198
|
|
|
199
|
+
# Returns X's hashflags, the custom emoji X shows after some hashtags. Lists the
|
|
200
|
+
# ones running now unless activeOnly is false. Each returned hashflag costs 1
|
|
201
|
+
# credit.
|
|
202
|
+
sig do
|
|
203
|
+
params(
|
|
204
|
+
q: String,
|
|
205
|
+
active_only: T::Boolean,
|
|
206
|
+
limit: Integer,
|
|
207
|
+
fields: String,
|
|
208
|
+
omit: String,
|
|
209
|
+
request_options: XTwitterScraper::RequestOptions::OrHash
|
|
210
|
+
).returns(XTwitterScraper::Models::XGetHashflagsResponse)
|
|
211
|
+
end
|
|
212
|
+
def get_hashflags(
|
|
213
|
+
# Text the hashtag contains, such as football. Case insensitive. A leading hash
|
|
214
|
+
# sign is ignored. Alias query. A post holds at most 280 characters.
|
|
215
|
+
q: nil,
|
|
216
|
+
# Keeps hashflags that run now. Send false to add ended & upcoming ones.
|
|
217
|
+
active_only: nil,
|
|
218
|
+
# Maximum hashflags to return. Omit it for every match. A low credit balance can
|
|
219
|
+
# return fewer. Aliases pageSize, count, max_results, maxItems, max_items &
|
|
220
|
+
# per_page.
|
|
221
|
+
limit: nil,
|
|
222
|
+
# Fields to keep in each row, comma-separated. Use dots for nested fields, such as
|
|
223
|
+
# author.username. A list keeps the field in each item. Case & underscores do not
|
|
224
|
+
# matter. A row that lacks a field leaves it out. Cursors, counts & diagnostics
|
|
225
|
+
# always stay. An unknown name answers 400 unknown_field with the valid names,
|
|
226
|
+
# before any read. The price stays the same. SDK row types then hold only the
|
|
227
|
+
# named fields. A longer URL fails at the edge before Xquik reads it. Pick only
|
|
228
|
+
# the fields you need with `fields` & `omit`.
|
|
229
|
+
fields: nil,
|
|
230
|
+
# Fields to drop from each row, comma-separated. It takes the same names as
|
|
231
|
+
# fields. With fields, it drops from the kept fields. A longer URL fails at the
|
|
232
|
+
# edge before Xquik reads it.
|
|
233
|
+
omit: nil,
|
|
234
|
+
request_options: {}
|
|
235
|
+
)
|
|
236
|
+
end
|
|
237
|
+
|
|
238
|
+
# Returns each version X wrote of 1 AI news story. Each version has its time,
|
|
239
|
+
# headline & text, oldest first, so you can see how the story changed. Each
|
|
240
|
+
# request costs 1 credit.
|
|
241
|
+
sig do
|
|
242
|
+
params(
|
|
243
|
+
id: String,
|
|
244
|
+
fields: String,
|
|
245
|
+
omit: String,
|
|
246
|
+
request_options: XTwitterScraper::RequestOptions::OrHash
|
|
247
|
+
).returns(XTwitterScraper::Models::XGetNewsStoryVersionsResponse)
|
|
248
|
+
end
|
|
249
|
+
def get_news_story_versions(
|
|
250
|
+
# X news story ID, or the URL-encoded story link, such as
|
|
251
|
+
# x.com/i/trending/2110209733533598095.
|
|
252
|
+
id,
|
|
253
|
+
# Fields to keep in each row, comma-separated. Use dots for nested fields, such as
|
|
254
|
+
# author.username. A list keeps the field in each item. Case & underscores do not
|
|
255
|
+
# matter. A row that lacks a field leaves it out. Cursors, counts & diagnostics
|
|
256
|
+
# always stay. An unknown name answers 400 unknown_field with the valid names,
|
|
257
|
+
# before any read. The price stays the same. SDK row types then hold only the
|
|
258
|
+
# named fields. A longer URL fails at the edge before Xquik reads it. Pick only
|
|
259
|
+
# the fields you need with `fields` & `omit`.
|
|
260
|
+
fields: nil,
|
|
261
|
+
# Fields to drop from each row, comma-separated. It takes the same names as
|
|
262
|
+
# fields. With fields, it drops from the kept fields. A longer URL fails at the
|
|
263
|
+
# edge before Xquik reads it.
|
|
264
|
+
omit: nil,
|
|
265
|
+
request_options: {}
|
|
266
|
+
)
|
|
267
|
+
end
|
|
268
|
+
|
|
269
|
+
# Finds places on X by name. Pass a place's id as place to /x/tweets/search to
|
|
270
|
+
# read posts tagged there. X ranks the places, so their order can differ between
|
|
271
|
+
# requests. Each returned place costs 1 credit. Place searches work with names in
|
|
272
|
+
# 6 languages.
|
|
273
|
+
sig do
|
|
274
|
+
params(
|
|
275
|
+
q: String,
|
|
276
|
+
limit: Integer,
|
|
277
|
+
fields: String,
|
|
278
|
+
omit: String,
|
|
279
|
+
request_options: XTwitterScraper::RequestOptions::OrHash
|
|
280
|
+
).returns(XTwitterScraper::Models::XSearchPlacesResponse)
|
|
281
|
+
end
|
|
282
|
+
def search_places(
|
|
283
|
+
# Place name to search for, such as istanbul. Alias query. Xquik's cap is 4,096
|
|
284
|
+
# characters.
|
|
285
|
+
q:,
|
|
286
|
+
# Maximum places to return. Omit it for every place X finds. A low credit balance
|
|
287
|
+
# can return fewer. Aliases pageSize, count, max_results, maxItems, max_items &
|
|
288
|
+
# per_page.
|
|
289
|
+
limit: nil,
|
|
290
|
+
# Fields to keep in each row, comma-separated. Use dots for nested fields, such as
|
|
291
|
+
# author.username. A list keeps the field in each item. Case & underscores do not
|
|
292
|
+
# matter. A row that lacks a field leaves it out. Cursors, counts & diagnostics
|
|
293
|
+
# always stay. An unknown name answers 400 unknown_field with the valid names,
|
|
294
|
+
# before any read. The price stays the same. SDK row types then hold only the
|
|
295
|
+
# named fields. A longer URL fails at the edge before Xquik reads it. Pick only
|
|
296
|
+
# the fields you need with `fields` & `omit`.
|
|
297
|
+
fields: nil,
|
|
298
|
+
# Fields to drop from each row, comma-separated. It takes the same names as
|
|
299
|
+
# fields. With fields, it drops from the kept fields. A longer URL fails at the
|
|
300
|
+
# edge before Xquik reads it.
|
|
301
|
+
omit: nil,
|
|
302
|
+
request_options: {}
|
|
303
|
+
)
|
|
304
|
+
end
|
|
305
|
+
|
|
306
|
+
# Returns the accounts, topics, hashtags & cashtags X suggests while someone types
|
|
307
|
+
# a search. X may rank them differently per request. Costs 1 credit per
|
|
308
|
+
# suggestion.
|
|
309
|
+
sig do
|
|
310
|
+
params(
|
|
311
|
+
q: String,
|
|
312
|
+
types: String,
|
|
313
|
+
limit: Integer,
|
|
314
|
+
fields: String,
|
|
315
|
+
omit: String,
|
|
316
|
+
request_options: XTwitterScraper::RequestOptions::OrHash
|
|
317
|
+
).returns(XTwitterScraper::Models::SearchSuggestions)
|
|
318
|
+
end
|
|
319
|
+
def autocomplete_search(
|
|
320
|
+
# Text typed so far. Start with # for hashtags or $ for cashtags. A # query
|
|
321
|
+
# returns hashtags & the accounts X suggests for it. Its alias is query. Xquik's
|
|
322
|
+
# cap is 4,096 characters.
|
|
323
|
+
q:,
|
|
324
|
+
# Comma-separated suggestion types from users, topics, hashtags & cashtags. Omit
|
|
325
|
+
# for all. With only hashtags or only cashtags, a query without # or $ still
|
|
326
|
+
# works. Any case works. It allows 66 characters for every choice once with spaces
|
|
327
|
+
# around commas.
|
|
328
|
+
types: nil,
|
|
329
|
+
# Most suggestions to return, from 1 to 100. Default 20. Accounts fill it first,
|
|
330
|
+
# then topics, hashtags & cashtags. A low credit balance can return fewer. Its
|
|
331
|
+
# aliases are pageSize, count, max_results, maxItems, max_items & per_page.
|
|
332
|
+
limit: nil,
|
|
333
|
+
# Fields to keep in each row, comma-separated. Use dots for nested fields, such as
|
|
334
|
+
# author.username. A list keeps the field in each item. Case & underscores do not
|
|
335
|
+
# matter. A row that lacks a field leaves it out. Cursors, counts & diagnostics
|
|
336
|
+
# always stay. An unknown name answers 400 unknown_field with the valid names,
|
|
337
|
+
# before any read. The price stays the same. SDK row types then hold only the
|
|
338
|
+
# named fields. A longer URL fails at the edge before Xquik reads it. Pick only
|
|
339
|
+
# the fields you need with `fields` & `omit`.
|
|
340
|
+
fields: nil,
|
|
341
|
+
# Fields to drop from each row, comma-separated. It takes the same names as
|
|
342
|
+
# fields. With fields, it drops from the kept fields. A longer URL fails at the
|
|
343
|
+
# edge before Xquik reads it.
|
|
344
|
+
omit: nil,
|
|
345
|
+
request_options: {}
|
|
346
|
+
)
|
|
347
|
+
end
|
|
348
|
+
|
|
349
|
+
# Returns the Twitter trends archive of a place, as the lists X showed there over
|
|
350
|
+
# a range of time. Use it for trending on Twitter yesterday, last week or any day
|
|
351
|
+
# since 2026-10-13 02:20 UTC. Xquik stores 1 list per place every 5 minutes and
|
|
352
|
+
# keeps it for 25 months. Pick the place by woeid, country or location name, the
|
|
353
|
+
# range with from & to, and the step with every. from & to take a time or a span
|
|
354
|
+
# back from now, such as 7d, so a schedule can read the last day on every run.
|
|
355
|
+
# Each step returns the first list stored in it, with its own time. Each returned
|
|
356
|
+
# list costs 1 credit, so 24 lists cost 24 credits. A step with no stored list
|
|
357
|
+
# returns none. Empty trend history steps are free. 1 request returns 24 lists, or
|
|
358
|
+
# up to 100 with limit. Trends can be read for any past moment since the archive
|
|
359
|
+
# began.
|
|
360
|
+
sig do
|
|
361
|
+
params(
|
|
362
|
+
woeid: Integer,
|
|
363
|
+
country: String,
|
|
364
|
+
location: String,
|
|
365
|
+
from: String,
|
|
366
|
+
to: String,
|
|
367
|
+
every: String,
|
|
368
|
+
count: Integer,
|
|
369
|
+
limit: Integer,
|
|
370
|
+
cursor: String,
|
|
371
|
+
fields: String,
|
|
372
|
+
omit: String,
|
|
373
|
+
request_options: XTwitterScraper::RequestOptions::OrHash
|
|
374
|
+
).returns(XTwitterScraper::Models::XGetTrendsHistoryResponse)
|
|
375
|
+
end
|
|
376
|
+
def get_trends_history(
|
|
377
|
+
# WOEID of the place, such as 1 for Worldwide or 23424969 for Turkey. It wins over
|
|
378
|
+
# country & location. /x/trends/locations lists every WOEID.
|
|
379
|
+
woeid: nil,
|
|
380
|
+
# Country to read trends history for, by name or 2-letter code, such as Turkey or
|
|
381
|
+
# TR. Case insensitive. X can add places, so Xquik takes up to 280 characters, the
|
|
382
|
+
# most a post holds.
|
|
383
|
+
country: nil,
|
|
384
|
+
# Town or country to read trends history for, by name, such as Istanbul. Case
|
|
385
|
+
# insensitive. Add country when 2 towns share a name. /x/trends/locations lists
|
|
386
|
+
# every name. X can add places, so Xquik takes up to 280 characters, the most a
|
|
387
|
+
# post holds.
|
|
388
|
+
location: nil,
|
|
389
|
+
# Start of the range. Takes an ISO 8601 time, a date such as 2026-10-13, or Unix
|
|
390
|
+
# seconds. A time without a zone reads as UTC. It also takes a span back from now,
|
|
391
|
+
# as a number & s, m, h or d, so from=7d reads the last 7 days. Defaults to 24
|
|
392
|
+
# hours before to. History starts 2026-10-13 02:20 UTC, and a range that begins
|
|
393
|
+
# earlier returns the stored part. A range that ends before the first stored list
|
|
394
|
+
# answers 404 at no charge. Alias sinceTime.
|
|
395
|
+
from: nil,
|
|
396
|
+
# End of the range, which it leaves out. Takes the forms of from, so from=2d with
|
|
397
|
+
# to=1d reads the day before the last 24 hours. Defaults to now. Alias untilTime.
|
|
398
|
+
to: nil,
|
|
399
|
+
# Step between 2 returned lists, as a number & m, h or d, such as 15m, 1h or 1d. A
|
|
400
|
+
# step under 5m returns every stored list.
|
|
401
|
+
every: nil,
|
|
402
|
+
# Trends to return in each list.
|
|
403
|
+
count: nil,
|
|
404
|
+
# Maximum lists 1 request returns & charges. A wider range gives a next_cursor for
|
|
405
|
+
# the next lists. A low credit balance can return fewer.
|
|
406
|
+
limit: nil,
|
|
407
|
+
# The next_cursor of the page before, for the next lists. It keeps the time of the
|
|
408
|
+
# first request, so a range of spans stays the same on every page.
|
|
409
|
+
cursor: nil,
|
|
410
|
+
# Fields to keep in each row, comma-separated. Use dots for nested fields, such as
|
|
411
|
+
# author.username. A list keeps the field in each item. Case & underscores do not
|
|
412
|
+
# matter. A row that lacks a field leaves it out. Cursors, counts & diagnostics
|
|
413
|
+
# always stay. An unknown name answers 400 unknown_field with the valid names,
|
|
414
|
+
# before any read. The price stays the same. SDK row types then hold only the
|
|
415
|
+
# named fields. A longer URL fails at the edge before Xquik reads it. Pick only
|
|
416
|
+
# the fields you need with `fields` & `omit`.
|
|
417
|
+
fields: nil,
|
|
418
|
+
# Fields to drop from each row, comma-separated. It takes the same names as
|
|
419
|
+
# fields. With fields, it drops from the kept fields. A longer URL fails at the
|
|
420
|
+
# edge before Xquik reads it.
|
|
421
|
+
omit: nil,
|
|
422
|
+
request_options: {}
|
|
423
|
+
)
|
|
424
|
+
end
|
|
425
|
+
|
|
426
|
+
# Returns the places X offers trends for. Pass a location's woeid to /x/trends.
|
|
427
|
+
# Each returned location costs 1 credit.
|
|
428
|
+
sig do
|
|
429
|
+
params(
|
|
430
|
+
country: String,
|
|
431
|
+
place_type:
|
|
432
|
+
XTwitterScraper::Models::XGetTrendLocationsParams::PlaceType::OrSymbol,
|
|
433
|
+
q: String,
|
|
434
|
+
limit: Integer,
|
|
435
|
+
fields: String,
|
|
436
|
+
omit: String,
|
|
437
|
+
request_options: XTwitterScraper::RequestOptions::OrHash
|
|
438
|
+
).returns(XTwitterScraper::Models::XGetTrendLocationsResponse)
|
|
439
|
+
end
|
|
440
|
+
def get_trend_locations(
|
|
441
|
+
# Country name or 2-letter code, such as Turkey or TR. Case insensitive. Returns
|
|
442
|
+
# the country & its towns. X can add places, so Xquik takes up to 280 characters,
|
|
443
|
+
# the most a post holds.
|
|
444
|
+
country: nil,
|
|
445
|
+
# Kind of place. Case insensitive. X labels a few towns unknown.
|
|
446
|
+
place_type: nil,
|
|
447
|
+
# Text the location name contains, such as york. Case insensitive. Alias query. X
|
|
448
|
+
# can add places, so Xquik takes up to 280 characters, the most a post holds.
|
|
449
|
+
q: nil,
|
|
450
|
+
# Maximum locations to return. Omit it for every match. A low credit balance can
|
|
451
|
+
# return fewer. Aliases pageSize, count, max_results, maxItems, max_items &
|
|
452
|
+
# per_page.
|
|
453
|
+
limit: nil,
|
|
454
|
+
# Fields to keep in each row, comma-separated. Use dots for nested fields, such as
|
|
455
|
+
# author.username. A list keeps the field in each item. Case & underscores do not
|
|
456
|
+
# matter. A row that lacks a field leaves it out. Cursors, counts & diagnostics
|
|
457
|
+
# always stay. An unknown name answers 400 unknown_field with the valid names,
|
|
458
|
+
# before any read. The price stays the same. SDK row types then hold only the
|
|
459
|
+
# named fields. A longer URL fails at the edge before Xquik reads it. Pick only
|
|
460
|
+
# the fields you need with `fields` & `omit`.
|
|
461
|
+
fields: nil,
|
|
462
|
+
# Fields to drop from each row, comma-separated. It takes the same names as
|
|
463
|
+
# fields. With fields, it drops from the kept fields. A longer URL fails at the
|
|
464
|
+
# edge before Xquik reads it.
|
|
465
|
+
omit: nil,
|
|
466
|
+
request_options: {}
|
|
467
|
+
)
|
|
468
|
+
end
|
|
469
|
+
|
|
184
470
|
# @api private
|
|
185
471
|
sig { params(client: XTwitterScraper::Client).returns(T.attached_class) }
|
|
186
472
|
def self.new(client:)
|
|
@@ -48,6 +48,8 @@ module XTwitterScraper
|
|
|
48
48
|
|
|
49
49
|
attr_reader guest_wallets: XTwitterScraper::Resources::GuestWallets
|
|
50
50
|
|
|
51
|
+
attr_reader activity: XTwitterScraper::Resources::Activity
|
|
52
|
+
|
|
51
53
|
private def auth_headers: (
|
|
52
54
|
security: { auth_api_key: bool, oauth_bearer: bool }
|
|
53
55
|
) -> ::Hash[String, String]
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: 2026 Xquik contributors
|
|
2
|
+
#
|
|
3
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
|
|
5
|
+
module XTwitterScraper
|
|
6
|
+
module Internal
|
|
7
|
+
class Stream[Elem]
|
|
8
|
+
include Enumerable[Elem]
|
|
9
|
+
|
|
10
|
+
def initialize: (
|
|
11
|
+
model: XTwitterScraper::Internal::Type::Converter::input,
|
|
12
|
+
stream: Enumerable[::Hash[Symbol, top]],
|
|
13
|
+
**top
|
|
14
|
+
) -> void
|
|
15
|
+
|
|
16
|
+
def each: { (Elem arg0) -> void } -> void
|
|
17
|
+
|
|
18
|
+
def close: -> void
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: 2026 Xquik contributors
|
|
2
|
+
#
|
|
3
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
|
|
5
|
+
module XTwitterScraper
|
|
6
|
+
module Models
|
|
7
|
+
type activity_export_params =
|
|
8
|
+
{
|
|
9
|
+
format_: XTwitterScraper::Models::ActivityExportParams::format_,
|
|
10
|
+
limit: Integer,
|
|
11
|
+
category: String,
|
|
12
|
+
status: String,
|
|
13
|
+
q: String,
|
|
14
|
+
since: XTwitterScraper::Models::ActivityExportParams::since,
|
|
15
|
+
until_: XTwitterScraper::Models::ActivityExportParams::until_
|
|
16
|
+
}
|
|
17
|
+
& XTwitterScraper::Internal::Type::request_parameters
|
|
18
|
+
|
|
19
|
+
class ActivityExportParams < XTwitterScraper::Internal::Type::BaseModel
|
|
20
|
+
extend XTwitterScraper::Internal::Type::RequestParameters::Converter
|
|
21
|
+
include XTwitterScraper::Internal::Type::RequestParameters
|
|
22
|
+
|
|
23
|
+
attr_accessor format_: XTwitterScraper::Models::ActivityExportParams::format_
|
|
24
|
+
|
|
25
|
+
attr_reader limit: Integer?
|
|
26
|
+
|
|
27
|
+
def limit=: (Integer) -> Integer
|
|
28
|
+
|
|
29
|
+
attr_reader category: String?
|
|
30
|
+
|
|
31
|
+
def category=: (String) -> String
|
|
32
|
+
|
|
33
|
+
attr_reader status: String?
|
|
34
|
+
|
|
35
|
+
def status=: (String) -> String
|
|
36
|
+
|
|
37
|
+
attr_reader q: String?
|
|
38
|
+
|
|
39
|
+
def q=: (String) -> String
|
|
40
|
+
|
|
41
|
+
attr_reader since: XTwitterScraper::Models::ActivityExportParams::since?
|
|
42
|
+
|
|
43
|
+
def since=: (
|
|
44
|
+
XTwitterScraper::Models::ActivityExportParams::since
|
|
45
|
+
) -> XTwitterScraper::Models::ActivityExportParams::since
|
|
46
|
+
|
|
47
|
+
attr_reader until_: XTwitterScraper::Models::ActivityExportParams::until_?
|
|
48
|
+
|
|
49
|
+
def until_=: (
|
|
50
|
+
XTwitterScraper::Models::ActivityExportParams::until_
|
|
51
|
+
) -> XTwitterScraper::Models::ActivityExportParams::until_
|
|
52
|
+
|
|
53
|
+
def initialize: (
|
|
54
|
+
format_: XTwitterScraper::Models::ActivityExportParams::format_,
|
|
55
|
+
?limit: Integer,
|
|
56
|
+
?category: String,
|
|
57
|
+
?status: String,
|
|
58
|
+
?q: String,
|
|
59
|
+
?since: XTwitterScraper::Models::ActivityExportParams::since,
|
|
60
|
+
?until_: XTwitterScraper::Models::ActivityExportParams::until_,
|
|
61
|
+
?request_options: XTwitterScraper::request_opts
|
|
62
|
+
) -> void
|
|
63
|
+
|
|
64
|
+
def to_hash: -> {
|
|
65
|
+
format_: XTwitterScraper::Models::ActivityExportParams::format_,
|
|
66
|
+
limit: Integer,
|
|
67
|
+
category: String,
|
|
68
|
+
status: String,
|
|
69
|
+
q: String,
|
|
70
|
+
since: XTwitterScraper::Models::ActivityExportParams::since,
|
|
71
|
+
until_: XTwitterScraper::Models::ActivityExportParams::until_,
|
|
72
|
+
request_options: XTwitterScraper::RequestOptions
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
type format_ = :json | :csv | :xlsx | :md | :"md-document" | :pdf | :txt
|
|
76
|
+
|
|
77
|
+
module Format
|
|
78
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
79
|
+
|
|
80
|
+
JSON: :json
|
|
81
|
+
CSV: :csv
|
|
82
|
+
XLSX: :xlsx
|
|
83
|
+
MD: :md
|
|
84
|
+
MD_DOCUMENT: :"md-document"
|
|
85
|
+
PDF: :pdf
|
|
86
|
+
TXT: :txt
|
|
87
|
+
|
|
88
|
+
def self?.values: -> ::Array[XTwitterScraper::Models::ActivityExportParams::format_]
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
type since = String | Time
|
|
92
|
+
|
|
93
|
+
module Since
|
|
94
|
+
extend XTwitterScraper::Internal::Type::Union
|
|
95
|
+
|
|
96
|
+
def self?.variants: -> ::Array[XTwitterScraper::Models::ActivityExportParams::since]
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
type until_ = String | Time
|
|
100
|
+
|
|
101
|
+
module Until
|
|
102
|
+
extend XTwitterScraper::Internal::Type::Union
|
|
103
|
+
|
|
104
|
+
def self?.variants: -> ::Array[XTwitterScraper::Models::ActivityExportParams::until_]
|
|
105
|
+
end
|
|
106
|
+
end
|
|
107
|
+
end
|
|
108
|
+
end
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: 2026 Xquik contributors
|
|
2
|
+
#
|
|
3
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
|
|
5
|
+
module XTwitterScraper
|
|
6
|
+
module Models
|
|
7
|
+
type activity_list_params =
|
|
8
|
+
{
|
|
9
|
+
format_: XTwitterScraper::Models::ActivityListParams::format_,
|
|
10
|
+
limit: Integer,
|
|
11
|
+
category: String,
|
|
12
|
+
status: String,
|
|
13
|
+
q: String,
|
|
14
|
+
since: XTwitterScraper::Models::ActivityListParams::since,
|
|
15
|
+
until_: XTwitterScraper::Models::ActivityListParams::until_
|
|
16
|
+
}
|
|
17
|
+
& XTwitterScraper::Internal::Type::request_parameters
|
|
18
|
+
|
|
19
|
+
class ActivityListParams < XTwitterScraper::Internal::Type::BaseModel
|
|
20
|
+
extend XTwitterScraper::Internal::Type::RequestParameters::Converter
|
|
21
|
+
include XTwitterScraper::Internal::Type::RequestParameters
|
|
22
|
+
|
|
23
|
+
attr_reader format_: XTwitterScraper::Models::ActivityListParams::format_?
|
|
24
|
+
|
|
25
|
+
def format_=: (
|
|
26
|
+
XTwitterScraper::Models::ActivityListParams::format_
|
|
27
|
+
) -> XTwitterScraper::Models::ActivityListParams::format_
|
|
28
|
+
|
|
29
|
+
attr_reader limit: Integer?
|
|
30
|
+
|
|
31
|
+
def limit=: (Integer) -> Integer
|
|
32
|
+
|
|
33
|
+
attr_reader category: String?
|
|
34
|
+
|
|
35
|
+
def category=: (String) -> String
|
|
36
|
+
|
|
37
|
+
attr_reader status: String?
|
|
38
|
+
|
|
39
|
+
def status=: (String) -> String
|
|
40
|
+
|
|
41
|
+
attr_reader q: String?
|
|
42
|
+
|
|
43
|
+
def q=: (String) -> String
|
|
44
|
+
|
|
45
|
+
attr_reader since: XTwitterScraper::Models::ActivityListParams::since?
|
|
46
|
+
|
|
47
|
+
def since=: (
|
|
48
|
+
XTwitterScraper::Models::ActivityListParams::since
|
|
49
|
+
) -> XTwitterScraper::Models::ActivityListParams::since
|
|
50
|
+
|
|
51
|
+
attr_reader until_: XTwitterScraper::Models::ActivityListParams::until_?
|
|
52
|
+
|
|
53
|
+
def until_=: (
|
|
54
|
+
XTwitterScraper::Models::ActivityListParams::until_
|
|
55
|
+
) -> XTwitterScraper::Models::ActivityListParams::until_
|
|
56
|
+
|
|
57
|
+
def initialize: (
|
|
58
|
+
?format_: XTwitterScraper::Models::ActivityListParams::format_,
|
|
59
|
+
?limit: Integer,
|
|
60
|
+
?category: String,
|
|
61
|
+
?status: String,
|
|
62
|
+
?q: String,
|
|
63
|
+
?since: XTwitterScraper::Models::ActivityListParams::since,
|
|
64
|
+
?until_: XTwitterScraper::Models::ActivityListParams::until_,
|
|
65
|
+
?request_options: XTwitterScraper::request_opts
|
|
66
|
+
) -> void
|
|
67
|
+
|
|
68
|
+
def to_hash: -> {
|
|
69
|
+
format_: XTwitterScraper::Models::ActivityListParams::format_,
|
|
70
|
+
limit: Integer,
|
|
71
|
+
category: String,
|
|
72
|
+
status: String,
|
|
73
|
+
q: String,
|
|
74
|
+
since: XTwitterScraper::Models::ActivityListParams::since,
|
|
75
|
+
until_: XTwitterScraper::Models::ActivityListParams::until_,
|
|
76
|
+
request_options: XTwitterScraper::RequestOptions
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
type format_ = :json
|
|
80
|
+
|
|
81
|
+
module Format
|
|
82
|
+
extend XTwitterScraper::Internal::Type::Enum
|
|
83
|
+
|
|
84
|
+
JSON: :json
|
|
85
|
+
|
|
86
|
+
def self?.values: -> ::Array[XTwitterScraper::Models::ActivityListParams::format_]
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
type since = String | Time
|
|
90
|
+
|
|
91
|
+
module Since
|
|
92
|
+
extend XTwitterScraper::Internal::Type::Union
|
|
93
|
+
|
|
94
|
+
def self?.variants: -> ::Array[XTwitterScraper::Models::ActivityListParams::since]
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
type until_ = String | Time
|
|
98
|
+
|
|
99
|
+
module Until
|
|
100
|
+
extend XTwitterScraper::Internal::Type::Union
|
|
101
|
+
|
|
102
|
+
def self?.variants: -> ::Array[XTwitterScraper::Models::ActivityListParams::until_]
|
|
103
|
+
end
|
|
104
|
+
end
|
|
105
|
+
end
|
|
106
|
+
end
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: 2026 Xquik contributors
|
|
2
|
+
#
|
|
3
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
|
|
5
|
+
module XTwitterScraper
|
|
6
|
+
module Models
|
|
7
|
+
type activity_list_response =
|
|
8
|
+
::Array[XTwitterScraper::Models::ActivityLogRow]
|
|
9
|
+
|
|
10
|
+
ActivityListResponse: XTwitterScraper::Internal::Type::Converter
|
|
11
|
+
end
|
|
12
|
+
end
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: 2026 Xquik contributors
|
|
2
|
+
#
|
|
3
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
|
|
5
|
+
module XTwitterScraper
|
|
6
|
+
module Models
|
|
7
|
+
type activity_log_row =
|
|
8
|
+
{
|
|
9
|
+
time: String,
|
|
10
|
+
category: String,
|
|
11
|
+
type: String,
|
|
12
|
+
activity: String,
|
|
13
|
+
status: String,
|
|
14
|
+
source: String,
|
|
15
|
+
target: String,
|
|
16
|
+
results: XTwitterScraper::Models::ActivityLogRow::results,
|
|
17
|
+
credits: XTwitterScraper::Models::ActivityLogRow::credits,
|
|
18
|
+
details: String,
|
|
19
|
+
id: String,
|
|
20
|
+
link: String
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
class ActivityLogRow < XTwitterScraper::Internal::Type::BaseModel
|
|
24
|
+
attr_accessor time: String
|
|
25
|
+
|
|
26
|
+
attr_accessor category: String
|
|
27
|
+
|
|
28
|
+
attr_accessor type: String
|
|
29
|
+
|
|
30
|
+
attr_accessor activity: String
|
|
31
|
+
|
|
32
|
+
attr_accessor status: String
|
|
33
|
+
|
|
34
|
+
attr_accessor source: String
|
|
35
|
+
|
|
36
|
+
attr_accessor target: String
|
|
37
|
+
|
|
38
|
+
attr_accessor results: XTwitterScraper::Models::ActivityLogRow::results
|
|
39
|
+
|
|
40
|
+
attr_accessor credits: XTwitterScraper::Models::ActivityLogRow::credits
|
|
41
|
+
|
|
42
|
+
attr_accessor details: String
|
|
43
|
+
|
|
44
|
+
attr_accessor id: String
|
|
45
|
+
|
|
46
|
+
attr_accessor link: String
|
|
47
|
+
|
|
48
|
+
def initialize: (
|
|
49
|
+
time: String,
|
|
50
|
+
category: String,
|
|
51
|
+
type: String,
|
|
52
|
+
activity: String,
|
|
53
|
+
status: String,
|
|
54
|
+
source: String,
|
|
55
|
+
target: String,
|
|
56
|
+
results: XTwitterScraper::Models::ActivityLogRow::results,
|
|
57
|
+
credits: XTwitterScraper::Models::ActivityLogRow::credits,
|
|
58
|
+
details: String,
|
|
59
|
+
id: String,
|
|
60
|
+
link: String
|
|
61
|
+
) -> void
|
|
62
|
+
|
|
63
|
+
def to_hash: -> {
|
|
64
|
+
time: String,
|
|
65
|
+
category: String,
|
|
66
|
+
type: String,
|
|
67
|
+
activity: String,
|
|
68
|
+
status: String,
|
|
69
|
+
source: String,
|
|
70
|
+
target: String,
|
|
71
|
+
results: XTwitterScraper::Models::ActivityLogRow::results,
|
|
72
|
+
credits: XTwitterScraper::Models::ActivityLogRow::credits,
|
|
73
|
+
details: String,
|
|
74
|
+
id: String,
|
|
75
|
+
link: String
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
type results = Integer | String
|
|
79
|
+
|
|
80
|
+
module Results
|
|
81
|
+
extend XTwitterScraper::Internal::Type::Union
|
|
82
|
+
|
|
83
|
+
def self?.variants: -> ::Array[XTwitterScraper::Models::ActivityLogRow::results]
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
type credits = Integer | String
|
|
87
|
+
|
|
88
|
+
module Credits
|
|
89
|
+
extend XTwitterScraper::Internal::Type::Union
|
|
90
|
+
|
|
91
|
+
def self?.variants: -> ::Array[XTwitterScraper::Models::ActivityLogRow::credits]
|
|
92
|
+
end
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
end
|