Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/coskundeniz/mailtweets
- Owner: coskundeniz
- License: gpl-2.0
- Created: 2015-03-21T17:50:09.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-08-17T11:12:24.000Z (over 1 year ago)
- Last Synced: 2023-08-17T12:52:20.904Z (over 1 year ago)
- Topics: email-sender, html-generation, tweepy, twitter-api
- Language: Python
- Size: 50.8 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`