Skip to content

Latest commit

 

History

History
924 lines (683 loc) · 74.4 KB

api.md

File metadata and controls

924 lines (683 loc) · 74.4 KB

Shared Types

from x_twitter_scraper.types import (
    Community,
    CommunityAnalytics,
    CommunityAnalyticsMetric,
    CommunityPage,
    CommunityTopic,
    CommunityUnavailable,
    ContentDisclosure,
    Currency,
    EmbeddedTweet,
    Error,
    ErrorCode,
    EventType,
    ImageFilterSummary,
    ImageFilteredTweets,
    ImageScoredTweet,
    LiveEventContext,
    PaginatedTweets,
    PaginatedUsers,
    SearchTweet,
    SoftIntervention,
    TopicFilterSummary,
    TopicFilteredTweets,
    TopicScoredTweet,
    TweetMedia,
    UserProfile,
)

Account

Types

from x_twitter_scraper.types import (
    AccountRetrieveResponse,
    AccountSetXUsernameResponse,
    AccountUpdateLocaleResponse,
)

Methods

Activity

Types

from x_twitter_scraper.types import ActivityLogRow, ActivityRecord, ActivityListResponse

Methods

Subscribe

Types

from x_twitter_scraper.types import SubscribeCreateResponse

Methods

Compose

Types

from x_twitter_scraper.types import ComposeCreateResponse

Methods

Drafts

Types

from x_twitter_scraper.types import Draft, DraftDetail, DraftCreateResponse, DraftListResponse

Methods

Styles

Types

from x_twitter_scraper.types import (
    StyleProfile,
    StyleProfileSummary,
    StyleListResponse,
    StyleCompareResponse,
    StyleGetPerformanceResponse,
)

Methods

Radar

Types

from x_twitter_scraper.types import RadarItem, RadarRetrieveTrendingTopicsResponse

Methods

Monitors

Types

from x_twitter_scraper.types import (
    Monitor,
    MonitorCreateResponse,
    MonitorListResponse,
    MonitorDeactivateResponse,
    MonitorUpsertByUsernameResponse,
)

Methods

Keywords

Types

from x_twitter_scraper.types.monitors import (
    KeywordCreateResponse,
    KeywordRetrieveResponse,
    KeywordUpdateResponse,
    KeywordListResponse,
    KeywordDeactivateResponse,
)

Methods

Posts

Types

from x_twitter_scraper.types.monitors import (
    PostMonitor,
    PostMonitorMetrics,
    PostListResponse,
    PostDeleteResponse,
)

Methods

Events

Types

from x_twitter_scraper.types import Event, EventDetail, EventListResponse

Methods

Extractions

Types

from x_twitter_scraper.types import (
    ExtractionJob,
    ExtractionRetrieveResponse,
    ExtractionListResponse,
    ExtractionCancelResponse,
    ExtractionEstimateCostResponse,
    ExtractionRunResponse,
)

Methods

Draws

Types

from x_twitter_scraper.types import (
    DrawDetail,
    DrawListItem,
    Winner,
    DrawRetrieveResponse,
    DrawListResponse,
    DrawRunResponse,
)

Methods

Webhooks

Types

from x_twitter_scraper.types import (
    Delivery,
    Webhook,
    WebhookCreateResponse,
    WebhookListResponse,
    WebhookCreateTelegramLinkResponse,
    WebhookDeactivateResponse,
    WebhookListDeliveriesResponse,
    WebhookResumeResponse,
    WebhookTestResponse,
)

Methods

X

Types

from x_twitter_scraper.types import (
    XAutocompleteSearchResponse,
    XGetArticleResponse,
    XGetHashflagsResponse,
    XGetNewsStoryVersionsResponse,
    XGetNotificationsResponse,
    XGetTrendLocationsResponse,
    XGetTrendsResponse,
    XGetTrendsHistoryResponse,
    XSearchPlacesResponse,
)

Methods

WriteActions

Types

from x_twitter_scraper.types.x import WriteActionRetrieveResponse

Methods

Analysis

Types

from x_twitter_scraper.types.x import (
    AnalysisBrandResponse,
    AnalysisClassifyResponse,
    AnalysisMarketSignalsResponse,
    AnalysisNewsResponse,
    AnalysisSentimentResponse,
    AnalysisViralScoreResponse,
)

Methods

Tweets

Types

from x_twitter_scraper.types.x import (
    TweetAuthor,
    TweetDetail,
    TweetCreateResponse,
    TweetRetrieveResponse,
    TweetListResponse,
    TweetDeleteResponse,
    TweetCheckRepostResponse,
    TweetEmbedResponse,
    TweetGetInsightsResponse,
    TweetGetRepliesResponse,
    TweetGetRetweeterIdsResponse,
    TweetGetSubtitlesResponse,
    TweetResolveLinksResponse,
    TweetSearchResponse,
    TweetTranslateResponse,
)

Methods

Bookmark

Types

from x_twitter_scraper.types.x.tweets import BookmarkCreateResponse, BookmarkDeleteResponse

Methods

Like

Types

from x_twitter_scraper.types.x.tweets import LikeCreateResponse, LikeDeleteResponse

Methods

Retweet

Types

from x_twitter_scraper.types.x.tweets import RetweetCreateResponse, RetweetDeleteResponse

Methods

Users

Types

from x_twitter_scraper.types.x import (
    UserRemoveFollowerResponse,
    UserRetrieveBatchResponse,
    UserRetrieveBatchTweetsResponse,
    UserRetrieveFollowerAuditResponse,
    UserRetrieveFollowerIdsResponse,
    UserRetrieveFollowersResponse,
    UserRetrieveFollowingResponse,
    UserRetrieveFollowingIdsResponse,
    UserRetrieveInsightsResponse,
    UserRetrieveListMembershipsResponse,
    UserRetrieveListsResponse,
    UserRetrieveLiveResponse,
    UserRetrieveMediaResponse,
    UserRetrieveRepliesResponse,
    UserRetrieveTweetsResponse,
    UserRetrieveVerifiedFollowersResponse,
    UserTranslateBioResponse,
    ShadowbanReport,
)

Methods

Block

Types

from x_twitter_scraper.types.x.users import BlockCreateResponse, BlockDeleteResponse

Methods

Mute

Types

from x_twitter_scraper.types.x.users import MuteCreateResponse, MuteDeleteResponse

Methods

Follow

Types

from x_twitter_scraper.types.x.users import FollowCreateResponse, FollowDeleteAllResponse

Methods

Followers

Types

from x_twitter_scraper.types.x import FollowerCheckResponse

Methods

Jobs

Types

from x_twitter_scraper.types.x import JobRetrieveResponse, JobListLocationsResponse, JobSearchResponse

Methods

Dm

Types

from x_twitter_scraper.types.x import DmDeleteMessageResponse, DmRetrieveHistoryResponse, DmSendResponse

Methods

Media

Types

from x_twitter_scraper.types.x import MediaDownloadResponse, MediaUploadResponse

Methods

Profile

Types

from x_twitter_scraper.types.x import (
    ProfileUpdateResponse,
    ProfileUpdateAvatarResponse,
    ProfileUpdateBannerResponse,
)

Methods

Communities

Types

from x_twitter_scraper.types.x import (
    CommunityCreateResponse,
    CommunityDeleteResponse,
    CommunityListSuggestedResponse,
    CommunityListTopicsResponse,
    CommunityRetrieveInfoResponse,
)

Methods

Join

Types

from x_twitter_scraper.types.x.communities import JoinCreateResponse, JoinDeleteAllResponse

Methods

Tweets

Methods

Media

Methods

Accounts

Types

from x_twitter_scraper.types.x import (
    XAccount,
    XAccountDetail,
    AccountCreateResponse,
    AccountListResponse,
    AccountDeleteResponse,
    AccountBulkRetryResponse,
    AccountReauthResponse,
)

Methods

AccountConnectionChallenges

Types

from x_twitter_scraper.types.x import AccountConnectionChallengeSubmitResponse

Methods

AccountConnectionAttempts

Types

from x_twitter_scraper.types.x import AccountConnectionAttemptRetrieveResponse

Methods

AccountConnectionLinks

Types

from x_twitter_scraper.types.x import (
    XAccountConnectionLink,
    AccountConnectionLinkListResponse,
    AccountConnectionLinkCreateResponse,
    AccountConnectionLinkDeleteResponse,
)

Methods

Bookmarks

Types

from x_twitter_scraper.types.x import BookmarkRetrieveFoldersResponse

Methods

Lists

Types

from x_twitter_scraper.types.x import (
    ListRetrieveResponse,
    ListRetrieveFollowersResponse,
    ListRetrieveMembersResponse,
    ListRetrieveSearchResponse,
)

Methods

Broadcasts

Types

from x_twitter_scraper.types.x import BroadcastRetrieveResponse

Methods

CommunityNotes

Types

from x_twitter_scraper.types.x import (
    CommunityNoteListContributorDeletedNotesResponse,
    CommunityNoteListContributorNotesResponse,
    CommunityNoteRetrieveContributorResponse,
)

Methods

Spaces

Types

from x_twitter_scraper.types.x import SpaceRetrieveResponse, SpaceRetrieveReplayResponse, SpaceSearchResponse

Methods

Sports

Types

from x_twitter_scraper.types.x import (
    FootballSchedule,
    FootballScoreboard,
    FootballBoxScore,
    FootballPlays,
    SportsGameAudience,
    FootballRoster,
    FootballProps,
    SportsGamePosts,
)

Methods

Trends

Types

from x_twitter_scraper.types import TrendListResponse

Methods

Support

Attachments

Methods

  • client.support.attachments.download(id) -> BinaryAPIResponse

Tickets

Types

from x_twitter_scraper.types.support import (
    TicketCreateResponse,
    TicketRetrieveResponse,
    TicketUpdateResponse,
    TicketListResponse,
    TicketReplyResponse,
)

Methods

Credits

Types

from x_twitter_scraper.types import (
    CreditRetrieveBalanceResponse,
    CreditRetrieveTopupStatusResponse,
    CreditTopupBalanceResponse,
)

Methods

GuestWallets

Types

from x_twitter_scraper.types import (
    GuestWalletAmount,
    GuestWalletCreateResponse,
    GuestWalletRetrieveStatusResponse,
    GuestWalletTopupResponse,
)

Methods