R6SiegeLeaguesService
A list of all methods in the R6SiegeLeaguesService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_r6siege_leagues | List Rainbow Six Siege leagues |
get_r6siege_leagues
List Rainbow Six Siege leagues
- HTTP Method:
GET
- Endpoint:
/r6siege/leagues
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverR6SiegeLeagues | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverR6SiegeLeagues | ❌ | 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 | SearchOverR6SiegeLeagues | ❌ | 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
League[]
Example Usage Code Snippet
import {
FilterOverR6SiegeLeagues,
Page,
PandascoreClient,
RangeOverR6SiegeLeagues,
SearchOverR6SiegeLeagues,
} from 'pandascore_client';
(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN',
});
const filterOverR6SiegeLeagues: FilterOverR6SiegeLeagues = {
id: [2],
modifiedAt: ['in p'],
name: ['dolore'],
slug: ['0g'],
url: ['quis deserunt '],
};
const rangeOverR6SiegeLeagues: RangeOverR6SiegeLeagues = {
id: [4],
modifiedAt: ['non tem'],
name: ['Ut quis E'],
slug: ['sf43rbls-'],
url: ['Duis d'],
};
const searchOverR6SiegeLeagues: SearchOverR6SiegeLeagues = {
name: 'auteconsequat ',
slug: 'ess81c',
url: 'Lorem elit',
};
const page = 1;
const { data } = await pandascoreClient.r6SiegeLeagues.getR6siegeLeagues({
filter: filterOverR6SiegeLeagues,
range: rangeOverR6SiegeLeagues,
sort: [[]],
search: searchOverR6SiegeLeagues,
page: page,
perPage: 50,
});
console.log(data);
})();
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs