Twitter Class
The Twitter aggregates several mixin classes to provide all the common functionality in a nice, Pythonic interface. Each mixin has its own methods, which you all can use.
- class Twitter(session_name: str | Session, proxy: dict | Proxy = None)
Bases :
UpdateMethods
,BotMethods
,AuthMethods
,UserMethods
- Arguments
- Methods:
All Methods are Here All Available Functions!
BaseGeneratorClass
- class BaseGeneratorClass
Bases :
dict
- Reference:
tweety.types.base.BaseGeneratorClass
Note
This Object is JSON Serializable and Iterable
This is the Base Class for All Generator Classes
- Attributes:
- Methods:
- get_page(cursor: str)
Get a Page of tweets
- Return: tuple[list[Tweet | SelfThread | User | ConversationThread | List], cursor: str, cursor_top: str]
- get_next_page()
Get next page of tweets if available using the saved cursor
- Return: list[Tweet | SelfThread | User | ConversationThread | List]