A home-made hackathon brought to you by your favourite egyptian and jordan fools
- Install python
- Recommended: use vitrual environments
python3 -m venv venv
- Activate virtual environment
source venv/bin/activate
- Recommended: use vitrual environments
- Update pip
pip install --upgrade pip
- Install dependencies
pip install -r requiremnets/txt
Contains the code to query the feed given a hashtag input. Store the twitter credential at ~/.twitter-keys.yaml
keys:
consumer_key: CONSUMER_KEY
consumer_secret: CONSUMER_SECRET
access_token: ACCESS_TOKEN
access_token_secret: ACCESS_TOKEN_SECRET
bearer_token: BEARER_TOKEN
SOLACE_HOST=<broker_url> SOLACE_VPN=<solace_VPN> SOLACE_USERNAME=<username> SOLACE_PASSWORD=<password> python analyzer_sentiment.py