Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peckjon/sentimental-bird
A tool to inspect the most recent Tweets by (and about) specific Twitter users.
https://github.com/peckjon/sentimental-bird
Last synced: 2 months ago
JSON representation
A tool to inspect the most recent Tweets by (and about) specific Twitter users.
- Host: GitHub
- URL: https://github.com/peckjon/sentimental-bird
- Owner: peckjon
- License: mit
- Created: 2016-11-01T23:46:10.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-06-18T01:45:01.000Z (7 months ago)
- Last Synced: 2024-06-18T03:49:18.762Z (7 months ago)
- Language: Python
- Homepage: http://sentimental-bird.appspot.com
- Size: 723 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
## Synopsis
A tool to inspect the most recent Tweets by (and about) specific Twitter users.
Uses [AnalyzeTweets](http://algorithmia.com/algorithms/nlp/AnalyzeTweets) and [AnalyzeTwitterUser](http://algorithmia.com/algorithms/diego/AnalyzeTwitterUser) to retrieve tweets, run sentiment analysis, and extract keywords.
## Sample
[sentimental-bird.appspot.com](http://sentimental-bird.appspot.com/)
## Contributors
Jon Peck: [github.com/peckjon](https://github.com/peckjon)
## License
MIT
## 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](https://github.com/algorithmiaio/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](http://developers.algorithmia.com/basics/customizing-api-keys/), and to create a [Twitter app](https://apps.twitter.com/) to obtain app and OAuth tokens
Modify the API keys in settings.py accordingly.To run in Google App Engine, [create a new project](http://developers.google.com/ad-exchange/rtb/open-bidder/google-app-guide), adjust the application param in app.yaml, and deploy.