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

https://github.com/previsionio/component-twitter-parser

Parse twitter user content
https://github.com/previsionio/component-twitter-parser

Last synced: about 1 year ago
JSON representation

Parse twitter user content

Awesome Lists containing this project

README

          

# Twitter listener

A component that get tweet from a list of twitter username. You can use it in [Prevision Pipeline System](https://previsionio-previsionio.readthedocs-hosted.com/en/latest/studio/pipelines.html#pipeline-components)

## 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
```

If everything is ok you should have an `output.csv` file with a `speech` column. You can now proceed on
[installing your component](https://previsionio-previsionio.readthedocs-hosted.com/en/latest/studio/pipelines.html#pipeline-components)