Python Package to collect stats from Twitter API
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for TwitterStats-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f3025cd9903b642adb15d8564e973f2d3e678cd9f7c3c446d03a12eda237603 |
|
MD5 | 16594af7b575fe73a8cebdb9c170f227 |
|
BLAKE2b-256 | 878c93932df4af3f96f3759ef2941ef35ca8bf779851481c1767d4a541081535 |