CodmwTeamsService
A list of all methods in the CodmwTeamsService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_codmw_teams | List teams for the CODMW videogame |
get_codmw_teams
List teams for the CODMW videogame
- HTTP Method:
GET
- Endpoint:
/codmw/teams
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverCodmwTeams | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverCodmwTeams | ❌ | 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 | SearchOverCodmwTeams | ❌ | 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 {
FilterOverCodmwTeams,
Page,
PandascoreClient,
RangeOverCodmwTeams,
SearchOverCodmwTeams,
VideogameId,
} from 'pandascore_client';
(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN',
});
const videogameId = VideogameId._1;
const filterOverCodmwTeams: FilterOverCodmwTeams = {
acronym: ['tempo'],
id: [7],
location: ['nisi Excepteur'],
modifiedAt: ['veniam est'],
name: ['proiden'],
slug: ['ffzyrcp'],
videogameId: [videogameId],
};
const rangeOverCodmwTeams: RangeOverCodmwTeams = {
acronym: ['fugiat '],
id: [2],
location: ['consectetur i'],
modifiedAt: ['ullam'],
name: ['ut anim n'],
slug: ['ak'],
};
const searchOverCodmwTeams: SearchOverCodmwTeams = {
acronym: 'proident',
location: 'non ess',
name: 'in ut con',
slug: 'ap_',
};
const page = 1;
const { data } = await pandascoreClient.codmwTeams.getCodmwTeams({
filter: filterOverCodmwTeams,
range: rangeOverCodmwTeams,
sort: [[]],
search: searchOverCodmwTeams,
page: page,
perPage: 50,
});
console.log(data);
})();
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs