Easy MailChimp

Class Features

Usage

Add Subscriber

require_once 'EasyMailChimp.php';

use UWebPro\EasyMailChimp; //This is not required within a UWebPro Framework

$apiKey = ''; /* @TODO Add MailChimp API Key */

$chimp = new EasyMailChimp($apiKey);

$chimp->addSubscriber($firstName, $lastName, $email, $listID);
                
// For Prebuilt result use the following, for JSON result echo the function above
echo $chimp->result;


            

More functions coming soon