x-twitter-scraper 0.3.0 → 0.4.1
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 +33 -0
- data/README.md +12 -7
- data/lib/x_twitter_scraper/models/api_key.rb +2 -0
- data/lib/x_twitter_scraper/models/api_key_list_response.rb +3 -44
- data/lib/x_twitter_scraper/models/delivery.rb +2 -0
- data/lib/x_twitter_scraper/models/draft.rb +2 -0
- data/lib/x_twitter_scraper/models/draft_detail.rb +3 -0
- data/lib/x_twitter_scraper/models/draft_list_params.rb +2 -1
- data/lib/x_twitter_scraper/models/draft_list_response.rb +3 -38
- data/lib/x_twitter_scraper/models/draw_detail.rb +2 -0
- data/lib/x_twitter_scraper/models/draw_export_params.rb +3 -1
- data/lib/x_twitter_scraper/models/draw_list_item.rb +2 -0
- data/lib/x_twitter_scraper/models/draw_list_params.rb +4 -3
- data/lib/x_twitter_scraper/models/draw_list_response.rb +3 -50
- data/lib/x_twitter_scraper/models/draw_retrieve_response.rb +8 -124
- data/lib/x_twitter_scraper/models/draw_run_response.rb +3 -32
- data/lib/x_twitter_scraper/models/error.rb +2 -0
- data/lib/x_twitter_scraper/models/event.rb +11 -18
- data/lib/x_twitter_scraper/models/event_detail.rb +7 -18
- data/lib/x_twitter_scraper/models/event_list_params.rb +10 -21
- data/lib/x_twitter_scraper/models/event_list_response.rb +3 -59
- data/lib/x_twitter_scraper/models/event_type.rb +1 -0
- data/lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb +9 -7
- data/lib/x_twitter_scraper/models/extraction_export_results_params.rb +5 -1
- data/lib/x_twitter_scraper/models/extraction_job.rb +11 -1
- data/lib/x_twitter_scraper/models/extraction_list_params.rb +10 -5
- data/lib/x_twitter_scraper/models/extraction_list_response.rb +3 -87
- data/lib/x_twitter_scraper/models/extraction_retrieve_params.rb +4 -3
- data/lib/x_twitter_scraper/models/extraction_run_params.rb +3 -1
- data/lib/x_twitter_scraper/models/extraction_run_response.rb +10 -15
- data/lib/x_twitter_scraper/models/integration.rb +12 -32
- data/lib/x_twitter_scraper/models/integration_create_params.rb +8 -32
- data/lib/x_twitter_scraper/models/integration_delivery.rb +2 -0
- data/lib/x_twitter_scraper/models/integration_list_deliveries_params.rb +4 -1
- data/lib/x_twitter_scraper/models/integration_list_deliveries_response.rb +3 -67
- data/lib/x_twitter_scraper/models/integration_list_response.rb +3 -112
- data/lib/x_twitter_scraper/models/integration_update_params.rb +4 -19
- data/lib/x_twitter_scraper/models/monitor.rb +12 -17
- data/lib/x_twitter_scraper/models/monitor_create_params.rb +4 -19
- data/lib/x_twitter_scraper/models/monitor_create_response.rb +8 -17
- data/lib/x_twitter_scraper/models/monitor_list_response.rb +3 -60
- data/lib/x_twitter_scraper/models/monitor_update_params.rb +7 -19
- data/lib/x_twitter_scraper/models/paginated_tweets.rb +5 -96
- data/lib/x_twitter_scraper/models/paginated_users.rb +5 -73
- data/lib/x_twitter_scraper/models/radar_item.rb +2 -0
- data/lib/x_twitter_scraper/models/radar_retrieve_trending_topics_params.rb +20 -3
- data/lib/x_twitter_scraper/models/radar_retrieve_trending_topics_response.rb +3 -62
- data/lib/x_twitter_scraper/models/style_compare_response.rb +9 -134
- data/lib/x_twitter_scraper/models/style_delete_params.rb +4 -4
- data/lib/x_twitter_scraper/models/style_get_performance_params.rb +4 -4
- data/lib/x_twitter_scraper/models/style_list_response.rb +3 -32
- data/lib/x_twitter_scraper/models/style_profile.rb +3 -0
- data/lib/x_twitter_scraper/models/style_profile_summary.rb +2 -0
- data/lib/x_twitter_scraper/models/style_retrieve_params.rb +4 -4
- data/lib/x_twitter_scraper/models/style_update_params.rb +4 -4
- data/lib/x_twitter_scraper/models/trend_list_params.rb +2 -1
- data/lib/x_twitter_scraper/models/webhook.rb +11 -17
- data/lib/x_twitter_scraper/models/webhook_create_params.rb +4 -19
- data/lib/x_twitter_scraper/models/webhook_create_response.rb +8 -17
- data/lib/x_twitter_scraper/models/webhook_list_deliveries_response.rb +3 -56
- data/lib/x_twitter_scraper/models/webhook_list_response.rb +3 -54
- data/lib/x_twitter_scraper/models/webhook_update_params.rb +8 -19
- data/lib/x_twitter_scraper/models/winner.rb +2 -0
- data/lib/x_twitter_scraper/models/x/account_bulk_retry_params.rb +16 -0
- data/lib/x_twitter_scraper/models/x/account_bulk_retry_response.rb +19 -0
- data/lib/x_twitter_scraper/models/x/account_list_response.rb +3 -38
- data/lib/x_twitter_scraper/models/x/account_reauth_params.rb +4 -4
- data/lib/x_twitter_scraper/models/x/bookmark_list_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/communities/join_create_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/communities/join_delete_all_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/communities/tweet_list_by_community_params.rb +33 -0
- data/lib/x_twitter_scraper/models/x/communities/tweet_list_params.rb +6 -6
- data/lib/x_twitter_scraper/models/x/community_action_result.rb +2 -0
- data/lib/x_twitter_scraper/models/x/community_create_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/community_delete_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/community_retrieve_info_response.rb +6 -6
- data/lib/x_twitter_scraper/models/x/community_retrieve_moderators_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/community_retrieve_search_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/dm_retrieve_history_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/dm_send_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/list_retrieve_followers_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/list_retrieve_members_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/list_retrieve_tweets_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/media_upload_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/profile_update_avatar_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/profile_update_banner_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/profile_update_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/search_tweet.rb +20 -1
- data/lib/x_twitter_scraper/models/x/tweet_author.rb +2 -0
- data/lib/x_twitter_scraper/models/x/tweet_delete_params.rb +6 -6
- data/lib/x_twitter_scraper/models/x/tweet_detail.rb +109 -1
- data/lib/x_twitter_scraper/models/x/tweet_get_favoriters_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/tweet_get_quotes_params.rb +8 -8
- data/lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb +6 -6
- data/lib/x_twitter_scraper/models/x/tweet_get_retweeters_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/tweet_get_thread_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/tweet_retrieve_params.rb +4 -4
- data/lib/x_twitter_scraper/models/x/tweet_retrieve_response.rb +9 -100
- data/lib/x_twitter_scraper/models/x/tweet_search_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/tweets/like_create_params.rb +6 -6
- data/lib/x_twitter_scraper/models/x/tweets/like_delete_params.rb +6 -6
- data/lib/x_twitter_scraper/models/x/tweets/retweet_create_params.rb +6 -6
- data/lib/x_twitter_scraper/models/x/tweets/retweet_delete_params.rb +6 -6
- data/lib/x_twitter_scraper/models/x/user_profile.rb +3 -0
- data/lib/x_twitter_scraper/models/x/user_retrieve_followers_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/user_retrieve_followers_you_know_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/user_retrieve_following_params.rb +4 -4
- data/lib/x_twitter_scraper/models/x/user_retrieve_likes_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/user_retrieve_media_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/user_retrieve_mentions_params.rb +6 -6
- data/lib/x_twitter_scraper/models/x/user_retrieve_params.rb +4 -4
- data/lib/x_twitter_scraper/models/x/user_retrieve_search_params.rb +4 -4
- data/lib/x_twitter_scraper/models/x/user_retrieve_tweets_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/users/follow_create_params.rb +6 -6
- data/lib/x_twitter_scraper/models/x/users/follow_delete_all_params.rb +6 -6
- data/lib/x_twitter_scraper/models/x/x_account.rb +2 -0
- data/lib/x_twitter_scraper/models/x/x_account_detail.rb +3 -0
- data/lib/x_twitter_scraper/models/x_get_article_response.rb +5 -38
- data/lib/x_twitter_scraper/models/x_get_home_timeline_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x_get_notifications_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x_get_trends_response.rb +57 -0
- data/lib/x_twitter_scraper/resources/drafts.rb +5 -5
- data/lib/x_twitter_scraper/resources/draws.rb +3 -3
- data/lib/x_twitter_scraper/resources/events.rb +6 -6
- data/lib/x_twitter_scraper/resources/extractions.rb +12 -12
- data/lib/x_twitter_scraper/resources/integrations.rb +11 -11
- data/lib/x_twitter_scraper/resources/monitors.rb +6 -6
- data/lib/x_twitter_scraper/resources/radar.rb +1 -1
- data/lib/x_twitter_scraper/resources/styles.rb +22 -22
- data/lib/x_twitter_scraper/resources/support/tickets.rb +8 -3
- data/lib/x_twitter_scraper/resources/trends.rb +2 -2
- data/lib/x_twitter_scraper/resources/webhooks.rb +4 -4
- data/lib/x_twitter_scraper/resources/x/accounts.rb +24 -4
- data/lib/x_twitter_scraper/resources/x/bookmarks.rb +3 -3
- data/lib/x_twitter_scraper/resources/x/communities/join.rb +6 -6
- data/lib/x_twitter_scraper/resources/x/communities/tweets.rb +30 -5
- data/lib/x_twitter_scraper/resources/x/communities.rb +12 -12
- data/lib/x_twitter_scraper/resources/x/dm.rb +2 -2
- data/lib/x_twitter_scraper/resources/x/lists.rb +11 -11
- data/lib/x_twitter_scraper/resources/x/media.rb +1 -1
- data/lib/x_twitter_scraper/resources/x/profile.rb +3 -3
- data/lib/x_twitter_scraper/resources/x/tweets/like.rb +10 -10
- data/lib/x_twitter_scraper/resources/x/tweets/retweet.rb +10 -10
- data/lib/x_twitter_scraper/resources/x/tweets.rb +46 -39
- data/lib/x_twitter_scraper/resources/x/users/follow.rb +10 -10
- data/lib/x_twitter_scraper/resources/x/users.rb +45 -45
- data/lib/x_twitter_scraper/resources/x.rb +13 -7
- data/lib/x_twitter_scraper/version.rb +1 -1
- data/lib/x_twitter_scraper.rb +4 -28
- data/rbi/x_twitter_scraper/models/api_key.rbi +1 -0
- data/rbi/x_twitter_scraper/models/api_key_list_response.rbi +5 -78
- data/rbi/x_twitter_scraper/models/delivery.rbi +1 -0
- data/rbi/x_twitter_scraper/models/draft.rbi +1 -0
- data/rbi/x_twitter_scraper/models/draft_detail.rbi +1 -0
- data/rbi/x_twitter_scraper/models/draft_list_params.rbi +2 -0
- data/rbi/x_twitter_scraper/models/draft_list_response.rbi +3 -63
- data/rbi/x_twitter_scraper/models/draw_detail.rbi +1 -0
- data/rbi/x_twitter_scraper/models/draw_export_params.rbi +3 -0
- data/rbi/x_twitter_scraper/models/draw_list_item.rbi +1 -0
- data/rbi/x_twitter_scraper/models/draw_list_params.rbi +4 -2
- data/rbi/x_twitter_scraper/models/draw_list_response.rbi +3 -76
- data/rbi/x_twitter_scraper/models/draw_retrieve_response.rbi +13 -178
- data/rbi/x_twitter_scraper/models/draw_run_response.rbi +3 -52
- data/rbi/x_twitter_scraper/models/error.rbi +1 -0
- data/rbi/x_twitter_scraper/models/event.rbi +14 -31
- data/rbi/x_twitter_scraper/models/event_detail.rbi +6 -47
- data/rbi/x_twitter_scraper/models/event_list_params.rbi +12 -63
- data/rbi/x_twitter_scraper/models/event_list_response.rbi +3 -122
- data/rbi/x_twitter_scraper/models/event_type.rbi +1 -0
- data/rbi/x_twitter_scraper/models/extraction_estimate_cost_params.rbi +9 -6
- data/rbi/x_twitter_scraper/models/extraction_export_results_params.rbi +8 -1
- data/rbi/x_twitter_scraper/models/extraction_job.rbi +8 -4
- data/rbi/x_twitter_scraper/models/extraction_list_params.rbi +10 -2
- data/rbi/x_twitter_scraper/models/extraction_list_response.rbi +3 -254
- data/rbi/x_twitter_scraper/models/extraction_retrieve_params.rbi +4 -2
- data/rbi/x_twitter_scraper/models/extraction_run_params.rbi +3 -0
- data/rbi/x_twitter_scraper/models/extraction_run_response.rbi +12 -40
- data/rbi/x_twitter_scraper/models/integration.rbi +12 -81
- data/rbi/x_twitter_scraper/models/integration_create_params.rbi +9 -96
- data/rbi/x_twitter_scraper/models/integration_delivery.rbi +1 -0
- data/rbi/x_twitter_scraper/models/integration_list_deliveries_params.rbi +7 -1
- data/rbi/x_twitter_scraper/models/integration_list_deliveries_response.rbi +3 -119
- data/rbi/x_twitter_scraper/models/integration_list_response.rbi +3 -227
- data/rbi/x_twitter_scraper/models/integration_update_params.rbi +6 -74
- data/rbi/x_twitter_scraper/models/monitor.rbi +6 -48
- data/rbi/x_twitter_scraper/models/monitor_create_params.rbi +5 -62
- data/rbi/x_twitter_scraper/models/monitor_create_response.rbi +12 -70
- data/rbi/x_twitter_scraper/models/monitor_list_response.rbi +3 -141
- data/rbi/x_twitter_scraper/models/monitor_update_params.rbi +12 -69
- data/rbi/x_twitter_scraper/models/paginated_tweets.rbi +4 -169
- data/rbi/x_twitter_scraper/models/paginated_users.rbi +4 -120
- data/rbi/x_twitter_scraper/models/radar_item.rbi +1 -0
- data/rbi/x_twitter_scraper/models/radar_retrieve_trending_topics_params.rbi +78 -4
- data/rbi/x_twitter_scraper/models/radar_retrieve_trending_topics_response.rbi +3 -108
- data/rbi/x_twitter_scraper/models/style_compare_response.rbi +16 -259
- data/rbi/x_twitter_scraper/models/style_delete_params.rbi +4 -4
- data/rbi/x_twitter_scraper/models/style_get_performance_params.rbi +4 -4
- data/rbi/x_twitter_scraper/models/style_list_response.rbi +3 -54
- data/rbi/x_twitter_scraper/models/style_profile.rbi +1 -0
- data/rbi/x_twitter_scraper/models/style_profile_summary.rbi +1 -0
- data/rbi/x_twitter_scraper/models/style_retrieve_params.rbi +4 -4
- data/rbi/x_twitter_scraper/models/style_update_params.rbi +4 -4
- data/rbi/x_twitter_scraper/models/trend_list_params.rbi +2 -0
- data/rbi/x_twitter_scraper/models/webhook.rbi +13 -49
- data/rbi/x_twitter_scraper/models/webhook_create_params.rbi +5 -62
- data/rbi/x_twitter_scraper/models/webhook_create_response.rbi +12 -70
- data/rbi/x_twitter_scraper/models/webhook_list_deliveries_response.rbi +5 -105
- data/rbi/x_twitter_scraper/models/webhook_list_response.rbi +5 -134
- data/rbi/x_twitter_scraper/models/webhook_update_params.rbi +6 -68
- data/rbi/x_twitter_scraper/models/winner.rbi +1 -0
- data/rbi/x_twitter_scraper/models/x/account_bulk_retry_params.rbi +34 -0
- data/rbi/x_twitter_scraper/models/x/account_bulk_retry_response.rbi +32 -0
- data/rbi/x_twitter_scraper/models/x/account_list_response.rbi +3 -68
- data/rbi/x_twitter_scraper/models/x/account_reauth_params.rbi +4 -4
- data/rbi/x_twitter_scraper/models/x/bookmark_list_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/communities/join_create_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/communities/join_delete_all_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/communities/tweet_list_by_community_params.rbi +59 -0
- data/rbi/x_twitter_scraper/models/x/communities/tweet_list_params.rbi +6 -6
- data/rbi/x_twitter_scraper/models/x/community_action_result.rbi +1 -0
- data/rbi/x_twitter_scraper/models/x/community_create_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/community_delete_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/community_retrieve_info_response.rbi +6 -6
- data/rbi/x_twitter_scraper/models/x/community_retrieve_moderators_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/community_retrieve_search_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/dm_retrieve_history_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/dm_send_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/list_retrieve_followers_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/list_retrieve_members_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/list_retrieve_tweets_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/media_upload_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/profile_update_avatar_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/profile_update_banner_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/profile_update_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/search_tweet.rbi +12 -0
- data/rbi/x_twitter_scraper/models/x/tweet_author.rbi +1 -0
- data/rbi/x_twitter_scraper/models/x/tweet_delete_params.rbi +6 -6
- data/rbi/x_twitter_scraper/models/x/tweet_detail.rbi +195 -3
- data/rbi/x_twitter_scraper/models/x/tweet_get_favoriters_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/tweet_get_quotes_params.rbi +8 -8
- data/rbi/x_twitter_scraper/models/x/tweet_get_replies_params.rbi +6 -6
- data/rbi/x_twitter_scraper/models/x/tweet_get_retweeters_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/tweet_get_thread_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/tweet_retrieve_params.rbi +4 -7
- data/rbi/x_twitter_scraper/models/x/tweet_retrieve_response.rbi +16 -171
- data/rbi/x_twitter_scraper/models/x/tweet_search_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/tweets/like_create_params.rbi +6 -6
- data/rbi/x_twitter_scraper/models/x/tweets/like_delete_params.rbi +6 -6
- data/rbi/x_twitter_scraper/models/x/tweets/retweet_create_params.rbi +6 -6
- data/rbi/x_twitter_scraper/models/x/tweets/retweet_delete_params.rbi +6 -6
- data/rbi/x_twitter_scraper/models/x/user_profile.rbi +1 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_followers_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/user_retrieve_followers_you_know_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/user_retrieve_following_params.rbi +4 -4
- data/rbi/x_twitter_scraper/models/x/user_retrieve_likes_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/user_retrieve_media_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/user_retrieve_mentions_params.rbi +6 -6
- data/rbi/x_twitter_scraper/models/x/user_retrieve_params.rbi +4 -7
- data/rbi/x_twitter_scraper/models/x/user_retrieve_search_params.rbi +4 -4
- data/rbi/x_twitter_scraper/models/x/user_retrieve_tweets_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/users/follow_create_params.rbi +6 -6
- data/rbi/x_twitter_scraper/models/x/users/follow_delete_all_params.rbi +6 -6
- data/rbi/x_twitter_scraper/models/x/x_account.rbi +1 -0
- data/rbi/x_twitter_scraper/models/x/x_account_detail.rbi +1 -0
- data/rbi/x_twitter_scraper/models/x_get_article_response.rbi +10 -71
- data/rbi/x_twitter_scraper/models/x_get_home_timeline_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x_get_notifications_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x_get_trends_response.rbi +102 -0
- data/rbi/x_twitter_scraper/resources/drafts.rbi +3 -2
- data/rbi/x_twitter_scraper/resources/draws.rbi +3 -1
- data/rbi/x_twitter_scraper/resources/events.rbi +6 -3
- data/rbi/x_twitter_scraper/resources/extractions.rbi +12 -5
- data/rbi/x_twitter_scraper/resources/integrations.rbi +10 -13
- data/rbi/x_twitter_scraper/resources/monitors.rbi +6 -6
- data/rbi/x_twitter_scraper/resources/radar.rbi +2 -1
- data/rbi/x_twitter_scraper/resources/styles.rbi +15 -15
- data/rbi/x_twitter_scraper/resources/support/tickets.rbi +17 -3
- data/rbi/x_twitter_scraper/resources/trends.rbi +2 -1
- data/rbi/x_twitter_scraper/resources/webhooks.rbi +5 -5
- data/rbi/x_twitter_scraper/resources/x/accounts.rbi +13 -3
- data/rbi/x_twitter_scraper/resources/x/bookmarks.rbi +2 -2
- data/rbi/x_twitter_scraper/resources/x/communities/join.rbi +4 -8
- data/rbi/x_twitter_scraper/resources/x/communities/tweets.rbi +21 -4
- data/rbi/x_twitter_scraper/resources/x/communities.rbi +9 -9
- data/rbi/x_twitter_scraper/resources/x/dm.rbi +2 -2
- data/rbi/x_twitter_scraper/resources/x/lists.rbi +8 -8
- data/rbi/x_twitter_scraper/resources/x/media.rbi +1 -1
- data/rbi/x_twitter_scraper/resources/x/profile.rbi +3 -3
- data/rbi/x_twitter_scraper/resources/x/tweets/like.rbi +8 -6
- data/rbi/x_twitter_scraper/resources/x/tweets/retweet.rbi +8 -6
- data/rbi/x_twitter_scraper/resources/x/tweets.rbi +33 -28
- data/rbi/x_twitter_scraper/resources/x/users/follow.rbi +6 -6
- data/rbi/x_twitter_scraper/resources/x/users.rbi +33 -34
- data/rbi/x_twitter_scraper/resources/x.rbi +11 -5
- data/sig/x_twitter_scraper/models/api_key_list_response.rbs +4 -53
- data/sig/x_twitter_scraper/models/draft_list_response.rbs +4 -45
- data/sig/x_twitter_scraper/models/draw_list_response.rbs +4 -53
- data/sig/x_twitter_scraper/models/draw_retrieve_response.rbs +8 -124
- data/sig/x_twitter_scraper/models/draw_run_response.rbs +4 -36
- data/sig/x_twitter_scraper/models/event.rbs +4 -25
- data/sig/x_twitter_scraper/models/event_detail.rbs +4 -25
- data/sig/x_twitter_scraper/models/event_list_params.rbs +6 -27
- data/sig/x_twitter_scraper/models/event_list_response.rbs +4 -67
- data/sig/x_twitter_scraper/models/extraction_list_response.rbs +4 -109
- data/sig/x_twitter_scraper/models/extraction_run_response.rbs +5 -15
- data/sig/x_twitter_scraper/models/integration.rbs +9 -40
- data/sig/x_twitter_scraper/models/integration_create_params.rbs +8 -39
- data/sig/x_twitter_scraper/models/integration_list_deliveries_response.rbs +4 -78
- data/sig/x_twitter_scraper/models/integration_list_response.rbs +4 -114
- data/sig/x_twitter_scraper/models/integration_update_params.rbs +6 -27
- data/sig/x_twitter_scraper/models/monitor.rbs +4 -25
- data/sig/x_twitter_scraper/models/monitor_create_params.rbs +4 -25
- data/sig/x_twitter_scraper/models/monitor_create_response.rbs +4 -25
- data/sig/x_twitter_scraper/models/monitor_list_response.rbs +4 -70
- data/sig/x_twitter_scraper/models/monitor_update_params.rbs +6 -27
- data/sig/x_twitter_scraper/models/paginated_tweets.rbs +4 -113
- data/sig/x_twitter_scraper/models/paginated_users.rbs +4 -87
- data/sig/x_twitter_scraper/models/radar_retrieve_trending_topics_params.rbs +30 -5
- data/sig/x_twitter_scraper/models/radar_retrieve_trending_topics_response.rbs +4 -70
- data/sig/x_twitter_scraper/models/style_compare_response.rbs +8 -154
- data/sig/x_twitter_scraper/models/style_delete_params.rbs +4 -4
- data/sig/x_twitter_scraper/models/style_get_performance_params.rbs +4 -4
- data/sig/x_twitter_scraper/models/style_list_response.rbs +4 -38
- data/sig/x_twitter_scraper/models/style_retrieve_params.rbs +4 -4
- data/sig/x_twitter_scraper/models/style_update_params.rbs +4 -4
- data/sig/x_twitter_scraper/models/webhook.rbs +4 -25
- data/sig/x_twitter_scraper/models/webhook_create_params.rbs +4 -28
- data/sig/x_twitter_scraper/models/webhook_create_response.rbs +4 -25
- data/sig/x_twitter_scraper/models/webhook_list_deliveries_response.rbs +4 -68
- data/sig/x_twitter_scraper/models/webhook_list_response.rbs +4 -69
- data/sig/x_twitter_scraper/models/webhook_update_params.rbs +6 -27
- data/sig/x_twitter_scraper/models/x/account_bulk_retry_params.rbs +19 -0
- data/sig/x_twitter_scraper/models/x/account_bulk_retry_response.rbs +15 -0
- data/sig/x_twitter_scraper/models/x/account_list_response.rbs +4 -45
- data/sig/x_twitter_scraper/models/x/communities/tweet_list_by_community_params.rbs +34 -0
- data/sig/x_twitter_scraper/models/x/search_tweet.rbs +7 -0
- data/sig/x_twitter_scraper/models/x/tweet_delete_params.rbs +4 -4
- data/sig/x_twitter_scraper/models/x/tweet_detail.rbs +108 -3
- data/sig/x_twitter_scraper/models/x/tweet_retrieve_params.rbs +4 -5
- data/sig/x_twitter_scraper/models/x/tweet_retrieve_response.rbs +10 -108
- data/sig/x_twitter_scraper/models/x/tweets/like_create_params.rbs +4 -4
- data/sig/x_twitter_scraper/models/x/tweets/like_delete_params.rbs +4 -4
- data/sig/x_twitter_scraper/models/x/tweets/retweet_create_params.rbs +4 -4
- data/sig/x_twitter_scraper/models/x/tweets/retweet_delete_params.rbs +4 -4
- data/sig/x_twitter_scraper/models/x/user_retrieve_params.rbs +4 -5
- data/sig/x_twitter_scraper/models/x/users/follow_create_params.rbs +4 -4
- data/sig/x_twitter_scraper/models/x/users/follow_delete_all_params.rbs +4 -4
- data/sig/x_twitter_scraper/models/x_get_article_response.rbs +6 -45
- data/sig/x_twitter_scraper/models/x_get_trends_response.rbs +63 -0
- data/sig/x_twitter_scraper/resources/drafts.rbs +2 -2
- data/sig/x_twitter_scraper/resources/events.rbs +2 -2
- data/sig/x_twitter_scraper/resources/integrations.rbs +6 -6
- data/sig/x_twitter_scraper/resources/monitors.rbs +4 -4
- data/sig/x_twitter_scraper/resources/radar.rbs +1 -1
- data/sig/x_twitter_scraper/resources/styles.rbs +7 -7
- data/sig/x_twitter_scraper/resources/webhooks.rbs +3 -3
- data/sig/x_twitter_scraper/resources/x/accounts.rbs +5 -1
- data/sig/x_twitter_scraper/resources/x/bookmarks.rbs +1 -1
- data/sig/x_twitter_scraper/resources/x/communities/join.rbs +2 -2
- data/sig/x_twitter_scraper/resources/x/communities/tweets.rbs +7 -1
- data/sig/x_twitter_scraper/resources/x/communities.rbs +3 -3
- data/sig/x_twitter_scraper/resources/x/lists.rbs +3 -3
- data/sig/x_twitter_scraper/resources/x/tweets/like.rbs +2 -2
- data/sig/x_twitter_scraper/resources/x/tweets/retweet.rbs +2 -2
- data/sig/x_twitter_scraper/resources/x/tweets.rbs +9 -9
- data/sig/x_twitter_scraper/resources/x/users/follow.rbs +2 -2
- data/sig/x_twitter_scraper/resources/x/users.rbs +12 -12
- data/sig/x_twitter_scraper/resources/x.rbs +4 -2
- metadata +33 -99
- data/lib/x_twitter_scraper/models/draft_create_response.rb +0 -46
- data/lib/x_twitter_scraper/models/draft_retrieve_response.rb +0 -46
- data/lib/x_twitter_scraper/models/event_retrieve_response.rb +0 -74
- data/lib/x_twitter_scraper/models/integration_create_response.rb +0 -114
- data/lib/x_twitter_scraper/models/integration_retrieve_response.rb +0 -114
- data/lib/x_twitter_scraper/models/integration_update_response.rb +0 -114
- data/lib/x_twitter_scraper/models/monitor_retrieve_response.rb +0 -62
- data/lib/x_twitter_scraper/models/monitor_update_response.rb +0 -62
- data/lib/x_twitter_scraper/models/style_analyze_response.rb +0 -69
- data/lib/x_twitter_scraper/models/style_retrieve_response.rb +0 -69
- data/lib/x_twitter_scraper/models/style_update_response.rb +0 -69
- data/lib/x_twitter_scraper/models/webhook_update_response.rb +0 -56
- data/lib/x_twitter_scraper/models/x/account_retrieve_response.rb +0 -60
- data/lib/x_twitter_scraper/models/x/bookmark_list_response.rb +0 -124
- data/lib/x_twitter_scraper/models/x/communities/join_create_response.rb +0 -32
- data/lib/x_twitter_scraper/models/x/communities/join_delete_all_response.rb +0 -32
- data/lib/x_twitter_scraper/models/x/tweet_get_favoriters_response.rb +0 -101
- data/lib/x_twitter_scraper/models/x/tweet_get_quotes_response.rb +0 -124
- data/lib/x_twitter_scraper/models/x/tweet_get_replies_response.rb +0 -124
- data/lib/x_twitter_scraper/models/x/tweet_get_retweeters_response.rb +0 -101
- data/lib/x_twitter_scraper/models/x/tweet_get_thread_response.rb +0 -124
- data/lib/x_twitter_scraper/models/x/tweet_search_response.rb +0 -124
- data/lib/x_twitter_scraper/models/x/user_retrieve_followers_you_know_response.rb +0 -101
- data/lib/x_twitter_scraper/models/x/user_retrieve_likes_response.rb +0 -124
- data/lib/x_twitter_scraper/models/x/user_retrieve_media_response.rb +0 -124
- data/lib/x_twitter_scraper/models/x/user_retrieve_response.rb +0 -78
- data/lib/x_twitter_scraper/models/x/user_retrieve_tweets_response.rb +0 -124
- data/lib/x_twitter_scraper/models/x_get_home_timeline_response.rb +0 -122
- data/rbi/x_twitter_scraper/models/draft_create_response.rbi +0 -67
- data/rbi/x_twitter_scraper/models/draft_retrieve_response.rbi +0 -67
- data/rbi/x_twitter_scraper/models/event_retrieve_response.rbi +0 -135
- data/rbi/x_twitter_scraper/models/integration_create_response.rbi +0 -215
- data/rbi/x_twitter_scraper/models/integration_retrieve_response.rbi +0 -215
- data/rbi/x_twitter_scraper/models/integration_update_response.rbi +0 -215
- data/rbi/x_twitter_scraper/models/monitor_retrieve_response.rbi +0 -134
- data/rbi/x_twitter_scraper/models/monitor_update_response.rbi +0 -134
- data/rbi/x_twitter_scraper/models/style_analyze_response.rbi +0 -120
- data/rbi/x_twitter_scraper/models/style_retrieve_response.rbi +0 -120
- data/rbi/x_twitter_scraper/models/style_update_response.rbi +0 -120
- data/rbi/x_twitter_scraper/models/webhook_update_response.rbi +0 -122
- data/rbi/x_twitter_scraper/models/x/account_retrieve_response.rbi +0 -91
- data/rbi/x_twitter_scraper/models/x/bookmark_list_response.rbi +0 -231
- data/rbi/x_twitter_scraper/models/x/communities/join_create_response.rbi +0 -50
- data/rbi/x_twitter_scraper/models/x/communities/join_delete_all_response.rbi +0 -50
- data/rbi/x_twitter_scraper/models/x/tweet_get_favoriters_response.rbi +0 -177
- data/rbi/x_twitter_scraper/models/x/tweet_get_quotes_response.rbi +0 -231
- data/rbi/x_twitter_scraper/models/x/tweet_get_replies_response.rbi +0 -231
- data/rbi/x_twitter_scraper/models/x/tweet_get_retweeters_response.rbi +0 -177
- data/rbi/x_twitter_scraper/models/x/tweet_get_thread_response.rbi +0 -231
- data/rbi/x_twitter_scraper/models/x/tweet_search_response.rbi +0 -229
- data/rbi/x_twitter_scraper/models/x/user_retrieve_followers_you_know_response.rbi +0 -177
- data/rbi/x_twitter_scraper/models/x/user_retrieve_likes_response.rbi +0 -233
- data/rbi/x_twitter_scraper/models/x/user_retrieve_media_response.rbi +0 -233
- data/rbi/x_twitter_scraper/models/x/user_retrieve_response.rbi +0 -124
- data/rbi/x_twitter_scraper/models/x/user_retrieve_tweets_response.rbi +0 -233
- data/rbi/x_twitter_scraper/models/x_get_home_timeline_response.rbi +0 -227
- data/sig/x_twitter_scraper/models/draft_create_response.rbs +0 -49
- data/sig/x_twitter_scraper/models/draft_retrieve_response.rbs +0 -49
- data/sig/x_twitter_scraper/models/event_retrieve_response.rbs +0 -73
- data/sig/x_twitter_scraper/models/integration_create_response.rbs +0 -109
- data/sig/x_twitter_scraper/models/integration_retrieve_response.rbs +0 -109
- data/sig/x_twitter_scraper/models/integration_update_response.rbs +0 -109
- data/sig/x_twitter_scraper/models/monitor_retrieve_response.rbs +0 -66
- data/sig/x_twitter_scraper/models/monitor_update_response.rbs +0 -66
- data/sig/x_twitter_scraper/models/style_analyze_response.rbs +0 -76
- data/sig/x_twitter_scraper/models/style_retrieve_response.rbs +0 -76
- data/sig/x_twitter_scraper/models/style_update_response.rbs +0 -76
- data/sig/x_twitter_scraper/models/webhook_update_response.rbs +0 -61
- data/sig/x_twitter_scraper/models/x/account_retrieve_response.rbs +0 -63
- data/sig/x_twitter_scraper/models/x/bookmark_list_response.rbs +0 -141
- data/sig/x_twitter_scraper/models/x/communities/join_create_response.rbs +0 -30
- data/sig/x_twitter_scraper/models/x/communities/join_delete_all_response.rbs +0 -30
- data/sig/x_twitter_scraper/models/x/tweet_get_favoriters_response.rbs +0 -115
- data/sig/x_twitter_scraper/models/x/tweet_get_quotes_response.rbs +0 -141
- data/sig/x_twitter_scraper/models/x/tweet_get_replies_response.rbs +0 -141
- data/sig/x_twitter_scraper/models/x/tweet_get_retweeters_response.rbs +0 -115
- data/sig/x_twitter_scraper/models/x/tweet_get_thread_response.rbs +0 -141
- data/sig/x_twitter_scraper/models/x/tweet_search_response.rbs +0 -141
- data/sig/x_twitter_scraper/models/x/user_retrieve_followers_you_know_response.rbs +0 -115
- data/sig/x_twitter_scraper/models/x/user_retrieve_likes_response.rbs +0 -141
- data/sig/x_twitter_scraper/models/x/user_retrieve_media_response.rbs +0 -141
- data/sig/x_twitter_scraper/models/x/user_retrieve_response.rbs +0 -88
- data/sig/x_twitter_scraper/models/x/user_retrieve_tweets_response.rbs +0 -141
- data/sig/x_twitter_scraper/models/x_get_home_timeline_response.rbs +0 -139
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module XTwitterScraper
|
|
4
4
|
module Models
|
|
5
|
+
# @see XTwitterScraper::Resources::Webhooks#update
|
|
5
6
|
class Webhook < XTwitterScraper::Internal::Type::BaseModel
|
|
6
7
|
# @!attribute id
|
|
7
8
|
#
|
|
@@ -14,10 +15,11 @@ module XTwitterScraper
|
|
|
14
15
|
required :created_at, Time, api_name: :createdAt
|
|
15
16
|
|
|
16
17
|
# @!attribute event_types
|
|
18
|
+
# Array of event types to subscribe to.
|
|
17
19
|
#
|
|
18
|
-
# @return [Array<Symbol, XTwitterScraper::Models::
|
|
20
|
+
# @return [Array<Symbol, XTwitterScraper::Models::EventType>]
|
|
19
21
|
required :event_types,
|
|
20
|
-
-> { XTwitterScraper::Internal::Type::ArrayOf[enum: XTwitterScraper::
|
|
22
|
+
-> { XTwitterScraper::Internal::Type::ArrayOf[enum: XTwitterScraper::EventType] },
|
|
21
23
|
api_name: :eventTypes
|
|
22
24
|
|
|
23
25
|
# @!attribute is_active
|
|
@@ -31,25 +33,17 @@ module XTwitterScraper
|
|
|
31
33
|
required :url, String
|
|
32
34
|
|
|
33
35
|
# @!method initialize(id:, created_at:, event_types:, is_active:, url:)
|
|
36
|
+
# Webhook endpoint registered to receive event deliveries.
|
|
37
|
+
#
|
|
34
38
|
# @param id [String]
|
|
39
|
+
#
|
|
35
40
|
# @param created_at [Time]
|
|
36
|
-
#
|
|
41
|
+
#
|
|
42
|
+
# @param event_types [Array<Symbol, XTwitterScraper::Models::EventType>] Array of event types to subscribe to.
|
|
43
|
+
#
|
|
37
44
|
# @param is_active [Boolean]
|
|
45
|
+
#
|
|
38
46
|
# @param url [String]
|
|
39
|
-
|
|
40
|
-
module EventType
|
|
41
|
-
extend XTwitterScraper::Internal::Type::Enum
|
|
42
|
-
|
|
43
|
-
TWEET_NEW = :"tweet.new"
|
|
44
|
-
TWEET_REPLY = :"tweet.reply"
|
|
45
|
-
TWEET_RETWEET = :"tweet.retweet"
|
|
46
|
-
TWEET_QUOTE = :"tweet.quote"
|
|
47
|
-
FOLLOWER_GAINED = :"follower.gained"
|
|
48
|
-
FOLLOWER_LOST = :"follower.lost"
|
|
49
|
-
|
|
50
|
-
# @!method self.values
|
|
51
|
-
# @return [Array<Symbol>]
|
|
52
|
-
end
|
|
53
47
|
end
|
|
54
48
|
end
|
|
55
49
|
end
|
|
@@ -8,12 +8,11 @@ module XTwitterScraper
|
|
|
8
8
|
include XTwitterScraper::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
10
|
# @!attribute event_types
|
|
11
|
+
# Array of event types to subscribe to.
|
|
11
12
|
#
|
|
12
|
-
# @return [Array<Symbol, XTwitterScraper::Models::
|
|
13
|
+
# @return [Array<Symbol, XTwitterScraper::Models::EventType>]
|
|
13
14
|
required :event_types,
|
|
14
|
-
-> {
|
|
15
|
-
XTwitterScraper::Internal::Type::ArrayOf[enum: XTwitterScraper::WebhookCreateParams::EventType]
|
|
16
|
-
},
|
|
15
|
+
-> { XTwitterScraper::Internal::Type::ArrayOf[enum: XTwitterScraper::EventType] },
|
|
17
16
|
api_name: :eventTypes
|
|
18
17
|
|
|
19
18
|
# @!attribute url
|
|
@@ -23,25 +22,11 @@ module XTwitterScraper
|
|
|
23
22
|
required :url, String
|
|
24
23
|
|
|
25
24
|
# @!method initialize(event_types:, url:, request_options: {})
|
|
26
|
-
# @param event_types [Array<Symbol, XTwitterScraper::Models::
|
|
25
|
+
# @param event_types [Array<Symbol, XTwitterScraper::Models::EventType>] Array of event types to subscribe to.
|
|
27
26
|
#
|
|
28
27
|
# @param url [String] HTTPS URL
|
|
29
28
|
#
|
|
30
29
|
# @param request_options [XTwitterScraper::RequestOptions, Hash{Symbol=>Object}]
|
|
31
|
-
|
|
32
|
-
module EventType
|
|
33
|
-
extend XTwitterScraper::Internal::Type::Enum
|
|
34
|
-
|
|
35
|
-
TWEET_NEW = :"tweet.new"
|
|
36
|
-
TWEET_REPLY = :"tweet.reply"
|
|
37
|
-
TWEET_RETWEET = :"tweet.retweet"
|
|
38
|
-
TWEET_QUOTE = :"tweet.quote"
|
|
39
|
-
FOLLOWER_GAINED = :"follower.gained"
|
|
40
|
-
FOLLOWER_LOST = :"follower.lost"
|
|
41
|
-
|
|
42
|
-
# @!method self.values
|
|
43
|
-
# @return [Array<Symbol>]
|
|
44
|
-
end
|
|
45
30
|
end
|
|
46
31
|
end
|
|
47
32
|
end
|
|
@@ -15,10 +15,11 @@ module XTwitterScraper
|
|
|
15
15
|
required :created_at, Time, api_name: :createdAt
|
|
16
16
|
|
|
17
17
|
# @!attribute event_types
|
|
18
|
+
# Array of event types to subscribe to.
|
|
18
19
|
#
|
|
19
|
-
# @return [Array<Symbol, XTwitterScraper::Models::
|
|
20
|
+
# @return [Array<Symbol, XTwitterScraper::Models::EventType>]
|
|
20
21
|
required :event_types,
|
|
21
|
-
-> { XTwitterScraper::Internal::Type::ArrayOf[enum: XTwitterScraper::
|
|
22
|
+
-> { XTwitterScraper::Internal::Type::ArrayOf[enum: XTwitterScraper::EventType] },
|
|
22
23
|
api_name: :eventTypes
|
|
23
24
|
|
|
24
25
|
# @!attribute secret
|
|
@@ -33,24 +34,14 @@ module XTwitterScraper
|
|
|
33
34
|
|
|
34
35
|
# @!method initialize(id:, created_at:, event_types:, secret:, url:)
|
|
35
36
|
# @param id [String]
|
|
37
|
+
#
|
|
36
38
|
# @param created_at [Time]
|
|
37
|
-
#
|
|
39
|
+
#
|
|
40
|
+
# @param event_types [Array<Symbol, XTwitterScraper::Models::EventType>] Array of event types to subscribe to.
|
|
41
|
+
#
|
|
38
42
|
# @param secret [String]
|
|
43
|
+
#
|
|
39
44
|
# @param url [String]
|
|
40
|
-
|
|
41
|
-
module EventType
|
|
42
|
-
extend XTwitterScraper::Internal::Type::Enum
|
|
43
|
-
|
|
44
|
-
TWEET_NEW = :"tweet.new"
|
|
45
|
-
TWEET_REPLY = :"tweet.reply"
|
|
46
|
-
TWEET_RETWEET = :"tweet.retweet"
|
|
47
|
-
TWEET_QUOTE = :"tweet.quote"
|
|
48
|
-
FOLLOWER_GAINED = :"follower.gained"
|
|
49
|
-
FOLLOWER_LOST = :"follower.lost"
|
|
50
|
-
|
|
51
|
-
# @!method self.values
|
|
52
|
-
# @return [Array<Symbol>]
|
|
53
|
-
end
|
|
54
45
|
end
|
|
55
46
|
end
|
|
56
47
|
end
|
|
@@ -6,64 +6,11 @@ module XTwitterScraper
|
|
|
6
6
|
class WebhookListDeliveriesResponse < XTwitterScraper::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute deliveries
|
|
8
8
|
#
|
|
9
|
-
# @return [Array<XTwitterScraper::Models::
|
|
10
|
-
required :deliveries,
|
|
11
|
-
-> { XTwitterScraper::Internal::Type::ArrayOf[XTwitterScraper::Models::WebhookListDeliveriesResponse::Delivery] }
|
|
9
|
+
# @return [Array<XTwitterScraper::Models::Delivery>]
|
|
10
|
+
required :deliveries, -> { XTwitterScraper::Internal::Type::ArrayOf[XTwitterScraper::Delivery] }
|
|
12
11
|
|
|
13
12
|
# @!method initialize(deliveries:)
|
|
14
|
-
# @param deliveries [Array<XTwitterScraper::Models::
|
|
15
|
-
|
|
16
|
-
class Delivery < XTwitterScraper::Internal::Type::BaseModel
|
|
17
|
-
# @!attribute id
|
|
18
|
-
#
|
|
19
|
-
# @return [String]
|
|
20
|
-
required :id, String
|
|
21
|
-
|
|
22
|
-
# @!attribute attempts
|
|
23
|
-
#
|
|
24
|
-
# @return [Integer]
|
|
25
|
-
required :attempts, Integer
|
|
26
|
-
|
|
27
|
-
# @!attribute created_at
|
|
28
|
-
#
|
|
29
|
-
# @return [Time]
|
|
30
|
-
required :created_at, Time, api_name: :createdAt
|
|
31
|
-
|
|
32
|
-
# @!attribute status
|
|
33
|
-
#
|
|
34
|
-
# @return [String]
|
|
35
|
-
required :status, String
|
|
36
|
-
|
|
37
|
-
# @!attribute stream_event_id
|
|
38
|
-
#
|
|
39
|
-
# @return [String]
|
|
40
|
-
required :stream_event_id, String, api_name: :streamEventId
|
|
41
|
-
|
|
42
|
-
# @!attribute delivered_at
|
|
43
|
-
#
|
|
44
|
-
# @return [Time, nil]
|
|
45
|
-
optional :delivered_at, Time, api_name: :deliveredAt
|
|
46
|
-
|
|
47
|
-
# @!attribute last_error
|
|
48
|
-
#
|
|
49
|
-
# @return [String, nil]
|
|
50
|
-
optional :last_error, String, api_name: :lastError
|
|
51
|
-
|
|
52
|
-
# @!attribute last_status_code
|
|
53
|
-
#
|
|
54
|
-
# @return [Integer, nil]
|
|
55
|
-
optional :last_status_code, Integer, api_name: :lastStatusCode
|
|
56
|
-
|
|
57
|
-
# @!method initialize(id:, attempts:, created_at:, status:, stream_event_id:, delivered_at: nil, last_error: nil, last_status_code: nil)
|
|
58
|
-
# @param id [String]
|
|
59
|
-
# @param attempts [Integer]
|
|
60
|
-
# @param created_at [Time]
|
|
61
|
-
# @param status [String]
|
|
62
|
-
# @param stream_event_id [String]
|
|
63
|
-
# @param delivered_at [Time]
|
|
64
|
-
# @param last_error [String]
|
|
65
|
-
# @param last_status_code [Integer]
|
|
66
|
-
end
|
|
13
|
+
# @param deliveries [Array<XTwitterScraper::Models::Delivery>]
|
|
67
14
|
end
|
|
68
15
|
end
|
|
69
16
|
end
|
|
@@ -6,62 +6,11 @@ module XTwitterScraper
|
|
|
6
6
|
class WebhookListResponse < XTwitterScraper::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute webhooks
|
|
8
8
|
#
|
|
9
|
-
# @return [Array<XTwitterScraper::Models::
|
|
10
|
-
required :webhooks,
|
|
11
|
-
-> { XTwitterScraper::Internal::Type::ArrayOf[XTwitterScraper::Models::WebhookListResponse::Webhook] }
|
|
9
|
+
# @return [Array<XTwitterScraper::Models::Webhook>]
|
|
10
|
+
required :webhooks, -> { XTwitterScraper::Internal::Type::ArrayOf[XTwitterScraper::Webhook] }
|
|
12
11
|
|
|
13
12
|
# @!method initialize(webhooks:)
|
|
14
|
-
# @param webhooks [Array<XTwitterScraper::Models::
|
|
15
|
-
|
|
16
|
-
class Webhook < XTwitterScraper::Internal::Type::BaseModel
|
|
17
|
-
# @!attribute id
|
|
18
|
-
#
|
|
19
|
-
# @return [String]
|
|
20
|
-
required :id, String
|
|
21
|
-
|
|
22
|
-
# @!attribute created_at
|
|
23
|
-
#
|
|
24
|
-
# @return [Time]
|
|
25
|
-
required :created_at, Time, api_name: :createdAt
|
|
26
|
-
|
|
27
|
-
# @!attribute event_types
|
|
28
|
-
#
|
|
29
|
-
# @return [Array<Symbol, XTwitterScraper::Models::WebhookListResponse::Webhook::EventType>]
|
|
30
|
-
required :event_types,
|
|
31
|
-
-> { XTwitterScraper::Internal::Type::ArrayOf[enum: XTwitterScraper::Models::WebhookListResponse::Webhook::EventType] },
|
|
32
|
-
api_name: :eventTypes
|
|
33
|
-
|
|
34
|
-
# @!attribute is_active
|
|
35
|
-
#
|
|
36
|
-
# @return [Boolean]
|
|
37
|
-
required :is_active, XTwitterScraper::Internal::Type::Boolean, api_name: :isActive
|
|
38
|
-
|
|
39
|
-
# @!attribute url
|
|
40
|
-
#
|
|
41
|
-
# @return [String]
|
|
42
|
-
required :url, String
|
|
43
|
-
|
|
44
|
-
# @!method initialize(id:, created_at:, event_types:, is_active:, url:)
|
|
45
|
-
# @param id [String]
|
|
46
|
-
# @param created_at [Time]
|
|
47
|
-
# @param event_types [Array<Symbol, XTwitterScraper::Models::WebhookListResponse::Webhook::EventType>]
|
|
48
|
-
# @param is_active [Boolean]
|
|
49
|
-
# @param url [String]
|
|
50
|
-
|
|
51
|
-
module EventType
|
|
52
|
-
extend XTwitterScraper::Internal::Type::Enum
|
|
53
|
-
|
|
54
|
-
TWEET_NEW = :"tweet.new"
|
|
55
|
-
TWEET_REPLY = :"tweet.reply"
|
|
56
|
-
TWEET_RETWEET = :"tweet.retweet"
|
|
57
|
-
TWEET_QUOTE = :"tweet.quote"
|
|
58
|
-
FOLLOWER_GAINED = :"follower.gained"
|
|
59
|
-
FOLLOWER_LOST = :"follower.lost"
|
|
60
|
-
|
|
61
|
-
# @!method self.values
|
|
62
|
-
# @return [Array<Symbol>]
|
|
63
|
-
end
|
|
64
|
-
end
|
|
13
|
+
# @param webhooks [Array<XTwitterScraper::Models::Webhook>]
|
|
65
14
|
end
|
|
66
15
|
end
|
|
67
16
|
end
|
|
@@ -13,12 +13,11 @@ module XTwitterScraper
|
|
|
13
13
|
required :id, String
|
|
14
14
|
|
|
15
15
|
# @!attribute event_types
|
|
16
|
+
# Array of event types to subscribe to.
|
|
16
17
|
#
|
|
17
|
-
# @return [Array<Symbol, XTwitterScraper::Models::
|
|
18
|
+
# @return [Array<Symbol, XTwitterScraper::Models::EventType>, nil]
|
|
18
19
|
optional :event_types,
|
|
19
|
-
-> {
|
|
20
|
-
XTwitterScraper::Internal::Type::ArrayOf[enum: XTwitterScraper::WebhookUpdateParams::EventType]
|
|
21
|
-
},
|
|
20
|
+
-> { XTwitterScraper::Internal::Type::ArrayOf[enum: XTwitterScraper::EventType] },
|
|
22
21
|
api_name: :eventTypes
|
|
23
22
|
|
|
24
23
|
# @!attribute is_active
|
|
@@ -33,24 +32,14 @@ module XTwitterScraper
|
|
|
33
32
|
|
|
34
33
|
# @!method initialize(id:, event_types: nil, is_active: nil, url: nil, request_options: {})
|
|
35
34
|
# @param id [String]
|
|
36
|
-
#
|
|
35
|
+
#
|
|
36
|
+
# @param event_types [Array<Symbol, XTwitterScraper::Models::EventType>] Array of event types to subscribe to.
|
|
37
|
+
#
|
|
37
38
|
# @param is_active [Boolean]
|
|
39
|
+
#
|
|
38
40
|
# @param url [String]
|
|
41
|
+
#
|
|
39
42
|
# @param request_options [XTwitterScraper::RequestOptions, Hash{Symbol=>Object}]
|
|
40
|
-
|
|
41
|
-
module EventType
|
|
42
|
-
extend XTwitterScraper::Internal::Type::Enum
|
|
43
|
-
|
|
44
|
-
TWEET_NEW = :"tweet.new"
|
|
45
|
-
TWEET_REPLY = :"tweet.reply"
|
|
46
|
-
TWEET_RETWEET = :"tweet.retweet"
|
|
47
|
-
TWEET_QUOTE = :"tweet.quote"
|
|
48
|
-
FOLLOWER_GAINED = :"follower.gained"
|
|
49
|
-
FOLLOWER_LOST = :"follower.lost"
|
|
50
|
-
|
|
51
|
-
# @!method self.values
|
|
52
|
-
# @return [Array<Symbol>]
|
|
53
|
-
end
|
|
54
43
|
end
|
|
55
44
|
end
|
|
56
45
|
end
|
|
@@ -24,6 +24,8 @@ module XTwitterScraper
|
|
|
24
24
|
required :tweet_id, String, api_name: :tweetId
|
|
25
25
|
|
|
26
26
|
# @!method initialize(author_username:, is_backup:, position:, tweet_id:)
|
|
27
|
+
# Giveaway draw winner with position and backup flag.
|
|
28
|
+
#
|
|
27
29
|
# @param author_username [String]
|
|
28
30
|
# @param is_backup [Boolean]
|
|
29
31
|
# @param position [Integer]
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module XTwitterScraper
|
|
4
|
+
module Models
|
|
5
|
+
module X
|
|
6
|
+
# @see XTwitterScraper::Resources::X::Accounts#bulk_retry
|
|
7
|
+
class AccountBulkRetryParams < XTwitterScraper::Internal::Type::BaseModel
|
|
8
|
+
extend XTwitterScraper::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include XTwitterScraper::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
# @!method initialize(request_options: {})
|
|
12
|
+
# @param request_options [XTwitterScraper::RequestOptions, Hash{Symbol=>Object}]
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module XTwitterScraper
|
|
4
|
+
module Models
|
|
5
|
+
module X
|
|
6
|
+
# @see XTwitterScraper::Resources::X::Accounts#bulk_retry
|
|
7
|
+
class AccountBulkRetryResponse < XTwitterScraper::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute cleared
|
|
9
|
+
# Number of accounts cleared
|
|
10
|
+
#
|
|
11
|
+
# @return [Integer]
|
|
12
|
+
required :cleared, Integer
|
|
13
|
+
|
|
14
|
+
# @!method initialize(cleared:)
|
|
15
|
+
# @param cleared [Integer] Number of accounts cleared
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -7,46 +7,11 @@ module XTwitterScraper
|
|
|
7
7
|
class AccountListResponse < XTwitterScraper::Internal::Type::BaseModel
|
|
8
8
|
# @!attribute accounts
|
|
9
9
|
#
|
|
10
|
-
# @return [Array<XTwitterScraper::Models::X::
|
|
11
|
-
required :accounts,
|
|
12
|
-
-> { XTwitterScraper::Internal::Type::ArrayOf[XTwitterScraper::Models::X::AccountListResponse::Account] }
|
|
10
|
+
# @return [Array<XTwitterScraper::Models::X::XAccount>]
|
|
11
|
+
required :accounts, -> { XTwitterScraper::Internal::Type::ArrayOf[XTwitterScraper::X::XAccount] }
|
|
13
12
|
|
|
14
13
|
# @!method initialize(accounts:)
|
|
15
|
-
# @param accounts [Array<XTwitterScraper::Models::X::
|
|
16
|
-
|
|
17
|
-
class Account < XTwitterScraper::Internal::Type::BaseModel
|
|
18
|
-
# @!attribute id
|
|
19
|
-
#
|
|
20
|
-
# @return [String]
|
|
21
|
-
required :id, String
|
|
22
|
-
|
|
23
|
-
# @!attribute created_at
|
|
24
|
-
#
|
|
25
|
-
# @return [Time]
|
|
26
|
-
required :created_at, Time, api_name: :createdAt
|
|
27
|
-
|
|
28
|
-
# @!attribute status
|
|
29
|
-
#
|
|
30
|
-
# @return [String]
|
|
31
|
-
required :status, String
|
|
32
|
-
|
|
33
|
-
# @!attribute x_user_id
|
|
34
|
-
#
|
|
35
|
-
# @return [String]
|
|
36
|
-
required :x_user_id, String, api_name: :xUserId
|
|
37
|
-
|
|
38
|
-
# @!attribute x_username
|
|
39
|
-
#
|
|
40
|
-
# @return [String]
|
|
41
|
-
required :x_username, String, api_name: :xUsername
|
|
42
|
-
|
|
43
|
-
# @!method initialize(id:, created_at:, status:, x_user_id:, x_username:)
|
|
44
|
-
# @param id [String]
|
|
45
|
-
# @param created_at [Time]
|
|
46
|
-
# @param status [String]
|
|
47
|
-
# @param x_user_id [String]
|
|
48
|
-
# @param x_username [String]
|
|
49
|
-
end
|
|
14
|
+
# @param accounts [Array<XTwitterScraper::Models::X::XAccount>]
|
|
50
15
|
end
|
|
51
16
|
end
|
|
52
17
|
end
|
|
@@ -14,13 +14,13 @@ module XTwitterScraper
|
|
|
14
14
|
required :id, String
|
|
15
15
|
|
|
16
16
|
# @!attribute password
|
|
17
|
-
#
|
|
17
|
+
# Updated account password
|
|
18
18
|
#
|
|
19
19
|
# @return [String]
|
|
20
20
|
required :password, String
|
|
21
21
|
|
|
22
22
|
# @!attribute totp_secret
|
|
23
|
-
# TOTP secret for 2FA
|
|
23
|
+
# TOTP secret for 2FA re-authentication
|
|
24
24
|
#
|
|
25
25
|
# @return [String, nil]
|
|
26
26
|
optional :totp_secret, String
|
|
@@ -28,9 +28,9 @@ module XTwitterScraper
|
|
|
28
28
|
# @!method initialize(id:, password:, totp_secret: nil, request_options: {})
|
|
29
29
|
# @param id [String]
|
|
30
30
|
#
|
|
31
|
-
# @param password [String]
|
|
31
|
+
# @param password [String] Updated account password
|
|
32
32
|
#
|
|
33
|
-
# @param totp_secret [String] TOTP secret for 2FA
|
|
33
|
+
# @param totp_secret [String] TOTP secret for 2FA re-authentication
|
|
34
34
|
#
|
|
35
35
|
# @param request_options [XTwitterScraper::RequestOptions, Hash{Symbol=>Object}]
|
|
36
36
|
end
|
|
@@ -9,7 +9,7 @@ module XTwitterScraper
|
|
|
9
9
|
include XTwitterScraper::Internal::Type::RequestParameters
|
|
10
10
|
|
|
11
11
|
# @!attribute cursor
|
|
12
|
-
# Pagination cursor
|
|
12
|
+
# Pagination cursor for bookmarks
|
|
13
13
|
#
|
|
14
14
|
# @return [String, nil]
|
|
15
15
|
optional :cursor, String
|
|
@@ -21,7 +21,7 @@ module XTwitterScraper
|
|
|
21
21
|
optional :folder_id, String
|
|
22
22
|
|
|
23
23
|
# @!method initialize(cursor: nil, folder_id: nil, request_options: {})
|
|
24
|
-
# @param cursor [String] Pagination cursor
|
|
24
|
+
# @param cursor [String] Pagination cursor for bookmarks
|
|
25
25
|
#
|
|
26
26
|
# @param folder_id [String] Optional bookmark folder ID
|
|
27
27
|
#
|
|
@@ -15,7 +15,7 @@ module XTwitterScraper
|
|
|
15
15
|
required :id, String
|
|
16
16
|
|
|
17
17
|
# @!attribute account
|
|
18
|
-
# X account (@username or account ID)
|
|
18
|
+
# X account identifier (@username or account ID)
|
|
19
19
|
#
|
|
20
20
|
# @return [String]
|
|
21
21
|
required :account, String
|
|
@@ -23,7 +23,7 @@ module XTwitterScraper
|
|
|
23
23
|
# @!method initialize(id:, account:, request_options: {})
|
|
24
24
|
# @param id [String]
|
|
25
25
|
#
|
|
26
|
-
# @param account [String] X account (@username or account ID)
|
|
26
|
+
# @param account [String] X account identifier (@username or account ID)
|
|
27
27
|
#
|
|
28
28
|
# @param request_options [XTwitterScraper::RequestOptions, Hash{Symbol=>Object}]
|
|
29
29
|
end
|
|
@@ -15,7 +15,7 @@ module XTwitterScraper
|
|
|
15
15
|
required :id, String
|
|
16
16
|
|
|
17
17
|
# @!attribute account
|
|
18
|
-
# X account (@username or account ID)
|
|
18
|
+
# X account identifier (@username or account ID)
|
|
19
19
|
#
|
|
20
20
|
# @return [String]
|
|
21
21
|
required :account, String
|
|
@@ -23,7 +23,7 @@ module XTwitterScraper
|
|
|
23
23
|
# @!method initialize(id:, account:, request_options: {})
|
|
24
24
|
# @param id [String]
|
|
25
25
|
#
|
|
26
|
-
# @param account [String] X account (@username or account ID)
|
|
26
|
+
# @param account [String] X account identifier (@username or account ID)
|
|
27
27
|
#
|
|
28
28
|
# @param request_options [XTwitterScraper::RequestOptions, Hash{Symbol=>Object}]
|
|
29
29
|
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module XTwitterScraper
|
|
4
|
+
module Models
|
|
5
|
+
module X
|
|
6
|
+
module Communities
|
|
7
|
+
# @see XTwitterScraper::Resources::X::Communities::Tweets#list_by_community
|
|
8
|
+
class TweetListByCommunityParams < XTwitterScraper::Internal::Type::BaseModel
|
|
9
|
+
extend XTwitterScraper::Internal::Type::RequestParameters::Converter
|
|
10
|
+
include XTwitterScraper::Internal::Type::RequestParameters
|
|
11
|
+
|
|
12
|
+
# @!attribute id
|
|
13
|
+
#
|
|
14
|
+
# @return [String]
|
|
15
|
+
required :id, String
|
|
16
|
+
|
|
17
|
+
# @!attribute cursor
|
|
18
|
+
# Pagination cursor for community tweets
|
|
19
|
+
#
|
|
20
|
+
# @return [String, nil]
|
|
21
|
+
optional :cursor, String
|
|
22
|
+
|
|
23
|
+
# @!method initialize(id:, cursor: nil, request_options: {})
|
|
24
|
+
# @param id [String]
|
|
25
|
+
#
|
|
26
|
+
# @param cursor [String] Pagination cursor for community tweets
|
|
27
|
+
#
|
|
28
|
+
# @param request_options [XTwitterScraper::RequestOptions, Hash{Symbol=>Object}]
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -10,29 +10,29 @@ module XTwitterScraper
|
|
|
10
10
|
include XTwitterScraper::Internal::Type::RequestParameters
|
|
11
11
|
|
|
12
12
|
# @!attribute q
|
|
13
|
-
# Search query
|
|
13
|
+
# Search query for cross-community tweets
|
|
14
14
|
#
|
|
15
15
|
# @return [String]
|
|
16
16
|
required :q, String
|
|
17
17
|
|
|
18
18
|
# @!attribute cursor
|
|
19
|
-
# Pagination cursor
|
|
19
|
+
# Pagination cursor for cross-community results
|
|
20
20
|
#
|
|
21
21
|
# @return [String, nil]
|
|
22
22
|
optional :cursor, String
|
|
23
23
|
|
|
24
24
|
# @!attribute query_type
|
|
25
|
-
# Sort order (Latest or Top)
|
|
25
|
+
# Sort order for cross-community results (Latest or Top)
|
|
26
26
|
#
|
|
27
27
|
# @return [String, nil]
|
|
28
28
|
optional :query_type, String
|
|
29
29
|
|
|
30
30
|
# @!method initialize(q:, cursor: nil, query_type: nil, request_options: {})
|
|
31
|
-
# @param q [String] Search query
|
|
31
|
+
# @param q [String] Search query for cross-community tweets
|
|
32
32
|
#
|
|
33
|
-
# @param cursor [String] Pagination cursor
|
|
33
|
+
# @param cursor [String] Pagination cursor for cross-community results
|
|
34
34
|
#
|
|
35
|
-
# @param query_type [String] Sort order (Latest or Top)
|
|
35
|
+
# @param query_type [String] Sort order for cross-community results (Latest or Top)
|
|
36
36
|
#
|
|
37
37
|
# @param request_options [XTwitterScraper::RequestOptions, Hash{Symbol=>Object}]
|
|
38
38
|
end
|
|
@@ -20,6 +20,8 @@ module XTwitterScraper
|
|
|
20
20
|
required :success, const: true
|
|
21
21
|
|
|
22
22
|
# @!method initialize(community_id:, community_name:, success: true)
|
|
23
|
+
# Result of a community join or leave action.
|
|
24
|
+
#
|
|
23
25
|
# @param community_id [String]
|
|
24
26
|
# @param community_name [String]
|
|
25
27
|
# @param success [Boolean, true]
|
|
@@ -9,7 +9,7 @@ module XTwitterScraper
|
|
|
9
9
|
include XTwitterScraper::Internal::Type::RequestParameters
|
|
10
10
|
|
|
11
11
|
# @!attribute account
|
|
12
|
-
# X account (@username or
|
|
12
|
+
# X account (@username or ID) creating the community
|
|
13
13
|
#
|
|
14
14
|
# @return [String]
|
|
15
15
|
required :account, String
|
|
@@ -27,7 +27,7 @@ module XTwitterScraper
|
|
|
27
27
|
optional :description, String
|
|
28
28
|
|
|
29
29
|
# @!method initialize(account:, name:, description: nil, request_options: {})
|
|
30
|
-
# @param account [String] X account (@username or
|
|
30
|
+
# @param account [String] X account (@username or ID) creating the community
|
|
31
31
|
#
|
|
32
32
|
# @param name [String] Community name
|
|
33
33
|
#
|
|
@@ -14,7 +14,7 @@ module XTwitterScraper
|
|
|
14
14
|
required :id, String
|
|
15
15
|
|
|
16
16
|
# @!attribute account
|
|
17
|
-
# X account (@username or
|
|
17
|
+
# X account (@username or ID) deleting the community
|
|
18
18
|
#
|
|
19
19
|
# @return [String]
|
|
20
20
|
required :account, String
|
|
@@ -28,7 +28,7 @@ module XTwitterScraper
|
|
|
28
28
|
# @!method initialize(id:, account:, community_name:, request_options: {})
|
|
29
29
|
# @param id [String]
|
|
30
30
|
#
|
|
31
|
-
# @param account [String] X account (@username or
|
|
31
|
+
# @param account [String] X account (@username or ID) deleting the community
|
|
32
32
|
#
|
|
33
33
|
# @param community_name [String] Community name for confirmation
|
|
34
34
|
#
|
|
@@ -17,7 +17,7 @@ module XTwitterScraper
|
|
|
17
17
|
# @see XTwitterScraper::Models::X::CommunityRetrieveInfoResponse#community
|
|
18
18
|
class Community < XTwitterScraper::Internal::Type::BaseModel
|
|
19
19
|
# @!attribute id
|
|
20
|
-
#
|
|
20
|
+
# Unique community identifier
|
|
21
21
|
#
|
|
22
22
|
# @return [String]
|
|
23
23
|
required :id, String
|
|
@@ -35,7 +35,7 @@ module XTwitterScraper
|
|
|
35
35
|
optional :created_at, String
|
|
36
36
|
|
|
37
37
|
# @!attribute description
|
|
38
|
-
#
|
|
38
|
+
# About text for the community
|
|
39
39
|
#
|
|
40
40
|
# @return [String, nil]
|
|
41
41
|
optional :description, String
|
|
@@ -59,7 +59,7 @@ module XTwitterScraper
|
|
|
59
59
|
optional :moderator_count, Integer
|
|
60
60
|
|
|
61
61
|
# @!attribute name
|
|
62
|
-
#
|
|
62
|
+
# Display name of the community
|
|
63
63
|
#
|
|
64
64
|
# @return [String, nil]
|
|
65
65
|
optional :name, String
|
|
@@ -81,13 +81,13 @@ module XTwitterScraper
|
|
|
81
81
|
# @!method initialize(id:, banner_url: nil, created_at: nil, description: nil, join_policy: nil, member_count: nil, moderator_count: nil, name: nil, primary_topic: nil, rules: nil)
|
|
82
82
|
# Community info object
|
|
83
83
|
#
|
|
84
|
-
# @param id [String]
|
|
84
|
+
# @param id [String] Unique community identifier
|
|
85
85
|
#
|
|
86
86
|
# @param banner_url [String] Community banner image URL
|
|
87
87
|
#
|
|
88
88
|
# @param created_at [String] Community creation timestamp
|
|
89
89
|
#
|
|
90
|
-
# @param description [String]
|
|
90
|
+
# @param description [String] About text for the community
|
|
91
91
|
#
|
|
92
92
|
# @param join_policy [String] Join policy (open or restricted)
|
|
93
93
|
#
|
|
@@ -95,7 +95,7 @@ module XTwitterScraper
|
|
|
95
95
|
#
|
|
96
96
|
# @param moderator_count [Integer] Total moderator count
|
|
97
97
|
#
|
|
98
|
-
# @param name [String]
|
|
98
|
+
# @param name [String] Display name of the community
|
|
99
99
|
#
|
|
100
100
|
# @param primary_topic [XTwitterScraper::Models::X::CommunityRetrieveInfoResponse::Community::PrimaryTopic] Primary topic
|
|
101
101
|
#
|