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
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 so on.
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
Hashes for tweeterpy-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fd8d4c3321638986e5323c457487b312dcedf090393aebc651f55602b6c11a4 |
|
MD5 | 09e76aee1676bacda300b3785052af8a |
|
BLAKE2b-256 | 675dc3a995eb175d4df991bdff8ba8f704110d95155ba4bc9593533f1496b2bb |