Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/kd_clients/GitHubClients/mod.ts>LabelClient#getLabels

Various HTTP clients for miscellaneous use.
Go to Latest
method LabelClient.prototype.getLabels
import { LabelClient } from "https://deno.land/x/kd_clients@v1.0.0-preview.12/GitHubClients/mod.ts";

Gets the given page of labels where the size of each page is the given qtyPerPage, for a repository with a name that matches the repoName.

Parameters

page: number

The page of results to return.

qtyPerPage: number

The total to return per page.

Returns

Promise<[LabelModel[], Response]>

A list of labels in the repo.