public function get($pages = 0)
    {
        $endpoint = $this->getEndpoint();
        $params = $this->getParams();
        $list = $this->getClient()->request($endpoint, 'GET', $params);

        $i = 1;
        while ($list['metadata']['continue']) {
            if ($pages > 0 && $pages >= $i) {
                return $list;
            }
            $params['continue'] = $list['metadata']['continue'];
            $i_list = $this->getClient()->request($endpoint, 'GET', $params);
            $i_list['items'] = array_merge($list['items'], $i_list['items']);
            $list = $i_list;
            unset($i_list);
            $i++;
        }

        return $list;
    }