Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Badmuts/hsleiden-iscp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ISCP

Real basic Python Twitter sentiment analysis. It uses the Twitter streaming API to retrieve tweets and uses a real basic analyser (written by me) to analyse the tweets.

It visualises the analysis to a webpage served via Flask which automatically updates every 300ms (DDOS incoming).

Webpage

Installation

Install the requirements using pip

$ pip install -r requirements.txt

Create a config.json file in the src folder:

{
	"consumer_key": "YOUR CONSUMER KEY",
	"consumer_secret": "YOUR CONSUMER SECRET",
	"access_token": "YOUR ACCESS TOKEN",
	"access_token_secret": "YOUR ACCESS TOKEN SECRET"
}

Run the app from the src folder and serve to 127.0.0.1:5000

$ python app.py

Start analyzing some tweets :D