A python script to pull slack participation metrics and visualize them with D3.js
- Be sure to get an api key from Slack and add it to your environment variables under the term
SLACKKEY
- Install the required libraries with
pip install -r requirements.txt
- Run the following command to retreive the data from slack (note that you can change the filepath but this will send the data directly to the folder user by the visualization):
# note that .json is appended to the file name automatically
export SLACKKEY="xxx"
python retrieve_slack_messages.py -f chat_visualizer/data/slack_chat_history
- Be sure to get an api key and token from Trello and add them to your environment variables as
TRELLOKEY
andTRELLOTOKEN
respectively - Install the required libraries with
pip install -r requirements.txt
(if you have not already done so for slack) - Run the following command to retreive the data from trello (note that you can change the filepath but this will send the data directly to the folder user by the visualization):
python retrieve_trello_messages.py -f chat_visualizer/data/trello_action_history.json
Simply launch the website within the chat_visualizer
folder