https://github.com/mahrtayyab/tweety
Twitter Scraper
https://github.com/mahrtayyab/tweety
python tweets twitter twitter-api twitter-bot
Last synced: 18 days ago
JSON representation
Twitter Scraper
- Host: GitHub
- URL: https://github.com/mahrtayyab/tweety
- Owner: mahrtayyab
- Created: 2021-09-26T07:51:28.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-07-15T06:29:43.000Z (9 months ago)
- Last Synced: 2025-10-25T16:07:39.660Z (5 months ago)
- Topics: python, tweets, twitter, twitter-api, twitter-bot
- Language: Python
- Homepage:
- Size: 840 KB
- Stars: 627
- Watchers: 15
- Forks: 88
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tweety
Reverse Engineered Twitter Frontend API.
[](https://pepy.tech/project/tweety-ns) [](https://deepwiki.com/mahrtayyab/tweety)
## Installation:
```bash
pip install tweety-ns
```
## Keep synced with latest fixes
##### **Pip might not be always updated , so to keep everything synced.**
```bash
pip install https://github.com/mahrtayyab/tweety/archive/main.zip --upgrade
```
## A Quick Example:
```python
from tweety import TwitterAsync
import asyncio
async def main():
app = TwitterAsync("session")
all_tweets = await app.get_tweets("elonmusk")
for tweet in all_tweets:
print(tweet)
asyncio.run(main())
```
> [!IMPORTANT]
> Even Twitter Web Client has a lot of rate limits now, Abusing tweety can lead to `read_only` Twitter account.
Do check [FAQs](https://github.com/mahrtayyab/tweety/wiki/FAQs)
Full Documentation and Changelogs are [here](https://mahrtayyab.github.io/tweety_docs/)