twitter_openapi_python_generated
Twitter OpenAPI(Swagger) specification
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 0.0.1
- Package version: 0.1.2
- Generator version: 7.26.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Requirements.
Python 3.10+
Packaging uses standard [project] metadata and [dependency-groups] (PEP 621/735).
Install the package with python -m pip install .; install development dependencies
with Poetry 2.2 or newer using poetry install, or pip 25.1 or newer using
python -m pip install --group dev. The latter installs the group, not the package.
Installation & Usage
pip install
If the python package is hosted on a repository, you can install directly using:
pip install git+https://github.com/fa0311/twitter_openapi_python.git
(you may need to run pip with root permission: sudo pip install git+https://github.com/fa0311/twitter_openapi_python.git)
Then import the package:
import twitter_openapi_python_generated
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install to install the package for all users)
Then import the package:
import twitter_openapi_python_generated
Tests
Execute pytest to run the tests.
Getting Started
Please follow the installation procedure and then run the following:
import twitter_openapi_python_generated
from twitter_openapi_python_generated.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://x.com/i/api
# See configuration.py for a list of all supported configuration parameters.
configuration = twitter_openapi_python_generated.Configuration(
host = "https://x.com/i/api"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: Accept
configuration.api_key['Accept'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Accept'] = 'Bearer'
# Configure API key authorization: ClientLanguage
configuration.api_key['ClientLanguage'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ClientLanguage'] = 'Bearer'
# Configure API key authorization: Priority
configuration.api_key['Priority'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Priority'] = 'Bearer'
# Configure API key authorization: Referer
configuration.api_key['Referer'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Referer'] = 'Bearer'
# Configure API key authorization: SecFetchDest
configuration.api_key['SecFetchDest'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['SecFetchDest'] = 'Bearer'
# Configure API key authorization: SecChUaPlatform
configuration.api_key['SecChUaPlatform'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['SecChUaPlatform'] = 'Bearer'
# Configure API key authorization: SecFetchMode
configuration.api_key['SecFetchMode'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['SecFetchMode'] = 'Bearer'
# Configure API key authorization: CsrfToken
configuration.api_key['CsrfToken'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['CsrfToken'] = 'Bearer'
# Configure API key authorization: ClientUuid
configuration.api_key['ClientUuid'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ClientUuid'] = 'Bearer'
# Configure Bearer authorization: BearerAuth
configuration = twitter_openapi_python_generated.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Configure API key authorization: GuestToken
configuration.api_key['GuestToken'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['GuestToken'] = 'Bearer'
# Configure API key authorization: SecChUa
configuration.api_key['SecChUa'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['SecChUa'] = 'Bearer'
# Configure API key authorization: CookieGt0
configuration.api_key['CookieGt0'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['CookieGt0'] = 'Bearer'
# Configure API key authorization: ClientTransactionId
configuration.api_key['ClientTransactionId'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ClientTransactionId'] = 'Bearer'
# Configure API key authorization: ActiveUser
configuration.api_key['ActiveUser'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ActiveUser'] = 'Bearer'
# Configure API key authorization: CookieCt0
configuration.api_key['CookieCt0'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['CookieCt0'] = 'Bearer'
# Configure API key authorization: UserAgent
configuration.api_key['UserAgent'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['UserAgent'] = 'Bearer'
# Configure API key authorization: AcceptLanguage
configuration.api_key['AcceptLanguage'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['AcceptLanguage'] = 'Bearer'
# Configure API key authorization: SecFetchSite
configuration.api_key['SecFetchSite'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['SecFetchSite'] = 'Bearer'
# Configure API key authorization: AuthType
configuration.api_key['AuthType'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['AuthType'] = 'Bearer'
# Configure API key authorization: CookieAuthToken
configuration.api_key['CookieAuthToken'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['CookieAuthToken'] = 'Bearer'
# Configure API key authorization: SecChUaMobile
configuration.api_key['SecChUaMobile'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['SecChUaMobile'] = 'Bearer'
# Configure API key authorization: AcceptEncoding
configuration.api_key['AcceptEncoding'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['AcceptEncoding'] = 'Bearer'
# Enter a context with an instance of the API client
with twitter_openapi_python_generated.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = twitter_openapi_python_generated.BirdwatchApi(api_client)
path_query_id = 'LUEdtkcpBlGktUtms4BvwA' # str | (default to 'LUEdtkcpBlGktUtms4BvwA')
variables = '{}' # str | (default to '{}')
try:
api_response = api_instance.get_birdwatch_fetch_alias_self_select_status(path_query_id, variables)
print("The response of BirdwatchApi->get_birdwatch_fetch_alias_self_select_status:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling BirdwatchApi->get_birdwatch_fetch_alias_self_select_status: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://x.com/i/api
| Class | Method | HTTP request | Description |
|---|---|---|---|
| BirdwatchApi | get_birdwatch_fetch_alias_self_select_status | GET /graphql/{pathQueryId}/BirdwatchFetchAliasSelfSelectStatus | |
| BirdwatchApi | get_birdwatch_fetch_authenticated_user_profile | GET /graphql/{pathQueryId}/BirdwatchFetchAuthenticatedUserProfile | |
| BirdwatchApi | get_birdwatch_fetch_birdwatch_profile | GET /graphql/{pathQueryId}/BirdwatchFetchBirdwatchProfile | |
| BirdwatchApi | get_birdwatch_fetch_global_timeline | GET /graphql/{pathQueryId}/BirdwatchFetchGlobalTimeline | |
| BirdwatchApi | get_birdwatch_fetch_public_data | GET /graphql/{pathQueryId}/BirdwatchFetchPublicData | |
| CommunityApi | get_communities_fetch_one_query | GET /graphql/{pathQueryId}/CommunitiesFetchOneQuery | |
| CommunityApi | get_communities_search_query | GET /graphql/{pathQueryId}/CommunitiesSearchQuery | |
| CommunityApi | get_community_query | GET /graphql/{pathQueryId}/CommunityQuery | |
| CommunityApi | get_global_communities_latest_post_search_timeline | GET /graphql/{pathQueryId}/GlobalCommunitiesLatestPostSearchTimeline | |
| CommunityApi | get_global_communities_post_search_timeline | GET /graphql/{pathQueryId}/GlobalCommunitiesPostSearchTimeline | |
| CommunityApi | get_topic_carousel_query | GET /graphql/{pathQueryId}/TopicCarouselQuery | |
| DefaultApi | get_authenticate_periscope | GET /graphql/{pathQueryId}/AuthenticatePeriscope | |
| DefaultApi | get_creator_studio_tab_bar_item_query | GET /graphql/{pathQueryId}/CreatorStudioTabBarItemQuery | |
| DefaultApi | get_data_saver_mode | GET /graphql/{pathQueryId}/DataSaverMode | |
| DefaultApi | get_grok_home | GET /graphql/{pathQueryId}/GrokHome | |
| DefaultApi | get_pinned_timelines | GET /graphql/{pathQueryId}/PinnedTimelines | |
| DefaultApi | get_profile_spotlights_query | GET /graphql/{pathQueryId}/ProfileSpotlightsQuery | |
| DefaultApi | get_tweet_result_by_rest_id | GET /graphql/{pathQueryId}/TweetResultByRestId | |
| OtherApi | other | GET /other | |
| PostApi | post_create_bookmark | POST /graphql/{pathQueryId}/CreateBookmark | |
| PostApi | post_create_draft_tweet | POST /graphql/{pathQueryId}/CreateDraftTweet | |
| PostApi | post_create_list | POST /graphql/{pathQueryId}/CreateList | |
| PostApi | post_create_retweet | POST /graphql/{pathQueryId}/CreateRetweet | |
| PostApi | post_create_tweet | POST /graphql/{pathQueryId}/CreateTweet | |
| PostApi | post_delete_bookmark | POST /graphql/{pathQueryId}/DeleteBookmark | |
| PostApi | post_delete_draft_tweets | POST /graphql/{pathQueryId}/DeleteDraftTweets | |
| PostApi | post_delete_list | POST /graphql/{pathQueryId}/DeleteList | |
| PostApi | post_delete_retweet | POST /graphql/{pathQueryId}/DeleteRetweet | |
| PostApi | post_delete_tweet | POST /graphql/{pathQueryId}/DeleteTweet | |
| PostApi | post_favorite_tweet | POST /graphql/{pathQueryId}/FavoriteTweet | |
| PostApi | post_list_add_member | POST /graphql/{pathQueryId}/ListAddMember | |
| PostApi | post_list_remove_member | POST /graphql/{pathQueryId}/ListRemoveMember | |
| PostApi | post_unfavorite_tweet | POST /graphql/{pathQueryId}/UnfavoriteTweet | |
| TweetApi | get_bookmark_search_timeline | GET /graphql/{pathQueryId}/BookmarkSearchTimeline | |
| TweetApi | get_bookmarks | GET /graphql/{pathQueryId}/Bookmarks | |
| TweetApi | get_community_about_timeline | GET /graphql/{pathQueryId}/CommunityAboutTimeline | |
| TweetApi | get_community_discovery_timeline | GET /graphql/{pathQueryId}/CommunityDiscoveryTimeline | |
| TweetApi | get_community_media_timeline | GET /graphql/{pathQueryId}/CommunityMediaTimeline | |
| TweetApi | get_community_tweets_timeline | GET /graphql/{pathQueryId}/CommunityTweetsTimeline | |
| TweetApi | get_connect_tab_timeline | GET /graphql/{pathQueryId}/ConnectTabTimeline | |
| TweetApi | get_explore_page | GET /graphql/{pathQueryId}/ExplorePage | |
| TweetApi | get_explore_sidebar | GET /graphql/{pathQueryId}/ExploreSidebar | |
| TweetApi | get_generic_timeline_by_id | GET /graphql/{pathQueryId}/GenericTimelineById | |
| TweetApi | get_home_latest_timeline | GET /graphql/{pathQueryId}/HomeLatestTimeline | |
| TweetApi | get_home_timeline | GET /graphql/{pathQueryId}/HomeTimeline | |
| TweetApi | get_likes | GET /graphql/{pathQueryId}/Likes | |
| TweetApi | get_list_latest_tweets_timeline | GET /graphql/{pathQueryId}/ListLatestTweetsTimeline | |
| TweetApi | get_notifications_timeline | GET /graphql/{pathQueryId}/NotificationsTimeline | |
| TweetApi | get_search_timeline | GET /graphql/{pathQueryId}/SearchTimeline | |
| TweetApi | get_tweet_detail | GET /graphql/{pathQueryId}/TweetDetail | |
| TweetApi | get_user_highlights_tweets | GET /graphql/{pathQueryId}/UserHighlightsTweets | |
| TweetApi | get_user_media | GET /graphql/{pathQueryId}/UserMedia | |
| TweetApi | get_user_originals_timeline | GET /graphql/{pathQueryId}/UserOriginalsTimeline | |
| TweetApi | get_user_replies_timeline | GET /graphql/{pathQueryId}/UserRepliesTimeline | |
| TweetApi | get_user_reposts_timeline | GET /graphql/{pathQueryId}/UserRepostsTimeline | |
| TweetApi | get_user_super_follow_tweets | GET /graphql/{pathQueryId}/UserSuperFollowTweets | |
| TweetApi | get_user_tweets | GET /graphql/{pathQueryId}/UserTweets | |
| TweetApi | get_user_tweets_and_replies | GET /graphql/{pathQueryId}/UserTweetsAndReplies | |
| TweetApi | get_user_video_timeline | GET /graphql/{pathQueryId}/UserVideoTimeline | |
| UserApi | get_fetch_draft_tweets | GET /graphql/{pathQueryId}/FetchDraftTweets | |
| UserApi | get_fetch_scheduled_tweets | GET /graphql/{pathQueryId}/FetchScheduledTweets | |
| UserApi | get_user_by_rest_id | GET /graphql/{pathQueryId}/UserByRestId | |
| UserApi | get_user_by_screen_name | GET /graphql/{pathQueryId}/UserByScreenName | |
| UserApi | get_viewer_badge_counts | GET /graphql/{pathQueryId}/ViewerBadgeCounts | |
| UserListApi | get_blue_verified_followers | GET /graphql/{pathQueryId}/BlueVerifiedFollowers | |
| UserListApi | get_combined_lists | GET /graphql/{pathQueryId}/CombinedLists | |
| UserListApi | get_favoriters | GET /graphql/{pathQueryId}/Favoriters | |
| UserListApi | get_followers | GET /graphql/{pathQueryId}/Followers | |
| UserListApi | get_followers_you_know | GET /graphql/{pathQueryId}/FollowersYouKnow | |
| UserListApi | get_following | GET /graphql/{pathQueryId}/Following | |
| UserListApi | get_list_by_rest_id | GET /graphql/{pathQueryId}/ListByRestId | |
| UserListApi | get_list_creation_recommended_users | GET /graphql/{pathQueryId}/ListCreationRecommendedUsers | |
| UserListApi | get_list_edit_recommended_users | GET /graphql/{pathQueryId}/ListEditRecommendedUsers | |
| UserListApi | get_list_members | GET /graphql/{pathQueryId}/ListMembers | |
| UserListApi | get_list_ownerships | GET /graphql/{pathQueryId}/ListOwnerships | |
| UserListApi | get_list_search_timeline | GET /graphql/{pathQueryId}/ListSearchTimeline | |
| UserListApi | get_list_subscribers | GET /graphql/{pathQueryId}/ListSubscribers | |
| UserListApi | get_lists_management_page_timeline | GET /graphql/{pathQueryId}/ListsManagementPageTimeline | |
| UserListApi | get_retweeters | GET /graphql/{pathQueryId}/Retweeters | |
| UsersApi | get_users_by_rest_ids | GET /graphql/{pathQueryId}/UsersByRestIds | |
| UsersApi | get_users_verified_avatars | GET /graphql/{pathQueryId}/UsersVerifiedAvatars | |
| V11GetApi | get_friends_following_list | GET /1.1/friends/following/list.json | |
| V11GetApi | get_search_typeahead | GET /1.1/search/typeahead.json | |
| V11PostApi | post_create_friendships | POST /1.1/friendships/create.json | |
| V11PostApi | post_destroy_friendships | POST /1.1/friendships/destroy.json | |
| V20GetApi | get_search_adaptive | GET /2/search/adaptive.json |
Documentation For Models
- AboutCommunityResult
- AboutCommunityResults
- AboutCommunityTweetData
- AdMetadataContainer
- AdditionalMediaInfo
- AdditionalMediaInfoCallToActions
- AdditionalMediaInfoCallToActionsUrl
- AffiliatesHighlightedLabel
- AllowDownloadStatus
- AnalysisResults
- ApiImage
- ApiMedia
- Article
- ArticleCoverMedia
- ArticleCoverMediaInfo
- ArticleLifecycleState
- ArticleMetadata
- ArticlePreview
- ArticleResult
- ArticleResults
- AuthenticatePeriscopeResponse
- AuthenticatePeriscopeResponseData
- AuthorCommunityRelationship
- BadgeCounts
- BirdwatchAliasSelfSelectStatus
- BirdwatchEntity
- BirdwatchEntityRef
- BirdwatchFetchAliasSelfSelectStatusResponse
- BirdwatchFetchAliasSelfSelectStatusResponseData
- BirdwatchFetchAuthenticatedUserProfileResponse
- BirdwatchFetchAuthenticatedUserProfileResponseData
- BirdwatchFetchBirdwatchProfileResponse
- BirdwatchFetchBirdwatchProfileResponseData
- BirdwatchFetchGlobalTimelineResponse
- BirdwatchFetchGlobalTimelineResponseData
- BirdwatchFetchPublicDataResponse
- BirdwatchFetchPublicDataResponseData
- BirdwatchHomePage
- BirdwatchHomePageBody
- BirdwatchHomeTimeline
- BirdwatchPivot
- BirdwatchPivotCallToAction
- BirdwatchPivotFooter
- BirdwatchPivotNote
- BirdwatchPivotSubtitle
- BirdwatchProfile
- BirdwatchPublicDataFile
- BirdwatchPublicDataFileBundle
- BirdwatchViewer
- BookmarkSearch
- BookmarkSearchTimelineResponse
- BookmarkSearchTimelineResponseData
- BookmarksResponse
- BookmarksResponseData
- BookmarksTimeline
- Callback
- CashtagAttachment
- CashtagInfo
- ClickTrackingInfo
- ClientEventInfo
- ClientEventInfoDetails
- CommunitiesActions
- CommunitiesFetchOneQueryResponse
- CommunitiesFetchOneQueryResponseData
- CommunitiesSearchQueryResponse
- CommunitiesSearchQueryResponseData
- CommunitiesSearchSlice
- Community
- CommunityAboutTimelineResponse
- CommunityActions
- CommunityBannerMedia
- CommunityBannerMediaInfo
- CommunityDeleteActionResult
- CommunityDiscoveryTimelineResponse
- CommunityDiscoveryTimelineResponseData
- CommunityDiscoveryTimelineViewer
- CommunityFacepileUser
- CommunityFacepileUserResults
- CommunityHashtag
- CommunityHashtagSlice
- CommunityIdUserResults
- CommunityInvitesResult
- CommunityJoinAction
- CommunityJoinActionResultUnion
- CommunityJoinActionUnavailable
- CommunityJoinRequestsResult
- CommunityLeaveActionResult
- CommunityListMembersActionResult
- CommunityMediaTimelineResponse
- CommunityModerationState
- CommunityPageActions
- CommunityPageCommunity
- CommunityPageDeleteActionResult
- CommunityPageInvitesResult
- CommunityPageJoinActionResult
- CommunityPageLeaveActionResult
- CommunityPagePinActionResult
- CommunityPageResults
- CommunityPinActionResult
- CommunityPrimaryTopicName
- CommunityQueryResponse
- CommunityQueryResponseData
- CommunityRelationship
- CommunityRelayRule
- CommunityResult
- CommunityRule
- CommunitySearchCommunity
- CommunitySearchResults
- CommunitySettingsActions
- CommunitySettingsCommunity
- CommunitySettingsCreator
- CommunitySettingsCreatorCore
- CommunitySettingsCreatorResults
- CommunitySettingsCreatorVerification
- CommunitySettingsInvitesResult
- CommunitySettingsResults
- CommunitySubtopic
- CommunityTopic
- CommunityTopicResults
- CommunityTweetsTimelineResponse
- CommunityUnavailable
- CommunityUnion
- CommunityUnpinActionResult
- CommunityUrls
- CommunityUrlsPermalink
- CommunityViewerRelationship
- ConnectTabTimelineResponse
- ConnectTabTimelineResponseData
- ContentDisclosure
- ContentDisclosureAdvertisingDisclosure
- ContentDisclosureAiGeneratedDisclosure
- ContentEntryType
- ContentItemType
- ContentUnion
- ConversationControl
- ConversationDetails
- ConversationMetadata
- ConversationOwner
- ConversationOwnerCore
- ConversationOwnerResults
- CoverCta
- CreateBookmarkResponse
- CreateBookmarkResponseData
- CreateDraftTweetResponse
- CreateDraftTweetResponseData
- CreateDraftTweetResponseTweet
- CreateRetweet
- CreateRetweetResponse
- CreateRetweetResponseData
- CreateRetweetResponseResult
- CreateTweet
- CreateTweetResponse
- CreateTweetResponseData
- CreateTweetResponseResult
- CreatorStudioTabBarItemQueryResponse
- CreatorStudioTabBarItemQueryResponseData
- CtaClientEventInfo
- CtaLimitedActionPrompt
- CtaLimitedActionPromptText
- CursorType
- DataSaverModeResponse
- DataSaverModeResponseData
- DeepsearchHeader
- DeepsearchStep
- DeepsearchWebResult
- DeleteBookmarkResponse
- DeleteBookmarkResponseData
- DeleteDraftTweetsResponse
- DeleteDraftTweetsResponseData
- DeleteListResponse
- DeleteListResponseData
- DeleteRetweet
- DeleteRetweetResponse
- DeleteRetweetResponseData
- DeleteRetweetResponseResult
- DeleteTweetResponse
- DeleteTweetResponseData
- DeleteTweetResponseResult
- DisplayTreatment
- DisplayType
- DraftList
- DraftTweet
- DraftTweetCreateRequest
- DraftTweetUser
- DraftTweetUserResults
- DraftTweetsViewer
- Entities
- ErrorExtensions
- ErrorResponse
- ErrorResponsePathInner
- EventSummaryAdMetadataContainer
- EventSummaryEvent
- EventSummaryMedia
- EventSummaryMediaEntity
- EventSummaryMediaKey
- EventSummaryPromotedMetadata
- ExplorePage
- ExplorePageBody
- ExplorePageResponse
- ExplorePageResponseData
- ExploreSidebarResponse
- ExploreSidebarResponseData
- ExploreTimeline
- ExploreTimelineScribeConfig
- ExtMediaAvailability
- ExtendedEntities
- FavoriteTweet
- FavoriteTweetResponse
- FeedbackAction
- FeedbackActionEntry
- FeedbackClientEventInfo
- FeedbackInfo
- FetchDraftTweetsResponse
- FetchDraftTweetsResponseData
- FetchScheduledTweetsResponse
- FetchScheduledTweetsResponseData
- FollowResponse
- FollowResponseData
- FollowResponseResult
- FollowResponseUser
- FollowTimeline
- GenericTimelineByIdResponse
- GenericTimelineByIdResponseData
- GlobalCommunitiesLatestPostSearch
- GlobalCommunitiesLatestPostSearchTimelineResponse
- GlobalCommunitiesLatestPostSearchTimelineResponseData
- GlobalCommunitiesPostSearch
- GlobalCommunitiesPostSearchTimelineResponse
- GlobalCommunitiesPostSearchTimelineResponseData
- GrokAnnotation
- GrokEntity
- GrokEntityRef
- GrokHome
- GrokHomeLayout
- GrokHomeLayoutSection
- GrokHomePrompt
- GrokHomeResponse
- GrokHomeResponseData
- GrokImageAnnotation
- GrokModelOption
- GrokShareAttachment
- GrokShareAttachmentItem
- GrokTranslatedBio
- GrokTranslatedBioWithAvailability
- GrokTranslatedCommunityNote
- GrokTranslatedCommunityNoteWithAvailability
- GrokTranslatedPost
- GrokTranslatedPostWithAvailability
- GroupedTrend
- Hashtag
- Highlight
- HomeTimelineHome
- HomeTimelineResponseData
- InstructionType
- InstructionUnion
- ItemContentUnion
- ItemResult
- JetfuelAttachment
- KeyValue
- LandingUrl
- LimitedAction
- LimitedActionResults
- LimitedActionResultsData
- ListBannerMedia
- ListBannerMediaInfo
- ListBannerMediaResults
- ListLatestTweetsTimelineResponse
- ListMembersList
- ListMembersResponse
- ListMembersResponseData
- ListRecommendedUsersList
- ListRecommendedUsersResponse
- ListRecommendedUsersResponseData
- ListResponse
- ListResponseData
- ListSearch
- ListSearchTimelineResponse
- ListSearchTimelineResponseData
- ListSubscribersList
- ListSubscribersResponse
- ListSubscribersResponseData
- ListTweetsTimelineData
- ListTweetsTimelineList
- ListsManagementPageTimelineResponse
- ListsManagementPageTimelineResponseData
- ListsManagementViewer
- Location
- Media
- MediaColorInfo
- MediaColorInfoPalette
- MediaColorInfoPaletteRGB
- MediaCommunityResult
- MediaCommunityResults
- MediaCommunityTweetData
- MediaExtended
- MediaOriginalInfo
- MediaOriginalInfoFocusRect
- MediaResult
- MediaResults
- MediaSalientRect
- MediaSize
- MediaSizes
- MediaStats
- MediaVideoInfo
- MediaVideoInfoVariant
- MediaVisibilityResults
- MediaVisibilityResultsBlurredImageInterstitial
- ModuleEntry
- ModuleFooter
- ModuleHeader
- ModuleItem
- ModuleMetadata
- NoteTweet
- NoteTweetResult
- NoteTweetResultData
- NoteTweetResultMedia
- NoteTweetResultMediaInlineMedia
- NoteTweetResultRichText
- NoteTweetResultRichTextTag
- NotificationDetails
- NotificationTemplate
- NotificationsResult
- NotificationsTimelineData
- NotificationsTimelineResponse
- NotificationsUserResults
- NotificationsViewerV2
- OneFactorLoginEligibility
- OtherObjectAll
- PinnedTimelines
- PinnedTimelinesResponse
- PinnedTimelinesResponseData
- PostCreateBookmarkRequest
- PostCreateBookmarkRequestVariables
- PostCreateDraftTweetRequest
- PostCreateDraftTweetRequestVariables
- PostCreateDraftTweetRequestVariablesPostTweetRequest
- PostCreateListRequest
- PostCreateListRequestFeatures
- PostCreateListRequestVariables
- PostCreateRetweetRequest
- PostCreateRetweetRequestVariables
- PostCreateTweetRequest
- PostCreateTweetRequestFeatures
- PostCreateTweetRequestVariables
- PostCreateTweetRequestVariablesConversationControl
- PostCreateTweetRequestVariablesMedia
- PostCreateTweetRequestVariablesMediaMediaEntitiesInner
- PostCreateTweetRequestVariablesReply
- PostCta
- PostCtaTitleText
- PostCtaTitleTextEntity
- PostCtaTitleTextEntityRef
- PostCtaUserResults
- PostCtaUserResultsAvatar
- PostCtaUserResultsResult
- PostDeleteBookmarkRequest
- PostDeleteDraftTweetsRequest
- PostDeleteDraftTweetsRequestVariables
- PostDeleteListRequest
- PostDeleteListRequestVariables
- PostDeleteRetweetRequest
- PostDeleteRetweetRequestVariables
- PostDeleteTweetRequest
- PostFavoriteTweetRequest
- PostListAddMemberRequest
- PostListAddMemberRequestVariables
- PostListRemoveMemberRequest
- PostUnfavoriteTweetRequest
- PrimaryCommunityTopic
- ProfileBio
- ProfileBioEntities
- ProfileBioEntitiesUrls
- ProfileResponse
- ProfileResponseData
- PromotedMetadata
- PromotedTrend
- QuotedRefResult
- QuotedStatusPermalink
- RankedCommunityResult
- RankedCommunityResults
- RankedCommunityTweetData
- ReaderModeConfig
- Retweet
- RetweetLegacy
- RichMessage
- RichMessageEntity
- RichMessageEntityRef
- ScheduledTweetsViewer
- ScribeConfig
- SearchByRawQuery
- SearchTimeline
- SearchTimelineData
- SearchTimelineResponse
- SelfThread
- SensitiveMediaWarning
- Session
- SliceInfo
- Smarttag
- SmarttagTag
- SmarttagTagInfo
- SocialContextLandingUrl
- SocialContextUnion
- SocialContextUnionType
- SuperFollowUserProfile
- SuperFollowsReplyUserResult
- SuperFollowsReplyUserResultCore
- SuperFollowsReplyUserResultData
- SuperFollowsReplyUserResultLegacy
- Symbol
- Text
- TextEntity
- TextEntityRef
- TextHighlight
- ThumbnailImage
- Timeline
- TimelineAddEntries
- TimelineAddEntry
- TimelineAddToModule
- TimelineClearCache
- TimelineClearEntriesUnreadState
- TimelineCommunity
- TimelineCoverBehavior
- TimelineCoverBehaviorUrl
- TimelineEventSummary
- TimelineFrame
- TimelineGeneralContext
- TimelineHalfCover
- TimelineLabel
- TimelineMarkEntriesUnreadGreaterThanSortIndex
- TimelineMessagePrompt
- TimelineMessagePromptButton
- TimelineMessagePromptButtonAction
- TimelineMessagePromptContent
- TimelineMessagePromptRichText
- TimelineMessagePromptRichTextEntity
- TimelineMessagePromptRichTextEntityRef
- TimelineMetadata
- TimelineNotification
- TimelinePinEntry
- TimelinePrompt
- TimelinePromptCallback
- TimelinePromptContent
- TimelineReplaceEntry
- TimelineResponse
- TimelineResponseObjects
- TimelineResult
- TimelineShowAlert
- TimelineShowAlertColorConfig
- TimelineShowAlertIconDisplayInfo
- TimelineShowAlertRichText
- TimelineShowCover
- TimelineTerminateTimeline
- TimelineTimelineCursor
- TimelineTimelineItem
- TimelineTimelineModule
- TimelineTombstone
- TimelineTopicContext
- TimelineTrend
- TimelineTweet
- TimelineTwitterList
- TimelineUser
- TimelinesDetails
- Timestamp
- TombstoneEntity
- TombstoneInfo
- TombstoneRef
- TombstoneRichText
- TopicCarouselQueryResponse
- TopicCarouselQueryResponseData
- TopicContext
- Tracing
- TrendImage
- TrendMetadata
- TrendPromotedMetadata
- TrendResults
- Tweet
- TweetCard
- TweetCardLegacy
- TweetCardLegacyBindingValue
- TweetCardLegacyBindingValueData
- TweetCardLegacyBindingValueDataImage
- TweetCardPlatform
- TweetCardPlatformAudience
- TweetCardPlatformData
- TweetCardPlatformDevice
- TweetDetailResponse
- TweetDetailResponseData
- TweetEditControl
- TweetEditControlInitial
- TweetEditPrespective
- TweetFavoritersResponse
- TweetFavoritersResponseData
- TweetInterstitial
- TweetInterstitialRevealText
- TweetInterstitialText
- TweetInterstitialTextEntity
- TweetInterstitialTextEntityRef
- TweetLegacy
- TweetLegacyScopes
- TweetLimitedActionResults
- TweetPostCta
- TweetPreviewDisplay
- TweetPreviewDisplayCta
- TweetPreviewDisplayCtaUrl
- TweetPreviewDisplayTweet
- TweetPreviewDisplayTweetViewCount
- TweetPreviousCounts
- TweetResultByRestIdData
- TweetResultByRestIdResponse
- TweetRetweetersResponse
- TweetRetweetersResponseData
- TweetTombstone
- TweetUnavailable
- TweetUnion
- TweetView
- TweetWithVisibilityResults
- TwitterList
- TypeName
- UnfavoriteTweet
- UnfavoriteTweetResponse
- UnifiedCard
- Url
- UrtEndpointOptions
- UrtEndpointRequestParams
- User
- UserActionCounts
- UserAvatar
- UserBanner
- UserCore
- UserDmPermissions
- UserFeatures
- UserHighlightsInfo
- UserHighlightsTweetsData
- UserHighlightsTweetsResponse
- UserHighlightsTweetsResult
- UserHighlightsTweetsTimeline
- UserHighlightsTweetsUser
- UserLabel
- UserLabelBadge
- UserLabelMentionResults
- UserLabelMentionUser
- UserLabelMentionUserCore
- UserLabelText
- UserLabelTextEntity
- UserLabelTextEntityRef
- UserLabelUrl
- UserLegacy
- UserLegacyExtendedProfile
- UserLegacyExtendedProfileBirthdate
- UserLocation
- UserMediaPermissions
- UserMention
- UserNotificationsSettings
- UserPinnedItems
- UserPrivacy
- UserProfessional
- UserProfessionalCategory
- UserProfile
- UserProfileMetadata
- UserProfileTranslation
- UserRelationshipCounts
- UserRelationshipPerspectives
- UserResponse
- UserResponseData
- UserResultByScreenName
- UserResultByScreenNameCore
- UserResultByScreenNameLegacy
- UserResultByScreenNameResult
- UserResultCore
- UserResultPrivacy
- UserResultRelationshipPerspectives
- UserResults
- UserTipJarSettings
- UserTweetCounts
- UserTweetsData
- UserTweetsResponse
- UserTweetsResultV1
- UserTweetsResultV2
- UserTweetsUser
- UserUnavailable
- UserUnion
- UserValue
- UserVerification
- UserVerificationInfo
- UserVerificationInfoReason
- UserVerificationInfoReasonDescription
- UserVerificationInfoReasonDescriptionEntities
- UserVerificationInfoReasonDescriptionEntitiesRef
- UserWebsite
- UsersResponse
- UsersResponseData
- UsersVerifiedAvatarsResponse
- UsersVerifiedAvatarsResponseData
- VerifiedAvatarUser
- VerifiedAvatarUserResults
- ViewerBadgeCountsResponse
- ViewerBadgeCountsResponseData
- ViewerBadgeCountsResult
- ViewerBadgeCountsUserResults
- ViewerBadgeCountsViewer
Documentation For Authorization
Authentication schemes defined for the API:
Accept
- Type: API key
- API key parameter name: Accept
- Location: HTTP header
AcceptEncoding
- Type: API key
- API key parameter name: Accept-Encoding
- Location: HTTP header
AcceptLanguage
- Type: API key
- API key parameter name: Accept-Language
- Location: HTTP header
ActiveUser
- Type: API key
- API key parameter name: x-twitter-active-user
- Location: HTTP header
AuthType
- Type: API key
- API key parameter name: x-twitter-auth-type
- Location: HTTP header
BearerAuth
- Type: Bearer authentication
ClientLanguage
- Type: API key
- API key parameter name: x-twitter-client-language
- Location: HTTP header
ClientTransactionId
- Type: API key
- API key parameter name: x-client-transaction-id
- Location: HTTP header
ClientUuid
- Type: API key
- API key parameter name: x-client-uuid
- Location: HTTP header
CookieAuthToken
- Type: API key
- API key parameter name: auth_token
- Location:
CookieCt0
- Type: API key
- API key parameter name: ct0
- Location:
CookieGt0
- Type: API key
- API key parameter name: gt0
- Location:
CsrfToken
- Type: API key
- API key parameter name: x-csrf-token
- Location: HTTP header
GuestToken
- Type: API key
- API key parameter name: x-guest-token
- Location: HTTP header
Priority
- Type: API key
- API key parameter name: Priority
- Location: HTTP header
Referer
- Type: API key
- API key parameter name: Referer
- Location: HTTP header
SecChUa
- Type: API key
- API key parameter name: Sec-Ch-Ua
- Location: HTTP header
SecChUaMobile
- Type: API key
- API key parameter name: Sec-Ch-Ua-Mobile
- Location: HTTP header
SecChUaPlatform
- Type: API key
- API key parameter name: Sec-Ch-Ua-Platform
- Location: HTTP header
SecFetchDest
- Type: API key
- API key parameter name: Sec-Fetch-Dest
- Location: HTTP header
SecFetchMode
- Type: API key
- API key parameter name: Sec-Fetch-Mode
- Location: HTTP header
SecFetchSite
- Type: API key
- API key parameter name: Sec-Fetch-Site
- Location: HTTP header
UserAgent
- Type: API key
- API key parameter name: user-agent
- Location: HTTP header
Author
Metadata
Release files for twitter-openapi-python-generated 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| twitter_openapi_python_generated-0.1.2.tar.gz | 527.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| twitter_openapi_python_generated-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.5 MB
Release files / twitter_openapi_python_generated-0.1.2.tar.gz
| Download URL | twitter_openapi_python_generated-0.1.2.tar.gz |
|---|---|
| Size | 527.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3833f40cc0497829aa1547e527d58a03b8afc7fc8fdfa2fefcfa4a109b80f069
|
|
BLAKE2b-256 checksum How to use checksums |
40b4b90e1a017f3bb1de163b10bd4a88a2e6636bc8173a344e80938593d372f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.
Transparency logRelease files / twitter_openapi_python_generated-0.1.2-py3-none-any.whl
| Download URL | twitter_openapi_python_generated-0.1.2-py3-none-any.whl |
|---|---|
| Size | 965.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
28a270f109c3193cb908e1809e9c9fc5c1e1177c5fc141044d17ffea8453edf4
|
|
BLAKE2b-256 checksum How to use checksums |
ed902b168a26a569f1c71111cb1f6184de6f68f7fa8dc68c90f29a7f7a7da2d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.
Transparency log