dev-master
9999999-dev https://github.com/DaniloPolani/MailChimp-API-v3Easily manage Mailchimp API v3
MIT
The Requires
- php >=5.3.0
api mailchimp
Wallogit.com
2017 © Pedro Peláez
Easily manage Mailchimp API v3
This class will help you to manage the MailChimp API v3., (*1)
It's not complete, but the most important methods are included., (*2)
composer require grork/mailchimp=dev-master. If you don't want to use composer, you can download the repository and extract it in your project folder.require __DIR__ . '/vendor/autoload.php' or with require __DIR__ . '/src/Mailchimp.php (or wherever you placed the folder)$mailchimp = new Grork\Mailchimp( '<API-KEY-HERE>' ). You can obtain your API Key logging into MailChimp > Account > Extras > API Keys > Create A KeyIt's better to init the class with the following code, catching the exceptions:, (*3)
try {
$mailchimp = new Grork\Mailchimp( '<API-KEY-HERE>' );
} catch( Exception $e ) {
die( 'Error: ' . $e->getMessage() );
}
For the documentation, you can check the [wiki][1]., (*4)
Easily manage Mailchimp API v3
MIT
api mailchimp