Vercel for Elixir Hex pmhex.pm downloads

An Elixir wrapper for Vercel’s API

Installation

This package can be installed by adding vercel to your list of dependencies in mix.exs:

def deps do
  [
    {:vercel, "~> 0.1.4"}
  ]
end

Configuration

To make calls to Vercel, it is necessary to configure your Vercel Access Token on your config.exs file:

config :vercel, access_token: System.get_env("VERCEL_ACCESS_TOKEN")
# OR
config :vercel, access_token: "YOUR_TOKEN"

You can generate this token at https://vercel.com/account/tokens

Documentation

The docs can be found at https://hexdocs.pm/vercel.

License

More info at LICENSE.