22

Which is the preferred gem or plugin for using the Mailchimp API with Rails?

There's a list here, but I have yet to try any: mailchimp ruby

Any feedback is appreciated! Thanks!

Flip
  • 6,233
  • 7
  • 46
  • 75
djburdick
  • 11,762
  • 9
  • 46
  • 64

3 Answers3

30

With recent research, we found the gibbon gem to be a full featured and easy to use API wrapper for MailChimp. Hominid seems a bit more complex to use, and lacking in community discussion. The Gibbon gem is located at https://github.com/amro/gibbon

I found some great blog posts that describe how to get started with the Gibbon gem:

Mailchimp Integration with Ruby on Rails

How to subscribe a member into MailChimp using Ruby On Rails

Email marketing for your rails app made easy with Mailchimp

jfanals
  • 1,006
  • 1
  • 13
  • 28
cpezza85
  • 625
  • 1
  • 7
  • 12
2

These days Hominid is recommending the offical Mailchimp gem instead: https://bitbucket.org/mailchimp/mailchimp-api-ruby/

Vincent
  • 2,963
  • 1
  • 19
  • 26
  • 8
    The official Mailchimp gem supports only v2 of the API which is deprecated. Gibbon supports the new API v3. So I guess that this recommendation is not valid (at the moment = 08/2015) – Björn Weinbrenner Aug 20 '15 at 08:28
  • When I installed Gibbon today, I saw this message "IMPORTANT: Gibbon now targets MailChimp API 2.0, which is substantially different from API 1.3." ... So it seems it doesn't support v3? – Abram Nov 27 '18 at 23:20
  • Not sure about that message, but it seems to work just fine with v3. Did some testing today. – Abram Nov 27 '18 at 23:32
1

Mailchimp has now released official clients for their Marketing API, Transactional API (Mandrill) and mobile SDKs , which can be found here: https://mailchimp.com/developer/tools/ - you can now also reach this page by following the OP's link and go to tools.

They currently support ruby, php, python and nodejs on the V3 API.

hotfire42
  • 555
  • 1
  • 5
  • 10