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.
Project description
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
pip install tweeterpy
Usage/Examples
python quickstart.py
OR
from twitter import TweeterPy
TweeterPy()
Example - Get User ID of a User.
from tweeterpy import TweeterPy
twitter = TweeterPy()
print(twitter.get_user_id('elonmusk'))
Documentation
Check out step by step guide.
Configuration
Example - Config Usage
from tweeterpy import config
config.PROXY = {"http":"127.0.0.1","https":"127.0.0.1"}
config.TIMEOUT = 10
config.UPDATE_API = False
Check out configuration docs for the available settings.
Features
- Extracts Tweets
- Extracts User's Followers
- Extracts User's Followings
- Extracts User's Profile Details
- Extracts Twitter Profile Media and much more.
Authors
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file tweeterpy-1.2.1.tar.gz
.
File metadata
- Download URL: tweeterpy-1.2.1.tar.gz
- Upload date:
- Size: 23.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f40dc392552a8375d5a05b92cff6dee80e7b96b257c6caef12541c02eaf20cc7 |
|
MD5 | adaf855ec1a20cd62d096722b7fe746e |
|
BLAKE2b-256 | bb30245f96713602410135ace7397261617e4b57d9abf59864d07f5d17d40f28 |
File details
Details for the file tweeterpy-1.2.1-py3-none-any.whl
.
File metadata
- Download URL: tweeterpy-1.2.1-py3-none-any.whl
- Upload date:
- Size: 24.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0227c54393d96663e0139c4c1e6b2dc29ad11dc731a8716cdb8ba7a19029014a |
|
MD5 | 74f4db0006d5d7f8f2a5e95ef679794c |
|
BLAKE2b-256 | 6740822e6ee4d0b611722305b8da87f86c706272c74df53e410015f19db73dd3 |