This script will dump Officevibe metrics to a Slack channel of your choosing. It will broadcast the results of all groups you have management access to.
Install gem dependencies:
bundle
Copy the sample .env
:
cp .env.example .env
Now, edit .env
with your credentials. You will need:
To get your auth token log in to the Officevibe app and copy the value of the officevibe.auth
cookie; this can be done through the Developer Tools of your browser or any number of browser extensions (like EditThisCookie for Chrome).
You'll need to set up a Slack app and use the OAuth Access Token you are provisioned.
Find the ID of the channel you want to post results to using the Slack web client (check the URL) or use the API to get the ID.
After configuring the credentials above, run:
rake