- School: University of Twente
- Course: Data Science
- Assignment Type: Open Project
- Group Size: 2
- Request Reddit API key (Link)
- Request Twitter API key (Link)
- Add
auth.py
file to project in root folder - Add 5 API variables to the
auth.py
file as follows:
CLIENT_ID = "TOKEN" # Personal use script for the Reddit API
SECRET_KEY = "TOKEN" # Secret for the Reddit API
REDDIT_USERNAME = "TOKEN" # Username of a Reddit account
REDDIT_PASSWORD = "TOKEN" # Password of a normal Reddit account
TWITTER_TOKEN = "TOKEN" # Developer token for Twitter
- (optional) Create an Anaconda environment
- Now you can run the Jupyter Notebook
main.ipynb
, installation of all the packages can be found inside the notebook