A collection of tools to nom on the tweet stream:
timeline_stats.py
will tell you who the most prolific/tweetiest people you follow are.- that's it for now. Yay Sunday afternoons!
At the command line, type the following:
git clone [email protected]:marcua/nommer.git
cd nommer
pip install -r requirements.txt
cp settings.py.template settings.py
- Create a new Twitter app.
- Copy its key/secret to
API_KEY
/API_SECRET
in thesettings.py
file. - Run a script, like
python timeline_stats.py
- The script will provide you with a URL to visit.
- Go to the URL and permit your application to access your account.
- Copy the verifier token to the waiting script.
- Copy the
AUTH_KEY
/AUTH_SECRET
intosettings.py
. - Profit.
Run python timeline_stats.py
. The output will look something like this:
Period: 2014-07-20 19:00:06 - 2014-07-20 19:31:01 (0:30:55)
Total tweets 8
Tweetiest people (format is "@person - # tweets (% of total tweets)"):
person1 - 3 (37.50%)
person2 - 2 (25.00%)
person3 - 1 (12.50%)
person4 - 1 (12.50%)
person5 - 1 (12.50%)
Issue a pull request. I'm friendly