Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/coskundeniz/mailtweets

A command line program to mail queried tweets
https://github.com/coskundeniz/mailtweets

email-sender html-generation tweepy twitter-api

Last synced: 1 day ago
JSON representation

A command line program to mail queried tweets

Awesome Lists containing this project

README

        

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`