Get tags of suppliers per page

        :param supplier_id: the supplier id
        :param per_page: How many objects per page. Default: 1000
        :param page: Which page. Default: 1
        :return: list
547752
def get_tags_of_supplier_per_page(self, supplier_id, per_page=1000, page=1):
        
        return self._get_resource_per_page(
            resource=SUPPLIER_TAGS,
            per_page=per_page,
            page=page,
            params={'supplier_id': supplier_id},
        )
16085
def resource_list(cls):
        
        items = cls.list({'items_per_page': 500})
        ret = [paas['name'] for paas in items]
        ret.extend([str(paas['id']) for paas in items])
        for paas in items:
            paas = cls.info(paas['id'])
            ret.extend([vhost['name'] for vhost in paas['vhosts']])

        return ret
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},
        )
615719
def get_tags_of_credit_note_per_page(self, credit_note_id, per_page=1000, page=1):
        
        return self._get_resource_per_page(
            resource=CREDIT_NOTE_TAGS,
            per_page=per_page,
            page=page,
            params={'credit_note_id': credit_note_id},
        )
759391
def get_templates_per_page(self, per_page=1000, page=1, params=None):
        
        return self._get_resource_per_page(resource=TEMPLATES, per_page=per_page, page=page, params=params)
827756
public PaginatedList<CompanyDomain> listDomains(int page) {
		PaginatedList<CompanyDomain> results = new PaginatedList<CompanyDomain>();
		Criteria criteria = this.dao.newCriteria(CompanyDomain.class)
				.createAlias("company", "company", JoinType.INNER_JOIN)
				.addOrder(Order.asc("company.name")).addOrder(Order.asc("host"));
		if (page > 0)
			criteria.setFirstResult((page-1) * PAGESIZE).setMaxResults(PAGESIZE);
		Criteria counting = this.dao.newCriteria(CompanyDomain.class).setProjection(Projections.countDistinct("id"));
		results.setList(this.dao.findByCriteria(criteria, CompanyDomain.class));
		results.setTotal((Long) counting.uniqueResult());
		return results;
	}
1327829
def get_items_of_invoice_per_page(self, invoice_id, per_page=1000, page=1):
        
        return self._get_resource_per_page(
            resource=INVOICE_ITEMS,
            per_page=per_page,
            page=page,
            params={'invoice_id': invoice_id},
        )
32457
def get_related(page):
    
    related = []
    entry   = Entry.get_for_model(page)

    if entry:
        related = entry.related

    return related
668692
def list_shops(self, page_index=1, page_size=20):
        
        res = self._post(
            'shop/list',
            data={
                'pageindex': page_index,
                'pagesize': page_size,
            },
            result_processor=lambda x: x['data']
        )
        return res
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},
        )
392706
public FutureData<IdentityList> list(String label, int page, int perPage) {
        FutureData<IdentityList> future = new FutureData<>();
        ParamBuilder b = newParams();
        if (label != null) {
            b.put("label", label);
        }
        if (page > 0) {
            b.put("page", page);
        }
        if (perPage > 0) {
            b.put("per_page", perPage);
        }
        URI uri = b.forURL(config.newAPIEndpointURI(IDENTITY));
        Request request = config.http().
                GET(uri, new PageReader(newRequestCallback(future, new IdentityList(), config)));
        performRequest(future, request);
        return future;
    }
774214
def get_all_tags_of_invoice(self, invoice_id):
        
        return self._iterate_through_pages(
            get_function=self.get_tags_of_invoice_per_page,
            resource=INVOICE_TAGS,
            **{'invoice_id': invoice_id}
        )
214597
def get_bookmark_tags(self, bookmark_id):
        
        url = self._generate_url('bookmarks/{0}/tags'.format(bookmark_id))
        return self.get(url)
277969
def get_tags_of_invoice_per_page(self, invoice_id, per_page=1000, page=1):
        
        return self._get_resource_per_page(
            resource=INVOICE_TAGS,
            per_page=per_page,
            page=page,
            params={'invoice_id': invoice_id},
        )
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},
        )
212953
def get_supplier_properties_per_page(self, per_page=1000, page=1, params=None):
        
        return self._get_resource_per_page(resource=SUPPLIER_PROPERTIES, per_page=per_page, page=page, params=params)
1350494
def get_author_tags(index_page):
    
    dom = dhtmlparser.parseString(index_page)

    authors = [
        get_html_authors(dom),
        get_dc_authors(dom),
    ]

    return sum(authors, [])