Skip to content

coskundeniz/mailtweets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mailtweets

A command line program to mail queried tweets

Information

This script queries tweets for given user(s), puts them in html format and send as mail to user. It was written with Python3.

Requirements

  • Twitter developer account

Run one of the followings

  • pipenv install
  • pip install -r requirements.txt

Usage

  • Get tweets of one user with default tweet count per user which is 10
    • python3 mailtweets.py -u username
  • Get tweets of one user with given tweet count
    • python3 mailtweets.py -u username -c number_of_tweets_per_user
  • Get tweets of users given in file with default tweet count
    • python3 mailtweets.py -f filename
  • Get tweets of users given in file with given value
    • python3 mailtweets.py -f filename -c number_of_tweets_per_user
  • Get tweets of users given in file by excluding specified usernames
    • python3 mailtweets.py -f filename -e "username(s)_to_exclude_separated_by_spaces"
  • List top 10 trend topics for Turkey
    • python3 mailtweets.py -tt

Releases

No releases published

Packages

No packages published

Languages