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

x/kd_clients/core/GitHubClient.ts>GitHubClient#getAllData

Various HTTP clients for miscellaneous use.
Latest
method GitHubClient.prototype.getAllData
import { GitHubClient } from "https://deno.land/x/kd_clients@v1.0.0-preview.13/core/GitHubClient.ts";

Gets all data starting at the given page with a quantity for each page using the given qtyPerPage.

Parameters

getData: GetDataFunc<T>

The function to use to get the data for each page.

optional
page = [UNSUPPORTED]

The quantity of items to get per page.

optional
qtyPerPage = [UNSUPPORTED]

Returns

Promise<T[]>

All of the data from the given page.