Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 873 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 873 Bytes

SendInBlue for Elixir

An Elixir library for working with SendInBlue.

Installation

If available in Hex, the package can be installed by adding sendinbluex to your list of dependencies in mix.exs:

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

Configuration

To make API calls, it is necessary to configure your SendInBlue API key.

use Mix.Config

config :sendinbluex, api_key: "YOUR-API-KEY"

The Tracker API uses a different key that has to be configured separately:

config :sendinbluex, tracking_id: "abc123456789"

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/sendinbluex.