0.0
No commit activity in last 3 years
No release in over 3 years
A lightweight MailChimp API wrapper using libcurl
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

>= 0.7.15
 Project Readme

ChimpLight

A lightweight MailChimp API wrapper using libcurl

Installation

Add this line to your application's Gemfile:

gem 'chimp_light'

And then execute:

$ bundle

Or install it yourself as:

$ gem install chimp_light

Usage

  • Instantiate with your API key

$mail_chimp = ChimpLight::Api.new 'my_apikey'

$mail_chimp.listSubscribe :id => 'mylistid', :email_address => 'me@example.com'

Advanced configuration

  • MailChimp API version - default is '1.3', to override:

$mail_chimp = ChimpLight::Api.new 'my_apikey', :version => '1.2'

  • Data center - default is 'us1', to override:

$mail_chimp = ChimpLight::Api.new 'my_apikey', :dc => 'us2'

  • SSL - default is off, to override:

$mail_chimp = ChimpLight::Api.new 'my_apikey', :ssl => true

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request