A PHP 5.3+ API client for v1 of the MailChimp Export-API. Please note that we generate this client/wrapper, so while we're happy to look at any pull requests, ultimately we can't technically accept them.
###Usage This can be installed via Composer and our packagist package.
A basic example for the usage of this class:
$mailChimpExportClient = new \MailchimpExport('[your-API-key]');
$mailChimpExportClient->lists->export(function($dataSet) {
// you can process the received data here
foreach ($dataset as $key => $value) {
echo $key . ' => ' . $value;
}
},
'[list-id]'
);