R6SiegeTeamsService
A list of all methods in the R6SiegeTeamsService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_r6siege_teams | List teams for the Rainbow Six Siege videogame |
get_r6siege_teams
List teams for the Rainbow Six Siege videogame
- HTTP Method:
GET
- Endpoint:
/r6siege/teams
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverR6SiegeTeams | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverR6SiegeTeams | ❌ | 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 | SearchOverR6SiegeTeams | ❌ | 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
Team[]
Example Usage Code Snippet
import {
FilterOverR6SiegeTeams,
Page,
PandascoreClient,
RangeOverR6SiegeTeams,
SearchOverR6SiegeTeams,
VideogameId,
} from 'pandascore_client';
(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN',
});
const videogameId = VideogameId._1;
const filterOverR6SiegeTeams: FilterOverR6SiegeTeams = {
acronym: ['pariatur co'],
id: [8],
location: ['aute ex'],
modifiedAt: ['pariatur elit m'],
name: ['adin sed'],
slug: ['1va2v7dm-j'],
videogameId: [videogameId],
};
const rangeOverR6SiegeTeams: RangeOverR6SiegeTeams = {
acronym: ['aliquip'],
id: [2],
location: ['commodo'],
modifiedAt: ['sed L'],
name: ['proid'],
slug: ['by-i4'],
};
const searchOverR6SiegeTeams: SearchOverR6SiegeTeams = {
acronym: 'exercitati',
location: 'occaecat l',
name: 'ex incididunt',
slug: 'yck1qqq',
};
const page = 1;
const { data } = await pandascoreClient.r6SiegeTeams.getR6siegeTeams({
filter: filterOverR6SiegeTeams,
range: rangeOverR6SiegeTeams,
sort: [[]],
search: searchOverR6SiegeTeams,
page: page,
perPage: 50,
});
console.log(data);
})();
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs