Skip to main content

TwitterStats

This packages downloads relevant Tweet and Follower Stats for your account.

Usage

from twitterstats import Fetcher

consumer_key        = "<YOUR API KEY>"
consumer_secret     = "<YOUR API KEY SECRET>"
access_token        = "<YOUR ACCESS TOKEN>"
access_token_secret = "<YOUR ACCESS TOKEN SECRET>"

fetcher = Fetcher(consumer_key, consumer_secret, access_token, access_token_secret)

promoted_tweets = fetcher.get_tweets(promoted=True)
unpromoted_tweets = fetcher.get_tweets(promoted=False)
followers = fetcher.get_followers()

For further details, consult this article: Using Twitter's API to Gather Tweet Stats (and Follower Data) in Python

Thanks

This package makes use of the TwitterAPI package.

Metadata

Release files for TwitterStats 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for TwitterStats 0.0.6
File Interpreter ABI Platform
TwitterStats-0.0.6-py3-none-any.whl Python 3 none any Details

Release files / TwitterStats-0.0.6-py3-none-any.whl

Download URL TwitterStats-0.0.6-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6f3025cd9903b642adb15d8564e973f2d3e678cd9f7c3c446d03a12eda237603
BLAKE2b-256 checksum
How to use checksums
878c93932df4af3f96f3759ef2941ef35ca8bf779851481c1767d4a541081535
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.0.6 This release

1 release file

0.0.5

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page