public function interestGroupings($count = null)
    {

        $payload = array(
            'id' => $this->listId,
            'count' => $count
        );

        $apiCall = 'lists/interest-groupings';
        $data = $this->requestMonkey($apiCall, $payload);
        $data = json_decode($data, true);
        if (isset($data['error']))
            throw new MailchimpAPIException($data);
        else
            return isset($data) ? $data : false;
    }
public function interestGroupings($count = null)
    {

        $payload = array(
            'id' => $this->listId,
            'count' => $count
        );

        $apiCall = 'lists/interest-groupings';
        $data = $this->requestMonkey($apiCall, $payload);
        $data = json_decode($data, true);
        if (isset($data['error']))
            throw new MailchimpAPIException($data);
        else
            return isset($data) ? $data : false;
    }
public function interestGroupings ( $ count = null ) { $ payload = array ( 'id' => $ this -> listId , 'count' => $ count ) ; $ apiCall = 'lists/interest-groupings' ; $ data = $ this -> requestMonkey ( $ apiCall , $ payload ) ; $ data = json_decode ( $ data , true ) ; if ( isset ( $ data [ 'error' ] ) ) throw new MailchimpAPIException ( $ data ) ; else return isset ( $ data ) ? $ data : false ; }
Get the list of interest groupings for a given list, including the label, form information, and included groups for each

@link http://apidocs.mailchimp.com/api/2.0/lists/interest-groupings.php
@param bool $count optional wether to get subscriber count or not
@return array all groups information for specific list
@throws MailchimpAPIException
Get the list of interest groupings for a given list including the label form information and included groups for each