giraphme / ex_cakning

API wrapper of Cakning for Elixir

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ExCakning

API documentation of Cakning
hexdocs.pm

Installation

In your mix.exs

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

In your config/config.exs

config :ex_cakning, :api_key, "PUT YOUR API KEY"

# OR

config :ex_cakning, :api_key, {:system, "CAKNING_API_KEY"}

Usage

iex > ExCakning.products_all()
{:ok, %ExCakning.Response{...}}
iex > ExCakning.products()
{:ok, %ExCakning.Response{...}}
iex > ExCakning.product_detail(123)
{:ok, %ExCakning.Response{...}}

License

This project is licensed under the terms of the MIT license, see LICENSE.

About

API wrapper of Cakning for Elixir

License:MIT License


Languages

Language:Elixir 100.0%