tweety
Twitter's API is annoying to work with, and has lots of limitations — luckily their frontend (JavaScript) has it's own API, which I reverse–engineered. xtremely fast.
Prerequisites
Before you begin, ensure you have met the following requirements:
- Internet Connection
- Python 3.6+
- httpx
- openpyxl
Installation:
pip install tweety-ns
Keep synced with latest fixes
Pip might not be always updated , so to keep everything synced.
pip install https://github.com/mahrtayyab/tweety/archive/main.zip --upgrade
A Quick Example:
from tweety import Twitter
app = Twitter("session")
all_tweets = app.get_tweets("elonmusk")
for tweet in all_tweets:
print(tweet)
Full Documentation and Changelogs are here