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 Actions
TwitterStats-0.0.6-py3-none-any.whl Python 3 none any Details for TwitterStats-0.0.6-py3-none-any.whl

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

Security for TwitterStats 0.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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