Skip to content
Analyze the top word occurrences for a Twitter user
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
credentials.py
requirements.txt
tweet_analyzer.py

README.md

Word Occurrence Analyzer for Twitter

Analyze a user's Twitter feed to find the words tweeted the most

Setup

  1. Create a new Twitter application to obtain the needed keys in credentials.py
  2. Add your keys to credentials.py
  3. Run pip3 install -r requirements.txt

Usage

Usage: 
	tweet_analyzer [-u USER] [-n NUMBER OF OCCURRENCES] [-f OUTPUTFILE]

Options:
    -h --help       show this  
    -u --user       username of account to analyze  
    -n --num        minimum number of occurrences the word appears [default: 20]  
    -f --file	    name of output file (.csv) [default: results.csv]  

The results will be stored in a .csv file in the working directory with the filename you specified or "results.csv" if you did not specify a filename.

You can’t perform that action at this time.