Twitter Class
- class Twitter(max_retires: int = 10, proxy: dict | Proxy = None, cookies: str | dict = None)
This is main entry Class for the library you should be importing and using to make further method calls
Note
if
cookies
are provided all requests made to Twitter while be using that cookies.- Arguments
- max_retires(optional): int = 10
The number of times you want to retry in case the
Guest Token
couldn’t be obtained
- Methods:
All Methods are Here Twitter!
from tweety.bot import Twitter
app = Twitter()