# ExChimp

A simple, minimalistic Mailchimp client basically for just adding members to lists.

## Installation

If [available in Hex](, the package can be installed as:

  1. Add ex_chimp to your list of dependencies in `mix.exs`:

  def deps do
    [{:ex_chimp, "~> 0.0.4"}]

## Usage

Add to your application's config:

config :ex_chimp, api_key: "yourapikeyhere-us12"

Get all lists on your account:


Add a member to a list

# With merge fields
ExChimp.List.add_member("your_list_id", :subscribed, "",
                        %{"FULL_NAME" => "Full name"})
# Without
ExChimp.List.add_member("your_list_id", :subscribed, "")

## Mix tasks

To show lists on your account:

    $ mix exchimp.lists