RlPlayersService
A list of all methods in the RlPlayersService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_rl_players | List players for the Rocket League videogame |
get_rl_players
List players for the Rocket League videogame
- HTTP Method:
GET
- Endpoint:
/rl/players
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverRlPlayers | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverRlPlayers | ❌ | 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 | SearchOverRlPlayers | ❌ | 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 {
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