API documentation of Cakning
hexdocs.pm
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"}
iex > ExCakning.products_all()
{:ok, %ExCakning.Response{...}}
iex > ExCakning.products()
{:ok, %ExCakning.Response{...}}
iex > ExCakning.product_detail(123)
{:ok, %ExCakning.Response{...}}
This project is licensed under the terms of the MIT license, see LICENSE.