### Elixir client to communicate with Particle Cloud API
Add the following to your mix.exs
...
def application do
[mod: {ExParticlePhoenixExample, []},
applications: [:exparticle]]
end
...
defp deps do
[{:exparticle, "~> 0.0.5"}]
...
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"