Skip to main content

RlPlayersService

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

MethodsDescription
get_rl_playersList players for the Rocket League videogame

get_rl_players

List players for the Rocket League videogame

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

Parameters

NameTypeRequiredDescription
filterFilterOverRlPlayersOptions to filter results. String fields are case sensitive
For more information on filtering, see docs.
rangeRangeOverRlPlayersOptions to select results within ranges
For more information on ranges, see docs.
sortany[]Options to sort results
For more information on sorting, see docs.
searchSearchOverRlPlayersOptions 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 {
FilterOverRlPlayers,
Page,
PandascoreClient,
RangeOverRlPlayers,
SearchOverRlPlayers,
VideogameId,
} from 'pandascore_client';

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

const videogameId = VideogameId._1;

const filterOverRlPlayers: FilterOverRlPlayers = {
active: true,
birthday: ['fugia'],
firstName: ['ipsum'],
id: [5],
lastName: ['Utvoluptat'],
modifiedAt: ['in rep'],
name: ['adipi'],
nationality: ['sit sunt null'],
role: ['in ex'],
slug: ['a'],
teamId: [5],
videogameId: [videogameId],
};

const rangeOverRlPlayers: RangeOverRlPlayers = {
birthday: ['ex voluptate d'],
firstName: ['reprehenderi'],
id: [2],
lastName: ['labore'],
modifiedAt: ['do aute adipi'],
name: ['nisicommodo'],
nationality: ['occaecat '],
role: ['minim'],
slug: ['htxdf2z4lk'],
};

const searchOverRlPlayers: SearchOverRlPlayers = {
birthday: 'dolor',
firstName: 'adconsequ',
lastName: 'sint in lab',
name: 'dolore ',
nationality: 'culpa',
role: 'esse qui ex ',
slug: '7cfncmu',
};
const page = 1;

const { data } = await pandascoreClient.rlPlayers.getRlPlayers({
filter: filterOverRlPlayers,
range: rangeOverRlPlayers,
sort: [[]],
search: searchOverRlPlayers,
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 →