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

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.

Documentation

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.

Configurations

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-1.2.3.tar.gz (27.4 kB view details)

Uploaded Source

Built Distribution

tweeterpy-1.2.3-py3-none-any.whl (30.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tweeterpy-1.2.3.tar.gz
Algorithm Hash digest
SHA256 56c22172b3b397757c91ef7a84f57afc7cb8ae2bbe247b3f930e279e9479e92d
MD5 7655d734b5f96779704901be1f19839c
BLAKE2b-256 347185bba3f19dee4f3da07c05165e8a614c14b676742f22f0840ac73e65bfb0

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tweeterpy-1.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 eab26d8491ad14d098ffe7320caed4e5a42017e70608b722b059ede8a8e28a7c
MD5 98f27bb04f070256e06202c21d1804e5
BLAKE2b-256 542eb843c2ac80a52e1362bd3595f6413dc7d41149ae78c66e105545d6a2318b

See more details on using hashes here.

Supported by

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