Skip to main content

KogPlayersService

A list of all methods in the KogPlayersService service. Click on the method name to view detailed information about that method.

MethodsDescription
get_kog_playersList players for the King of Glory videogame

get_kog_players

List players for the King of Glory videogame

  • HTTP Method: GET
  • Endpoint: /kog/players

Parameters

NameTypeRequiredDescription
filterFilterOverKogPlayersOptions to filter results. String fields are case sensitive
For more information on filtering, see docs.
rangeRangeOverKogPlayersOptions to select results within ranges
For more information on ranges, see docs.
sortany[]Options to sort results
For more information on sorting, see docs.
searchSearchOverKogPlayersOptions to search results
For more information on searching, see docs.
pagePagePagination in the form of page=2 or page[size]=30&page[number]=2
perPagenumberEquivalent to page[size]

Return Type

Player[]

Example Usage Code Snippet

import {
FilterOverKogPlayers,
Page,
PandascoreClient,
RangeOverKogPlayers,
SearchOverKogPlayers,
VideogameId,
} from 'pandascore_client';

(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN',
});

const videogameId = VideogameId._1;

const filterOverKogPlayers: FilterOverKogPlayers = {
active: true,
birthday: ['Duis aute sit'],
firstName: ['occaec'],
id: [6],
lastName: ['mollit'],
modifiedAt: ['in'],
name: ['laboris aliqua '],
nationality: ['proident i'],
role: ['venia'],
slug: ['pdt-82'],
teamId: [7],
videogameId: [videogameId],
};

const rangeOverKogPlayers: RangeOverKogPlayers = {
birthday: ['ad elit '],
firstName: ['tempor'],
id: [6],
lastName: ['aute ali'],
modifiedAt: ['consectetu'],
name: ['sintin'],
nationality: ['elit occaeca'],
role: ['minim '],
slug: ['_qmb96lw89'],
};

const searchOverKogPlayers: SearchOverKogPlayers = {
birthday: 'nisi sed deseru',
firstName: 'cupid',
lastName: 'aliqua magna no',
name: 'in dolore ',
nationality: 'proident',
role: 'magna cu',
slug: 'wiv',
};
const page = 1;

const { data } = await pandascoreClient.kogPlayers.getKogPlayers({
filter: filterOverKogPlayers,
range: rangeOverKogPlayers,
sort: [[]],
search: searchOverKogPlayers,
page: page,
perPage: 50,
});

console.log(data);
})();

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →