public function getEmailsFromBook($id, $limit = null, $offset = null)
    {
        if (empty($id)) {
            return $this->handleError('Empty book id');
        }

        $data = array();
        if (null !== $limit) {
            $data['limit'] = $limit;
        }
        if (null !== $offset) {
            $data['offset'] = $offset;
        }

        $requestResult = $this->sendRequest('addressbooks/' . $id . '/emails', 'GET', $data);

        return $this->handleResult($requestResult);
    }
public function getEmailsFromBook($id, $limit = null, $offset = null)
    {
        if (empty($id)) {
            return $this->handleError('Empty book id');
        }

        $data = array();
        if (null !== $limit) {
            $data['limit'] = $limit;
        }
        if (null !== $offset) {
            $data['offset'] = $offset;
        }

        $requestResult = $this->sendRequest('addressbooks/' . $id . '/emails', 'GET', $data);

        return $this->handleResult($requestResult);
    }
public function getEmailsFromBook ( $ id , $ limit = null , $ offset = null ) { if ( empty ( $ id ) ) { return $ this -> handleError ( 'Empty book id' ) ; } $ data = array ( ) ; if ( null !== $ limit ) { $ data [ 'limit' ] = $ limit ; } if ( null !== $ offset ) { $ data [ 'offset' ] = $ offset ; } $ requestResult = $ this -> sendRequest ( 'addressbooks/' . $ id . '/emails' , 'GET' , $ data ) ; return $ this -> handleResult ( $ requestResult ) ; }
List email addresses from book

@param $id
@param $limit
@param $offset

@return stdClass
List email addresses from book