Skip to main content

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

Discord

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
# proxy = {'http': 'proxy_here', 'https': 'proxy_here'}
proxy = None
TweeterPy(proxies=proxy, log_level="INFO")

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.

Documentation

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tweeterpy-2.0.15.tar.gz (23.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tweeterpy-2.0.15-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

File details

Details for the file tweeterpy-2.0.15.tar.gz.

File metadata

  • Download URL: tweeterpy-2.0.15.tar.gz
  • Upload date:
  • Size: 23.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for tweeterpy-2.0.15.tar.gz
Algorithm Hash digest
SHA256 bcc3bd073331e2a667385a58954fab55c0287cc5e292f295197f0b3eb0f0158f
MD5 ad5268c7c81fa6950ec277f24df513ea
BLAKE2b-256 7582dac735bfee313e30e19782331b7f92d9c8654726f0bbd1a1209024c646e1

See more details on using hashes here.

File details

Details for the file tweeterpy-2.0.15-py3-none-any.whl.

File metadata

  • Download URL: tweeterpy-2.0.15-py3-none-any.whl
  • Upload date:
  • Size: 25.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for tweeterpy-2.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 f7f0eeb116fbec78341509b825a22d0d711943d85756b08040b9d3e3acecbcfd
MD5 55db0f926e6b8d660bd23d8d3699739d
BLAKE2b-256 b4be25330440b77cb850ce79fc00b4ec551372297e9169f4637ef0bc9e87509f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page