Sha256: 5d1e80550395e5c49432a7e8f3a16c7005fe357ff44969be87180ec281793a03

Contents?: true

Size: 688 Bytes

Versions: 5

Compression:

Stored size: 688 Bytes

Contents

# Snowreports

This gem is a simple wrapper around [snowhq](https://www.snowhq.com/) . 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

```ruby

# 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](https://github.com/snowpool/snowreports/blob/master/lib/snowreports/endpoint.rb) for the various field names you can pass in.

PR's welcome.

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
snowreports-0.6.3 README.md
snowreports-0.6.2 README.md
snowreports-0.6.1 README.md
snowreports-0.6.0 README.md
snowreports-0.5.0 README.md