sschulze/mailchimp-export

API client library for the MailChimp Export service

1.2 2015-02-23 13:20 UTC

This package is not auto-updated.

Last update: 2021-10-16 01:04:40 UTC


README

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]'
        );