See this post for background: Building a Looker-Powered Daily Metrics Email Report .
bundle install
First, configure the constants at the top of run.rb
.
Then, set several environment variables (values you probably don't want to commit to your repo) before executing run.rb
:
$ env LOOKER_CLIENT_ID="..." LOOKER_CLIENT_SECRET="..." EMAIL_USER_NAME="..." EMAIL_PASSWORD="..." ruby run.rb
You'll want to customize the script according to your business's needs.
If you have any suggestions, find a bug, or just want to say hey drop me a note at @mhmazur on Twitter or by email at matthew.h.mazur@gmail.com.
MIT © Matt Mazur