Skip to main content

CodmwSeriesService

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

MethodsDescription
get_codmw_seriesList series for the CODMW videogame
get_codmw_series_pastList past CODMW series
get_codmw_series_runningList running CODMW series
get_codmw_series_upcomingList upcoming CODMW series

get_codmw_series

List series for the CODMW videogame

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

Parameters

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

Serie[]

Example Usage Code Snippet

import {
FilterOverCodmwSeries,
OpponentType,
Page,
PandascoreClient,
RangeOverCodmwSeries,
SearchOverCodmwSeries,
} from 'pandascore_client';

(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN',
});

const filterOverCodmwSeriesVideogameTitle = 1;

const opponentId = 7;

const opponentType = OpponentType.PLAYER;

const filterOverCodmwSeries: FilterOverCodmwSeries = {
beginAt: ['aliquip minim d'],
endAt: ['aute ad ea'],
id: [3],
leagueId: [6],
modifiedAt: ['quis offi'],
name: ['labor'],
season: ['veniam qui cons'],
slug: ['hizoyph83_0'],
videogameTitle: [filterOverCodmwSeriesVideogameTitle],
winnerId: [opponentId],
winnerType: [opponentType],
year: [123],
};
const opponentId1 = 7;

const opponentType1 = OpponentType.PLAYER;

const rangeOverCodmwSeries: RangeOverCodmwSeries = {
beginAt: ['aliq'],
endAt: ['est dolore eu'],
id: [10],
leagueId: [7],
modifiedAt: ['dolor pro'],
name: ['anim ex eli'],
season: ['pariatur '],
slug: ['ic16v7gnnll'],
winnerId: [opponentId1],
winnerType: [opponentType1],
year: [123],
};
const opponentType12 = OpponentType.PLAYER;

const searchOverCodmwSeries: SearchOverCodmwSeries = {
name: 'qui ul',
season: 'esse ullam',
slug: 'c7',
winnerType: opponentType12,
};
const page = 1;

const { data } = await pandascoreClient.codmwSeries.getCodmwSeries({
filter: filterOverCodmwSeries,
range: rangeOverCodmwSeries,
sort: [[]],
search: searchOverCodmwSeries,
page: page,
perPage: 50,
});

console.log(data);
})();

get_codmw_series_past

List past CODMW series

  • HTTP Method: GET
  • Endpoint: /codmw/series/past

Parameters

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

Serie[]

Example Usage Code Snippet

import {
FilterOverCodmwSeries,
OpponentType,
Page,
PandascoreClient,
RangeOverCodmwSeries,
SearchOverCodmwSeries,
} from 'pandascore_client';

(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN',
});

const filterOverCodmwSeriesVideogameTitle = 1;

const opponentId = 7;

const opponentType = OpponentType.PLAYER;

const filterOverCodmwSeries: FilterOverCodmwSeries = {
beginAt: ['aliquip minim d'],
endAt: ['aute ad ea'],
id: [3],
leagueId: [6],
modifiedAt: ['quis offi'],
name: ['labor'],
season: ['veniam qui cons'],
slug: ['hizoyph83_0'],
videogameTitle: [filterOverCodmwSeriesVideogameTitle],
winnerId: [opponentId],
winnerType: [opponentType],
year: [123],
};
const opponentId1 = 7;

const opponentType1 = OpponentType.PLAYER;

const rangeOverCodmwSeries: RangeOverCodmwSeries = {
beginAt: ['aliq'],
endAt: ['est dolore eu'],
id: [10],
leagueId: [7],
modifiedAt: ['dolor pro'],
name: ['anim ex eli'],
season: ['pariatur '],
slug: ['ic16v7gnnll'],
winnerId: [opponentId1],
winnerType: [opponentType1],
year: [123],
};
const opponentType12 = OpponentType.PLAYER;

const searchOverCodmwSeries: SearchOverCodmwSeries = {
name: 'qui ul',
season: 'esse ullam',
slug: 'c7',
winnerType: opponentType12,
};
const page = 1;

const { data } = await pandascoreClient.codmwSeries.getCodmwSeriesPast({
filter: filterOverCodmwSeries,
range: rangeOverCodmwSeries,
sort: [[]],
search: searchOverCodmwSeries,
page: page,
perPage: 50,
});

console.log(data);
})();

get_codmw_series_running

List running CODMW series

  • HTTP Method: GET
  • Endpoint: /codmw/series/running

Parameters

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

Serie[]

Example Usage Code Snippet

import {
FilterOverCodmwSeries,
OpponentType,
Page,
PandascoreClient,
RangeOverCodmwSeries,
SearchOverCodmwSeries,
} from 'pandascore_client';

(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN',
});

const filterOverCodmwSeriesVideogameTitle = 1;

const opponentId = 7;

const opponentType = OpponentType.PLAYER;

const filterOverCodmwSeries: FilterOverCodmwSeries = {
beginAt: ['aliquip minim d'],
endAt: ['aute ad ea'],
id: [3],
leagueId: [6],
modifiedAt: ['quis offi'],
name: ['labor'],
season: ['veniam qui cons'],
slug: ['hizoyph83_0'],
videogameTitle: [filterOverCodmwSeriesVideogameTitle],
winnerId: [opponentId],
winnerType: [opponentType],
year: [123],
};
const opponentId1 = 7;

const opponentType1 = OpponentType.PLAYER;

const rangeOverCodmwSeries: RangeOverCodmwSeries = {
beginAt: ['aliq'],
endAt: ['est dolore eu'],
id: [10],
leagueId: [7],
modifiedAt: ['dolor pro'],
name: ['anim ex eli'],
season: ['pariatur '],
slug: ['ic16v7gnnll'],
winnerId: [opponentId1],
winnerType: [opponentType1],
year: [123],
};
const opponentType12 = OpponentType.PLAYER;

const searchOverCodmwSeries: SearchOverCodmwSeries = {
name: 'qui ul',
season: 'esse ullam',
slug: 'c7',
winnerType: opponentType12,
};
const page = 1;

const { data } = await pandascoreClient.codmwSeries.getCodmwSeriesRunning({
filter: filterOverCodmwSeries,
range: rangeOverCodmwSeries,
sort: [[]],
search: searchOverCodmwSeries,
page: page,
perPage: 50,
});

console.log(data);
})();

get_codmw_series_upcoming

List upcoming CODMW series

  • HTTP Method: GET
  • Endpoint: /codmw/series/upcoming

Parameters

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

Serie[]

Example Usage Code Snippet

import {
FilterOverCodmwSeries,
OpponentType,
Page,
PandascoreClient,
RangeOverCodmwSeries,
SearchOverCodmwSeries,
} from 'pandascore_client';

(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN',
});

const filterOverCodmwSeriesVideogameTitle = 1;

const opponentId = 7;

const opponentType = OpponentType.PLAYER;

const filterOverCodmwSeries: FilterOverCodmwSeries = {
beginAt: ['aliquip minim d'],
endAt: ['aute ad ea'],
id: [3],
leagueId: [6],
modifiedAt: ['quis offi'],
name: ['labor'],
season: ['veniam qui cons'],
slug: ['hizoyph83_0'],
videogameTitle: [filterOverCodmwSeriesVideogameTitle],
winnerId: [opponentId],
winnerType: [opponentType],
year: [123],
};
const opponentId1 = 7;

const opponentType1 = OpponentType.PLAYER;

const rangeOverCodmwSeries: RangeOverCodmwSeries = {
beginAt: ['aliq'],
endAt: ['est dolore eu'],
id: [10],
leagueId: [7],
modifiedAt: ['dolor pro'],
name: ['anim ex eli'],
season: ['pariatur '],
slug: ['ic16v7gnnll'],
winnerId: [opponentId1],
winnerType: [opponentType1],
year: [123],
};
const opponentType12 = OpponentType.PLAYER;

const searchOverCodmwSeries: SearchOverCodmwSeries = {
name: 'qui ul',
season: 'esse ullam',
slug: 'c7',
winnerType: opponentType12,
};
const page = 1;

const { data } = await pandascoreClient.codmwSeries.getCodmwSeriesUpcoming({
filter: filterOverCodmwSeries,
range: rangeOverCodmwSeries,
sort: [[]],
search: searchOverCodmwSeries,
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 →