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>ReleaseClient#getReleases

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

Gets the given page where each page quantity is the given qtyPerPage, for a repository with a name that matches the given ReleaseClient.this.repoName,

Parameters

page: number

The name of the repository to get the releases for.

qtyPerPage: number

The page number of the results to get.

Returns

Promise<ReleaseModel[]>

The releases for the given repository and page.