ValorantPlayersService
A list of all methods in the ValorantPlayersService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_valorant_players | List players for the Valorant videogame |
get_valorant_players
List players for the Valorant videogame
- HTTP Method:
GET
- Endpoint:
/valorant/players
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverValorantPlayers | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverValorantPlayers | ❌ | Options to select results within ranges For more information on ranges, see docs. |
sort | any[] | ❌ | Options to sort results For more information on sorting, see docs. |
search | SearchOverValorantPlayers | ❌ | Options to search results For more information on searching, see docs. |
page | Page | ❌ | Pagination in the form of page=2 or page[size]=30&page[number]=2 |
perPage | number | ❌ | Equivalent 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