MailChimp API v1.3 - The CodeIgniter Way!
PHP
Switch branches/tags
Nothing to show
Pull request Compare This branch is 1 commit ahead, 4 commits behind jamesgiang:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
MCAPI.php
readme.md

readme.md

###CodeIgniter Library for MailChimp API v1.3

####MailChimp API v1.3 The CodeIgniter Way

#####Note

This requires that you have an account with MailChimp, and are able to obtain your API Key Doc (or make a new one from the admin).

#####Installation

  • Download and extract.
  • Place MCAPI.php in the /application/libraries/ folder of your CodeIgniter project.

#####Usage

To load the library:

$config = array(
  'apikey' => '', // Insert your api key
  'secure' => FALSE // Optional (defaults to FALSE)
);
$this->load->library('MCAPI', $config, 'mail_chimp');

Then, to use:

$test = $this->mail_chimp->listSubscribe($list_id, $email);
var_dump($test);

Call all other methods in this manner.

For full documentation on the MailChimp API, visit the mailchimp api