Mailchimp
A basic Elixir wrapper for version 3 of the MailChimp API
Install / Use
/learn @duartejc/MailchimpREADME
MailChimp
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.2.0"}
]
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_all_lists!
Adding a Member to a List
Mailchimp.List.create_member(list, "test@email.com", "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 file for more details.
Related Skills
node-connect
343.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
90.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
