PHP code example of webatvantage / mailchimp-api-client
1. Go to this page and download the library: Download webatvantage/mailchimp-api-client library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
webatvantage / mailchimp-api-client example snippets
use \DrewM\MailChimp\MailChimp;
$MailChimp = new MailChimp('abc123abc123abc123abc123abc123-us1');
use \DrewM\MailChimp\MailChimp;
use \DrewM\MailChimp\Batch;
$MailChimp = new MailChimp('abc123abc123abc123abc123abc123-us1');
$Batch = $MailChimp->new_batch();