Get items of recurring per page

        :param recurring_id: the recurring id
        :param per_page: How many objects per page. Default: 1000
        :param page: Which page. Default: 1
        :return: list
503567
def get_items_of_recurring_per_page(self, recurring_id, per_page=1000, page=1):
        
        return self._get_resource_per_page(
            resource=RECURRING_ITEMS,
            per_page=per_page,
            page=page,
            params={'recurring_id': recurring_id},
        )
13229
def get_tags_of_article_per_page(self, article_id, per_page=1000, page=1):
        
        return self._get_resource_per_page(
            resource=ARTICLE_TAGS,
            per_page=per_page,
            page=page,
            params={'article_id': article_id},
        )
1236730
def get_pages(self):
        ''''''
        pages = []
        page = []
        for i, item in enumerate(self.get_rows):
            if i > 0 and i % self.objects_per_page == 0:
                pages.append(page)
                page = []
            page.append(item)
        pages.append(page)
        return pages
320177
def get_collection(self, collection_id=None, nav="children", page=None):
        
        return self.call(
            "collections",
            {
                "id": collection_id,
                "nav": nav,
                "page": page
            },
            defaults={
                "id": None,
                "nav": "children",
                "page": 1
            }
        )
78968
def get_tags_of_recurring_per_page(self, recurring_id, per_page=1000, page=1):
        
        return self._get_resource_per_page(
            resource=RECURRING_TAGS,
            per_page=per_page,
            page=page,
            params={'recurring_id': recurring_id},
        )
1287624
def get_email_templates_per_page(self, per_page=1000, page=1, params=None):
        
        return self._get_resource_per_page(resource=EMAIL_TEMPLATES, per_page=per_page, page=page, params=params)
463682
def get_tags_of_confirmation_per_page(self, confirmation_id, per_page=1000, page=1):
        
        return self._get_resource_per_page(
            resource=CONFIRMATION_TAGS,
            per_page=per_page,
            page=page,
            params={'confirmation_id': confirmation_id},
        )
389010
def get_items_of_credit_note_per_page(self, credit_note_id, per_page=1000, page=1):
        
        return self._get_resource_per_page(
            resource=CREDIT_NOTE_ITEMS,
            per_page=per_page,
            page=page,
            params={'credit_note_id': credit_note_id},
        )
254700
def get_offers_per_page(self, per_page=1000, page=1, params=None):
        
        return self._get_resource_per_page(resource=OFFERS, per_page=per_page, page=page, params=params)
224162
def get_contacts_of_client_per_page(self, client_id, per_page=1000, page=1):
        
        return self._get_resource_per_page(
            resource=CONTACTS,
            per_page=per_page,
            page=page,
            params={'client_id': client_id},
        )
450549
def list(self, page=1, per_page=10):
        
        return pagers.ChatList(self, self._raw_list, per_page=per_page,
                               page=page)
662643
def _next_page(self):
        
        if self._has_next_page():
            response = self._get_next_page_response()
            items = response.get(self._items_key, ())
            page = Page(self, items, self.item_to_value)
            self._page_start(self, page, response)
            self.next_page_token = response.get(self._next_token)
            return page
        else:
            return None
303466
def get_invoices_per_page(self, per_page=1000, page=1, params=None):
        
        return self._get_resource_per_page(resource=INVOICES, per_page=per_page, page=page, params=params)
817441
def get_items_of_offer_per_page(self, offer_id, per_page=1000, page=1):
        
        return self._get_resource_per_page(
            resource=OFFER_ITEMS,
            per_page=per_page,
            page=page,
            params={'offer_id': offer_id},
        )
883029
def get_confirmations_per_page(self, per_page=1000, page=1, params=None):
        
        return self._get_resource_per_page(resource=CONFIRMATIONS, per_page=per_page, page=page, params=params)
546625
public static function all($page = 1, $per_page = 10)
    {
        $collections = self::get(
            "/collections",
            ['query' => ['page' => $page, 'per_page' => $per_page]]
        );

        $collectionsArray = self::getArray($collections->getBody(), get_called_class());

        return new ArrayObject($collectionsArray, $collections->getHeaders());
    }
884829
def iterate_pages(self):
        
        try:
            while not self.is_last_page:
                self.current_page += 1
                yield self._query(ItemPage=self.current_page, **self.kwargs)
        except NoMorePages:
            pass