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)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|