Skip to content

peckjon/sentimental-bird

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Synopsis

A tool to inspect the most recent Tweets by (and about) specific Twitter users.

Uses AnalyzeTweets and AnalyzeTwitterUser to retrieve tweets, run sentiment analysis, and extract keywords.

Sample

sentimental-bird.appspot.com

Contributors

Jon Peck: github.com/peckjon

License

WTFPL v2

Structure

The frontend is fairly straightforward AngularJS. The backend is set up to run on Google App Engine, but doesn't use any GAE-specific frameworks, so you can easily port the Python to another platform.

This application uses algorithmia-python and dependent libraries (enum, requests, and six), included for simplicity.

'app' contains all frontend code (JS, HTML, and CSS).

'main.py' contains all backend code, mostly simple handlers to pull and restructure data from Algorithmia.

'settings.py' contains API keys and other constants.

Installation

You will need to obtain an account and API keys from Algorithmia, and to create a Twitter app to obtain app and OAuth tokens

Modify the API keys in settings.py accordingly.

To run in Google App Engine, create a new project, adjust the application param in app.yaml, and deploy.

About

A tool to inspect the most recent Tweets by (and about) specific Twitter users.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages