Visitar URL original
GitHub - Sightline-Maps/voodoo-mfg: An HTTP client for Voodoo Manufacturing · GitHub
Skip to content

About

An HTTP client for Voodoo Manufacturing

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

31 Commits

Folders and files

Repository files navigation

Voodoo Manufacturing for Elixir

An HTTP client for the Voodoo Manufacturing API.

Installation

Soon to be available at hex.pm. The package can be installed as:

Add voodoo to your list of dependencies in mix.exs:

def deps do
  [{:voodoo_mfg, "~> 0.1.0"}]
end

Ensure voodoo is started before your application:

def application do
  [applications: [:voodoo_mfg]]
end

Configuration

And add configuration to config.exs:

use Mix.Config

config :voodoo_mfg,
  secret_key: System.get_env("VOODOO_SECRET_KEY"),
  api_host: System.get_env("VOODOO_HOST")

For local development and testing, the host should be:

https://staging-api.voodoomfg.com/api/1

For production, the host should be:

https://api.voodoomfg.com/api/1

Examples

Examples can be found inline with the function in the file for each module:

About

An HTTP client for Voodoo Manufacturing

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages