Skip to content

snowpool/snowreports

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snowreports

This gem is a simple wrapper around snowhq . It allows pulling in of the snow data and exposes just a few of the fields.

Installation

gem install snowreports

Usage

  1. obtain api credentials from snowhq
# configure it. You can either set a username and password like below
Snowreports::Fetcher.user = username
Snowreports::Fetcher.pass = password

# or, ENV["SNOW_USER"] and ENV["SNOW_PASS"] can be used.


Snowreports.all

#or

Snowreports.fetch(:turoa)

See endpoints class for the various field names you can pass in.

PR's welcome.