README.md

# ExParticle

### Elixir client to communicate with [Particle Cloud API](https://docs.particle.io/reference/api/)

[![Build Status](https://travis-ci.org/mtanzi/exparticle.svg?branch=master)](https://travis-ci.org/mtanzi/exparticle) [![Inline docs](http://inch-ci.org/github/mtanzi/exparticle.svg)](http://inch-ci.org/github/mtanzi/exparticle) [![License](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT)

## Usage

### Installation

Add the following to your `mix.exs`

````
...

def application do
  [mod: {ExParticlePhoenixExample, []},
   applications: [:exparticle]]
end

...

defp deps do
  [{:exparticle, "~> 0.0.5"}]

...

````

### Configuration

ExParticle will look for application variables, in order to use this library we need to change the `access_token` placeholder with your Particle access token.

`config/dev.exs`
````
use Mix.Config

config :exparticle, :api,
  access_token: "particle_access_token"
````