You are here

public function MailchimpCampaigns::getCampaigns in Mailchimp 8

Gets information about all campaigns owned by the authenticated account.

Parameters

array $parameters: Associative array of optional request parameters.

Return value

object

See also

http://developer.mailchimp.com/documentation/mailchimp/reference/campaig...

File

lib/mailchimp-api-php/src/MailchimpCampaigns.php, line 31

Class

MailchimpCampaigns
Mailchimp Campaigns library.

Namespace

Mailchimp

Code

public function getCampaigns($parameters = []) {
  return $this
    ->request('GET', '/campaigns', NULL, $parameters);
}