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

Uploaded Source

Built Distribution

tweeterpy-2.0.7-py3-none-any.whl (39.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tweeterpy-2.0.7.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-2.0.7.tar.gz
Algorithm Hash digest
SHA256 e81e5c30c5f5b49f19601beb59e34b338af051ccffb605c001bb8a1cde61673f
MD5 8c045e89a1dbcef387044b3bf8128a48
BLAKE2b-256 6cde45b6af26d8e4887c2ef1b26c91e55973d66a7c29761742a5d333673f2ec0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tweeterpy-2.0.7-py3-none-any.whl
  • Upload date:
  • Size: 39.0 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 5afe9a400a8aac9a976b826efae310f37d7b5e95dd69498dea0a0c6d07646ad2
MD5 e5780d2493471eb2c4ca263726f63a51
BLAKE2b-256 5f9465ae6defd70a66f63ed4e4234ce4104d7c1ee3592e84c0782859818235d7

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