TwDataTypes
This page contains all the Data Class
- PROXY_TYPE_SOCKS4 = 1
- PROXY_TYPE_SOCKS5 = 2
- PROXY_TYPE_HTTP = 3
Proxy
UserTweets
- class UserTweets
Bases :
BaseGeneratorClass
- Reference:
tweety.types.usertweet.UserTweets
- Attributes:
- tweets: list[Tweet | SelfThread]
List of User Tweets
UserMedia
- class UserMedia
Bases :
BaseGeneratorClass
Note
This Object is JSON Serializable and Iterable
- Reference:
tweety.types.usertweet.UserMedia
SelfTimeline
- class SelfTimeline
Bases :
BaseGeneratorClass
Note
This Object is JSON Serializable and Iterable
- Reference:
tweety.types.usertweet.SelfTimeline
TweetComments
- class TweetComments
Bases :
BaseGeneratorClass
Note
This Object is JSON Serializable and Iterable
- Reference:
tweety.types.usertweet.TweetComments
- Attributes:
- tweets: list[ConversationThread]
List of Tweet ConversationThreads
Got hidden comments or not
Search
Reference Search.
- class Search
Bases :
BaseGeneratorClass
Note
This Object is JSON Serializable and Iterable
- Reference:
tweety.types.search.Search
- Attributes:
- results: list[Tweet | SelfThread | User | List]
List of Results
TopicTweets
- class TopicTweets
Bases :
BaseGeneratorClass
Note
This Object is JSON Serializable and Iterable
- Reference:
tweety.types.topic.TopicTweets
TweetLikes
TweetRetweets
Mention
Bookmarks
CommunityTweets
- class CommunityTweets
Bases :
BaseGeneratorClass
Note
This Object is JSON Serializable and Iterable
- Reference:
tweety.types.community.CommunityTweets
- Attributes:
- tweets: list[Tweet | SelfThread]
List of Tweets
CommunityMembers
Lists
- class Lists
Bases :
BaseGeneratorClass
Note
This Object is JSON Serializable and Iterable
- Reference:
tweety.types.lists.Lists
ListMembers
- class ListMembers
Bases :
BaseGeneratorClass
Note
This Object is JSON Serializable and Iterable
- Reference:
tweety.types.lists.ListMembers
ListTweets
- class ListTweets
Bases :
BaseGeneratorClass
Note
This Object is JSON Serializable and Iterable
- Reference:
tweety.types.lists.ListTweets
- Attributes:
- tweets: list[Tweet | SelfThread]
Tweets of the List
UserFollowers
- class UserFollowers
Bases :
BaseGeneratorClass
Note
This Object is JSON Serializable and Iterable
- Reference:
tweety.types.follow.UserFollowers
UserFollowings
- class UserFollowings
Bases :
BaseGeneratorClass
Note
This Object is JSON Serializable and Iterable
- Reference:
tweety.types.follow.UserFollowings
MutualFollowers
- class MutualFollowers
Bases :
BaseGeneratorClass
Note
This Object is JSON Serializable and Iterable
- Reference:
tweety.types.follow.MutualFollowers
BlockedUsers
- class BlockedUsers
Bases :
BaseGeneratorClass
Note
This Object is JSON Serializable and Iterable
- Reference:
tweety.types.follow.BlockedUsers
TweetNotifications
- class TweetNotifications
Bases :
BaseGeneratorClass
Note
This Object is JSON Serializable and Iterable
- Reference:
tweety.types.notification.TweetNotifications
Inbox
- class Inbox
Bases :
dict
Note
This Object is JSON Serializable and Iterable
- Reference:
tweety.types.inbox.Inbox
- Attributes:
- conversations: list[Conversation]
List of User Conversation
SelfThread
ConversationThread
Tweet
- class Tweet
Bases :
dict
Note
This Object is JSON Serializable and Iterable
- Reference:
tweety.types.twDataTypes.Tweet
- Attributes:
-
- created_on: datetime.datetime
DateTime at which the Tweet was created
- date: datetime.datetime
DateTime at which the Tweet was created
- retweeted_tweet: Tweet
Retweeted Tweet if
is_retweet
isTrue
- edit_control: EditControl | None
Edit Control of the Tweet
- comments: list[ConversationThread]
List of Comments sent in response to this Tweet
- Methods:
- get_comments(pages=1, wait_time=2, cursor=None)
- iter_comments(pages=1, wait_time=2, cursor=None)
Get the comments / replies posted in response to this tweet
- Arguments:
- translate()
Translate the Tweet
- Return: TweetTranslate
Media
Stream
ShortUser
Trends
Card
- class Card
Bases :
dict
Note
This Object is JSON Serializable
- Reference:
tweety.types.twDataTypes.Card
- Attributes:
-
- end_time: datetime.datetime
End Time of the Pool
- last_updated_time: datetime.datetime
Last Updated Time of the Pool
Choice
Place
Coordinates
User
- class User
Bases :
dict
Note
This Object is JSON Serializable
- Reference:
tweety.types.twDataTypes.User
- Attributes:
-
- created_at: datetime.datetime
DateTime at which the user was created
- date: datetime.datetime
DateTime at which the Tweet was created
Conversation
- class Conversation
Bases :
dict
Note
This Object is JSON Serializable
- Reference:
tweety.types.inbox.Conversation
- Attributes:
- Methods:
- get_all_messages(wait_time: int = 2, cursor: int = 0, till_date: datetime.datetime = None, count: int = None)
- iter_all_messages(wait_time: int = 2, cursor: int = 0, till_date: datetime.datetime = None, count: int = None)
Force get all the messages of the conversation (
iter
for Generator)- Arguments:
-
- till_date: datetime.datetime
Get Messages till that date
Message
- class Message
Bases :
dict
Note
This Object is JSON Serializable
- Reference:
tweety.types.inbox.Message
- Attributes:
-
- time: datetime.datetime
Time at which the message was sent
NewMessage
- class NewMessage
Bases :
dict
Note
This Object is JSON Serializable
- Reference:
tweety.events.newmessage.NewMessageUpdate.NewMessage
- Attributes:
-
- time: datetime.datetime
Time at which the message was sent
- conversation: Conversation
Conversation object
Community
- class Community
Bases :
dict
Note
This Object is JSON Serializable
- Reference:
tweety.types.twDataTypes.Community
- Attributes:
-
- created_at: datetime.datetime
DateTime at which the Community was created
- date: datetime.datetime
DateTime at which the Tweet was created
Symbol
Hashtag
URL
RichText
RichTag
Pool
- class Pool
Bases :
dict
Note
This Object is JSON Serializable
- Reference:
tweety.types.twDataTypes.Pool
- Attributes:
-
- end_time: datetime.datetime
End Time of the Pool
- last_updated_time: datetime.datetime
Last Updated Time of the Pool
TwList
- class TwList
Bases :
dict
Note
This Object is JSON Serializable
- Reference:
tweety.types.twDataTypes.TwList
- Attributes:
-
- created_at: datetime.datetime
Time at which list was created