Gibbon is a simple wrapper for MailChimp's Primary and Export APIs.
Questions tagged [gibbon]
67 questions
5
votes
2 answers
Why does gibbon throw 'uninitialized constant Gibbon::API (NameError)'
I'm trying to add the gibbon gem into a Rails 3.2 app.
I've followed the instructions, and set up a gibbon.rb initializer with the following
Gibbon::API.api_key = ENV["MAILCHIMP_API_KEY"]
Gibbon::API.timeout = 15
Gibbon::API.throws_exceptions =…

Andy Harvey
- 12,333
- 17
- 93
- 185
4
votes
1 answer
How to test Gibbon with RSpec?
I want to do a test whether a user has successfully subcribed after signing up in the newsletter form in my application.
I found this similar question Testing Mailchimp 3.0 and Gibbon 2.x with Rspec and no one responded.
I have a solution in mind,…

gbertl
- 321
- 2
- 16
4
votes
1 answer
Rails md5 hash, gibbon, and mailchimp
I am using the gibbon gem to connect to MailChimp. I am trying to retrieve a user from my list using their email address. According to: https://github.com/amro/gibbon the way to do this is the…

Darkisa
- 1,899
- 3
- 20
- 40
4
votes
2 answers
How to edit email address of existing member in mailchimp list using Gibbon gem
i've looked around for this for a long time but couldn't find any answer.
In my rails 4 app i'm using the Gibbon gem (v.2.0.1) to manage mailchimp lists. Everything works fine as far as subscribing and unsunscribing users, but i cannot manage to…

user3623363
- 101
- 6
4
votes
0 answers
Testing Mailchimp 3.0 and Gibbon 2.x with Rspec
I have a rails 4.2 app that has a newsletter signup via MailChimp using the Gibbon gem.
Here is my initializer:
Gibbon::Request.api_key = ENV['MAILCHIMP_API_KEY']
Gibbon::Request.timeout = 15
Gibbon::Request.throws_exceptions = false
Here are the…

user2799827
- 1,077
- 3
- 18
- 54
3
votes
1 answer
Can't use upsert on existing member
I'm trying to subscribe users to Mailchimp with Gibbon 2.2.4 with a generic subscribe method I've been using, and then shortly after I want to add in some extra fields to track the results of a quiz they took.
I want to store this data on…

Doug
- 1,517
- 3
- 18
- 40
2
votes
1 answer
How can I get direct access to body variable on Mailchimp, using Gibbon (rails wrapper)
We are trying to check if a specific member on a list is subscribed or unsubscribed. We tried
gibbon.lists(list_id).members(lower_case_md5_hashed_email_address).retrieve
This. Yet, the hash return of the code is wrapped with "Gibbon::Response".…

Yeseop
- 21
- 2
2
votes
2 answers
MailChimp API v3 - Get members by email
I am using MailChimp API v1/v2. In that version, I could get member-info for multiple members by providing their emails to member-info API
Now, I want to upgrade to v3, however, I am unable to find the equivalent API endpoint for member-info in v3.…

RAJ
- 9,697
- 1
- 33
- 63
2
votes
4 answers
GIBBON::must set an api_key prior to making a call - rails
I used a tutorial to set up my app with mailchimp so that it sends a new subscriber to a mailchimp list. Everything is working just fine if you go through the flow. But when I ran Rspec Half of my test suite is red with this error…

Bitwise
- 8,021
- 22
- 70
- 161
2
votes
1 answer
Gibbon/Mailchimp API request to create interests inside interest-groupings
I'm using Gibbon, version 2.2.1 for Mailchimp, and I'd like to be able to create an interest inside an interest group. For instance, I have users who are subscribed to a class. My interest group is "Lessons", and an interest inside that interest…

Doug
- 1,517
- 3
- 18
- 40
2
votes
1 answer
Retrieve member_id with MailChimp 3.0 and Gibbon 2.x
In my app's user settings, a user can subscribe or unsubscribe to a MailChimp list by checking a box. I am having some trouble retrieving the users MailChimp member_id.
I created a .env file with:
MAILCHIMP_API_KEY = "my_api_key"
MAILCHIMP_LIST_ID…

Phil Mok
- 3,860
- 6
- 24
- 36
2
votes
1 answer
How to subscribe new users with Mailchimp API 3.0 and Gibbon 2.x
In my app I want to auto-subscribe users to a MailChimp list when they are created. All of the documentation I have found focuses on MailChip API 2.0 and Gibbon 1.x.
Here is what I have so far:
I created a .env file with:
MAILCHIMP_API_KEY =…

Phil Mok
- 3,860
- 6
- 24
- 36
2
votes
1 answer
How to pass filters in with Gibbon Export API call for Mailchimp
I am working on retrieving subscriber activity from Mailchimp using Gibbon and the campaignSubscriberActivity method of the Export API. I am using Ruby 2.1.2 and Gibbon 1.1.3.
I setup Gibbon::Export
@gibbon_export =…

analyticsPierce
- 2,979
- 9
- 57
- 81
2
votes
0 answers
How to add a user to a specific group while subscribing to a list
I am using gibbon gem
I am running this on console and its adding user in my subscribed_list. Works like charm.
gb.lists.subscribe({:id => list_id, :email => {:email => 'mohit.jain@example.com'}, :merge_vars => {:FNAME => 'Mohit', :LNAME => 'Jain',…

Mohit Jain
- 43,139
- 57
- 169
- 274
2
votes
1 answer
rails - Gibbon mailchimp gem adds subscriber to list but does not send confirmation email
I am using devise and the gibbon gem to have users sign up for my site. The gibbon gem works in that the user is added to the list on mailchimp, but they are not sent a confirmation email, which, according to the documentation, I believe my code…

Philip7899
- 4,599
- 4
- 55
- 114