UNPKG

startgg-helper-node

Version:

A set of functions and classes useful to communicate with the start.gg API.

13 lines (11 loc) 444 B
import { Query } from "startgg-helper"; import { schema } from "./paginatedCommon.js"; let query = new Query(schema, 3); export async function testPaginatedComplex(client){ let result = await query.executePaginated(client, {slug: "tournament/tls-mad-ness-25/event/1v1-ultimate"}, "event.sets", null, { perPage: 10, includeWholeQuery: Query.IWQModes.INLINE, maxElements: 100 }); return result; }