{"repo":"Jhut89/Mailchimp-API-3.0-PHP","free":true,"listed":false,"github":"https://github.com/Jhut89/Mailchimp-API-3.0-PHP","clone":"git clone https://github.com/Jhut89/Mailchimp-API-3.0-PHP.git","description":"A feature rich object-oriented PHP library for interacting with MailChimp's API v3 💌🐵","language":"PHP","stars":63,"topics":["mailchimp-api","mailchimp-documentation","php-library","mailchimp","oauth","composer","mailchimp-api-wrapper","oauth2","mailchimp-php","mailchimp-sdk"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Table Of Contents - MAILCHIMP API 3.0 PHP - Installation - Instantiation - OAuth - Constructing a Request - GET - POST - PATCH &amp; PUT - DELETE - Handling A Response - Callbacks - Method Chart (\\ excluding verbs) - Wiki - See for more in depth documentation MAILCHIMP API 3.0 PHP This is a PHP library for interacting with version 3.0 of MailChimp's API This library assumes a basic understanding of the MailChimp application and its associated functions. Installation For Composer run: Alternatively you may add a require line to your projects composer.json for the package jhut89/mailchimp3php . Then run composer update and add the composer autoloader to your project with: You can then use a use statement to pull in the Mailchimp class: Instantiation To instantiate you will need a new instance of the Mailchimp class with your MailChimp account's API key as its only argument. OAuth If you are using OAuth to obtain an access token, this library can handle the \"handshake\" for you. You must first send the user to your applications authorize uri . You can get this url by calling the Mailchimp::getAuthUrl() statically: Optionally, if you need to pass state information along with your request so that the callback response can be routed correctly, you can include a state parameter: From there the user will input their username and password to approve your application and will be redirected to the redirect uri you set along with a code . With that code you can now request an access token","default_branch":null,"files":null,"tree":[],"storefront":"/r/Jhut89","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Jhut89/Mailchimp-API-3.0-PHP/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}