You are here

public function SendinblueApiV3::getList in SendinBlue 7.2

Get list by id.

Parameters

string $id: A list identification.

Return value

GetExtendedList An array of lists.

Overrides SendInBlueApiInterface::getList

File

includes/Api/SendinblueApiV3.php, line 171

Class

SendinblueApiV3
Sendinblue REST client.

Code

public function getList($id) {
  $list = $this->sibListsApi
    ->getList($id);
  return new GetExtendedList(drupal_json_decode($list));
}