Skip to content

previsionio/component-twitter-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter listener

A component that get tweet from a list of twitter username. You can use it in Prevision Pipeline System

Pre-req

You need a twitter dev account ( or ask for a token ).

Setup

local dev :

python3.8 -m venv env
source env/bin/activate
pip install -r requirements.txt

(Warning : use python 3.8 because this component use dataclasses)

Launch your script to test

python src/main.py  --src politics_account.csv --dst output.csv --token <YOUR_TWITTER_TOKEN>

If everything is ok you should have an output.csv file with a speech column. You can now proceed on installing your component

About

Parse twitter user content

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published