README.md

# Honeywell

[![Build Status](https://travis-ci.org/jeffutter/honeywell-elixir.svg?branch=master)](https://travis-ci.org/jeffutter/honeywell-elixir)
[![Hex.pm](https://img.shields.io/hexpm/v/honeywell.svg?maxAge=2592000)](https://hex.pm/packages/honeywell)
[![Inline docs](http://inch-ci.org/github/jeffutter/honeywell-elixir.svg)](http://inch-ci.org/github/jeffutter/honeywell-elixir)
[![Deps Status](https://beta.hexfaktor.org/badge/all/github/jeffutter/honeywell-elixir.svg)](https://beta.hexfaktor.org/github/jeffutter/honeywell-elixir)
[![License](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT)

Honeywell Cloud API Client for Elixir:

This is an unofficial client for the [Honeywell Round and Water Leak & Freeze Detector APIs](https://developer.honeywell.com/). 

## Usage

Installation

```elixir
def deps do
  [{:honeywell, "~> 0.1.0"}]
end
```

and run `mix deps.get`. Now, list the :honeywell application as your application dependency:

```elixir
def application do
  [applications: [:honeywell]]
end
```

## Configuration

You will need to set the following configuration variables in your `config/config.exs` file:

```elixir
use Mix.Config

config :honeywell,
  client_id: System.get_env("HONEYWELL_CLIENT_ID"),
  client_secret: System.get_env("HONEYWELL_CLIENT_SECRET"),
  site: System.get_env("SITE"),
  redirect_uri: System.get_env("HONEYWELL_REDIRECT_URL")
```
OSZAR »