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.