https://github.com/iSarabjitDhiman/TweeterPy
TweeterPy is a python library to extract data from Twitter. TweeterPy API lets you scrape data from a user's profile like username, userid, bio, followers/followings list, profile media, tweets, etc.
https://github.com/iSarabjitDhiman/TweeterPy
api-wrapper tweeter tweeter-api tweets-extraction twitter-api twitter-automation twitter-bot twitter-client twitter-python twitter-scraper twitter-scraping
Last synced: 7 months ago
JSON representation
TweeterPy is a python library to extract data from Twitter. TweeterPy API lets you scrape data from a user's profile like username, userid, bio, followers/followings list, profile media, tweets, etc.
- Host: GitHub
- URL: https://github.com/iSarabjitDhiman/TweeterPy
- Owner: iSarabjitDhiman
- License: mit
- Created: 2023-06-20T15:36:08.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-11-26T14:31:41.000Z (about 1 year ago)
- Last Synced: 2024-12-02T08:09:51.613Z (about 1 year ago)
- Topics: api-wrapper, tweeter, tweeter-api, tweets-extraction, twitter-api, twitter-automation, twitter-bot, twitter-client, twitter-python, twitter-scraper, twitter-scraping
- Language: Python
- Homepage:
- Size: 180 KB
- Stars: 170
- Watchers: 7
- Forks: 30
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
TweeterPy
## Overview
TweeterPy is a python library to extract data from Twitter. TweeterPy API lets you scrape data from a user's profile like username, userid, bio, followers/followings list, profile media, tweets, etc.
> _Note_ : `Use it on Your Own Risk. Scraping with Residential proxies is advisable while extracting data at scale/in bulk. If possible, use multiple accounts to fetch data from Twitter.` **_DON'T USE YOUR PERSONAL ACCOUNT FOR SCRAPING PURPOSES._**
## Installation
Install TweeterPy with pip
```python
pip install tweeterpy
```
## Usage/Examples
```python
python quickstart.py
```
OR
```python
from twitter import TweeterPy
# proxy = {'http': 'proxy_here', 'https': 'proxy_here'}
proxy = None
TweeterPy(proxies=proxy, log_level="INFO")
```
> ### Example - Get User ID of a User.
```python
from tweeterpy import TweeterPy
twitter = TweeterPy()
print(twitter.get_user_id('elonmusk'))
```
## Documentation
Check out step by step guide.
[Documentation](docs/docs.md)
## Features
- Extracts Tweets
- Extracts User's Followers
- Extracts User's Followings
- Extracts User's Profile Details
- Extracts Twitter Profile Media and much more.
## Authors
- [@iSarabjitDhiman](https://www.github.com/iSarabjitDhiman)
## Feedback
If you have any feedback, please reach out to us at hello@sarabjitdhiman.com or contact me on Social Media @iSarabjitDhiman
## Support
For support, email hello@sarabjitdhiman.com