- Python 3.8
- pendulum (for converting twitter datetime)
- elasticsearch (for storing data)
- typer (for cli options and things)
-
Twitter Developer Account and SECRET AND ACCESS KEY FOR PROJECT
- Save as
$TWITTER_ACCESS_KEY
and$TWITTER_SECRET_KEY
respectively
- Save as
-
Elasticsearch and Kibana instances
- Save Elasticsearch cluster host as
$ES_HOST
if notlocalhost
- Save Elasticsearch cluster host as
- Get/Save/Setup [Other Requirements](#Other Requirements)
- Get your Twitter List and Index Name
- Install requirements
pip install -r requirements.txt
- run
python es_twitter_list init <TWITTERLIST> <INDEXNAME>
- run
python es_twitter_list update <TWITTERLIST> <INDEXNAME>
You can save it as a cron job. Be careful of Rate Limits.