Skip to content

A basic Elixir wrapper for version 3 of the MailChimp API

Notifications You must be signed in to change notification settings

joshrieken/mailchimp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hex Version

This is a basic Elixir wrapper for version 3 of the MailChimp API.

Installation

First, add MailChimp lib to your mix.exs dependencies:

def deps do
  [{:mailchimp, "~> 0.0.2"}]
end

and run $ mix deps.get. Now, list the :mailchimp application as your application dependency:

def application do
  [applications: [:mailchimp]]
end

Usage

  1. Put your API key in your config.exs file:
config :mailchimp,
  apikey: "your api-us10"
  1. 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")

About

A basic Elixir wrapper for version 3 of the MailChimp API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 100.0%