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.16.tar.gz (23.5 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.16-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tweeterpy-2.0.16.tar.gz
  • Upload date:
  • Size: 23.5 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.16.tar.gz
Algorithm Hash digest
SHA256 7350a4e68bdf166ead71cc901e2b0ef0331146231ef46e395b08aee7d1be21f9
MD5 a18c804a4dfc21cc82e8e5146726675b
BLAKE2b-256 bf42dbfa9fb5173e3793e0e90888d70be7c51f48a44487e2824686334b6a33af

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tweeterpy-2.0.16-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.16-py3-none-any.whl
Algorithm Hash digest
SHA256 c8c657e46fc7a1d1a96db47c52c62a09eb694d4f9369f6bc3945d551d63acde9
MD5 cf571df476f0979c976fe2c17592746e
BLAKE2b-256 78e8e3203996fd890ad511c2b203cd3730c30ee60d4267180583276c73c1a88e

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