Skip to main content

ValorantPlayersService

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

MethodsDescription
get_valorant_playersList players for the Valorant videogame

get_valorant_players

List players for the Valorant videogame

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

Parameters

NameTypeRequiredDescription
filterFilterOverValorantPlayersOptions to filter results. String fields are case sensitive
For more information on filtering, see docs.
rangeRangeOverValorantPlayersOptions to select results within ranges
For more information on ranges, see docs.
sortany[]Options to sort results
For more information on sorting, see docs.
searchSearchOverValorantPlayersOptions 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 {
FilterOverValorantPlayers,
Page,
PandascoreClient,
RangeOverValorantPlayers,
SearchOverValorantPlayers,
VideogameId,
} from 'pandascore_client';

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

const videogameId = VideogameId._1;

const filterOverValorantPlayers: FilterOverValorantPlayers = {
active: true,
birthday: ['laboris'],
firstName: ['tempor'],
id: [2],
lastName: ['veniam'],
modifiedAt: ['Duis ex'],
name: ['incididunt '],
nationality: ['dolore'],
role: ['aliqu'],
slug: ['y'],
teamId: [2],
videogameId: [videogameId],
};

const rangeOverValorantPlayers: RangeOverValorantPlayers = {
birthday: ['exercit'],
firstName: ['inExce'],
id: [8],
lastName: ['Lorem labor'],
modifiedAt: ['elit id l'],
name: ['irure incid'],
nationality: ['ullamco '],
role: ['fugiat labo'],
slug: ['o'],
};

const searchOverValorantPlayers: SearchOverValorantPlayers = {
birthday: 'ea moll',
firstName: 'officia nulla',
lastName: 'labore eiu',
name: 'anim eu',
nationality: 'aliqua dolor',
role: 'consequat ',
slug: 'ybj02j05',
};
const page = 1;

const { data } = await pandascoreClient.valorantPlayers.getValorantPlayers({
filter: filterOverValorantPlayers,
range: rangeOverValorantPlayers,
sort: [[]],
search: searchOverValorantPlayers,
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 →