Skip to main content

CodmwTeamsService

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

MethodsDescription
get_codmw_teamsList teams for the CODMW videogame

get_codmw_teams

List teams for the CODMW videogame

  • HTTP Method: GET
  • Endpoint: /codmw/teams

Parameters

NameTypeRequiredDescription
filterFilterOverCodmwTeamsOptions to filter results. String fields are case sensitive
For more information on filtering, see docs.
rangeRangeOverCodmwTeamsOptions to select results within ranges
For more information on ranges, see docs.
sortany[]Options to sort results
For more information on sorting, see docs.
searchSearchOverCodmwTeamsOptions 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

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

Start for Free →