Current section
Files
Jump to
Current section
Files
README.md
[](https://hex.pm/packages/mailchimp)This is a basic Elixir wrapper for version 3 of the MailChimp API.## InstallationFirst, add MailChimp lib to your `mix.exs` dependencies:```elixirdef deps do [{:mailchimp, "~> 0.0.1"}]end```and run `$ mix deps.get`. Now, list the `:mailchimp` application as yourapplication dependency:```elixirdef application do [applications: [:mailchimp]]end```## Usage1. Put your API key in your *config.exs* file.2. Start a new process: Mailchimp.start_link### Getting Account Details Mailchimp.get_account_details()### Getting All Lists Mailchimp.get_all_lists() ### Adding a Member to a List Mailchimp.add_member("list_id", "e-mail")