You are here

public function MailchimpLists::getLists in Mailchimp 8

Same name in this branch
  1. 8 lib/mailchimp-api-php/src/MailchimpLists.php \Mailchimp\MailchimpLists::getLists()
  2. 8 lib/mailchimp-api-php/tests/src/MailchimpLists.php \Mailchimp\Tests\MailchimpLists::getLists()

Gets information about all lists/audiences 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/lists/#...

2 calls to MailchimpLists::getLists()
MailchimpLists::getLists in lib/mailchimp-api-php/tests/src/MailchimpLists.php
@inheritdoc
MailchimpLists::getListsForEmail in lib/mailchimp-api-php/src/MailchimpLists.php
Gets all lists an email address is subscribed to.
1 method overrides MailchimpLists::getLists()
MailchimpLists::getLists in lib/mailchimp-api-php/tests/src/MailchimpLists.php
@inheritdoc

File

lib/mailchimp-api-php/src/MailchimpLists.php, line 27

Class

MailchimpLists
Mailchimp Lists/Audiences library.

Namespace

Mailchimp

Code

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