Popularity
6.8
Growing
Activity
3.8
Growing
42
4
52

Monthly Downloads: 1,188
Programming language: Elixir
License: MIT License
Tags: Third Party APIs    

mailchimp alternatives and similar packages

Based on the "Third Party APIs" category.
Alternatively, view mailchimp alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of mailchimp or a related project?

Add another 'Third Party APIs' Package

README

MailChimp

Module Version Hex Docs Total Download License Last Updated

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.1.2"}
  ]
end

and run $ mix deps.get

Usage

Put your API key in your config.exs file:

config :mailchimp,
  api_key: "your api-us10"

or

Application.put_env(:mailchimp, :api_key, "your apikey-us12")

Getting Account Details

Mailchimp.Account.get!()

Getting All Lists

Mailchimp.Account.get! |> Mailchimp.Account.lists!

Adding a Member to a List

Mailchimp.List.create_member(list, "[email protected]", "subscribed", %{}, %{})

Creating a new Campaign

Mailchimp.Campaign.create!(:regular)

Copyright and License

Copyright (c) 2017 Jean Duarte

This work is free. You can redistribute it and/or modify it under the terms of the MIT License. See the [LICENSE.md](./LICENSE.md) file for more details.


*Note that all licence references and agreements mentioned in the mailchimp README section above are relevant to that project's source code only.