ExParticle

Elixir client to communicate with Particle Cloud API

Build StatusInline docsLicense

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"