Scripts for counting tweets. Uses 'search/tweets' or 'statuses/filter' Twitter resource to get old or new tweets, respectively.
Counts the number of tweets that contain any word passed on the command line.
Example:
> python -u -m TwitterCounter.CountTweets red blue
Prints a tally count of the occurrence of any word passed on the command line.
Example:
> python -u -m TwitterCounter.CountWords red blue
Prints a tally count of the hashtags that appear most frequently in tweets that contain any word passed on the command line.
Example:
> python -u -m TwitterCounter.RankHashtags red blue
Prints a tally count of the most re-tweeted tweets that contain any word passed on the command line, and prints the re-tweet text.
Example:
> python -u -m TwitterCounter.RankRetweets red blue
Prints a tally count of the words that appear most frequently in tweets that contain any word passed on the command line.
Example:
> python -u -m TwitterCounter.RankWords red blue
See TwitterAPI documentation.
- TwitterAPI