Skip to main content

PubgMatchesService

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

MethodsDescription
get_pubg_matchesList matches for the PUBG videogame
get_pubg_matches_pastList past PUBG matches
get_pubg_matches_runningList running PUBG matches
get_pubg_matches_upcomingList upcoming PUBG matches

get_pubg_matches

List matches for the PUBG videogame

  • HTTP Method: GET
  • Endpoint: /pubg/matches

Parameters

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

Match[]

Example Usage Code Snippet

import {
FilterOverPubgMatches,
MatchStatus,
MatchType,
MatchWinnerType,
Page,
PandascoreClient,
RangeOverPubgMatches,
SearchOverPubgMatches,
} from 'pandascore_client';

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

const matchType = MatchType.ALLGAMESPLAYED;

const teamIdOrSlug = 10;

const matchStatus = MatchStatus.CANCELED;

const videogameId = VideogameId._1;

const filterOverPubgMatchesVideogameTitle = 5;

const filterOverPubgMatchesVideogameVersion = '036.43414';

const opponentId = 7;

const matchWinnerType = MatchWinnerType.PLAYER;

const filterOverPubgMatches: FilterOverPubgMatches = {
beginAt: ['aute eiusmod '],
detailedStats: true,
draw: true,
endAt: ['ullamco labor'],
finished: true,
forfeit: true,
future: true,
id: [9],
leagueId: [2],
matchType: [matchType],
modifiedAt: ['nisi irure culp'],
name: ['aute '],
notStarted: true,
numberOfGames: [10],
opponentId: [filterOverPubgMatchesOpponentId],
opponentsFilled: true,
past: true,
running: true,
scheduledAt: ['null'],
serieId: [4],
slug: ['1wzZ5GZv'],
status: [matchStatus],
tournamentId: [7],
unscheduled: true,
videogame: [videogameIdOrSlug],
videogameTitle: [filterOverPubgMatchesVideogameTitle],
videogameVersion: [filterOverPubgMatchesVideogameVersion],
winnerId: [opponentId],
winnerType: [matchWinnerType],
};
const matchType1 = MatchType.ALLGAMESPLAYED;

const matchStatus1 = MatchStatus.CANCELED;

const opponentId1 = 7;

const matchWinnerType1 = MatchWinnerType.PLAYER;

const rangeOverPubgMatches: RangeOverPubgMatches = {
beginAt: ['ut cillum in '],
detailedStats: [true],
draw: [true],
endAt: ['anim'],
forfeit: [true],
id: [2],
matchType: [matchType1],
modifiedAt: ['in ut min'],
name: ['eu in'],
numberOfGames: [10],
scheduledAt: ['in '],
slug: ['FDoevNsA'],
status: [matchStatus1],
tournamentId: [5],
winnerId: [opponentId1],
winnerType: [matchWinnerType1],
};
const matchType12 = MatchType.ALLGAMESPLAYED;

const matchStatus12 = MatchStatus.CANCELED;

const matchWinnerType12 = MatchWinnerType.PLAYER;

const searchOverPubgMatches: SearchOverPubgMatches = {
matchType: matchType12,
name: 'adipisic',
slug: 'H',
status: matchStatus12,
winnerType: matchWinnerType12,
};
const page = 1;

const { data } = await pandascoreClient.pubgMatches.getPubgMatches({
filter: filterOverPubgMatches,
range: rangeOverPubgMatches,
sort: [[]],
search: searchOverPubgMatches,
page: page,
perPage: 50,
});

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

get_pubg_matches_past

List past PUBG matches

  • HTTP Method: GET
  • Endpoint: /pubg/matches/past

Parameters

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

Match[]

Example Usage Code Snippet

import {
FilterOverPubgMatches,
MatchStatus,
MatchType,
MatchWinnerType,
Page,
PandascoreClient,
RangeOverPubgMatches,
SearchOverPubgMatches,
} from 'pandascore_client';

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

const matchType = MatchType.ALLGAMESPLAYED;

const teamIdOrSlug = 10;

const matchStatus = MatchStatus.CANCELED;

const videogameId = VideogameId._1;

const filterOverPubgMatchesVideogameTitle = 5;

const filterOverPubgMatchesVideogameVersion = '036.43414';

const opponentId = 7;

const matchWinnerType = MatchWinnerType.PLAYER;

const filterOverPubgMatches: FilterOverPubgMatches = {
beginAt: ['aute eiusmod '],
detailedStats: true,
draw: true,
endAt: ['ullamco labor'],
finished: true,
forfeit: true,
future: true,
id: [9],
leagueId: [2],
matchType: [matchType],
modifiedAt: ['nisi irure culp'],
name: ['aute '],
notStarted: true,
numberOfGames: [10],
opponentId: [filterOverPubgMatchesOpponentId],
opponentsFilled: true,
past: true,
running: true,
scheduledAt: ['null'],
serieId: [4],
slug: ['1wzZ5GZv'],
status: [matchStatus],
tournamentId: [7],
unscheduled: true,
videogame: [videogameIdOrSlug],
videogameTitle: [filterOverPubgMatchesVideogameTitle],
videogameVersion: [filterOverPubgMatchesVideogameVersion],
winnerId: [opponentId],
winnerType: [matchWinnerType],
};
const matchType1 = MatchType.ALLGAMESPLAYED;

const matchStatus1 = MatchStatus.CANCELED;

const opponentId1 = 7;

const matchWinnerType1 = MatchWinnerType.PLAYER;

const rangeOverPubgMatches: RangeOverPubgMatches = {
beginAt: ['ut cillum in '],
detailedStats: [true],
draw: [true],
endAt: ['anim'],
forfeit: [true],
id: [2],
matchType: [matchType1],
modifiedAt: ['in ut min'],
name: ['eu in'],
numberOfGames: [10],
scheduledAt: ['in '],
slug: ['FDoevNsA'],
status: [matchStatus1],
tournamentId: [5],
winnerId: [opponentId1],
winnerType: [matchWinnerType1],
};
const matchType12 = MatchType.ALLGAMESPLAYED;

const matchStatus12 = MatchStatus.CANCELED;

const matchWinnerType12 = MatchWinnerType.PLAYER;

const searchOverPubgMatches: SearchOverPubgMatches = {
matchType: matchType12,
name: 'adipisic',
slug: 'H',
status: matchStatus12,
winnerType: matchWinnerType12,
};
const page = 1;

const { data } = await pandascoreClient.pubgMatches.getPubgMatchesPast({
filter: filterOverPubgMatches,
range: rangeOverPubgMatches,
sort: [[]],
search: searchOverPubgMatches,
page: page,
perPage: 50,
});

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

get_pubg_matches_running

List running PUBG matches

  • HTTP Method: GET
  • Endpoint: /pubg/matches/running

Parameters

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

Match[]

Example Usage Code Snippet

import {
FilterOverPubgMatches,
MatchStatus,
MatchType,
MatchWinnerType,
Page,
PandascoreClient,
RangeOverPubgMatches,
SearchOverPubgMatches,
} from 'pandascore_client';

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

const matchType = MatchType.ALLGAMESPLAYED;

const teamIdOrSlug = 10;

const matchStatus = MatchStatus.CANCELED;

const videogameId = VideogameId._1;

const filterOverPubgMatchesVideogameTitle = 5;

const filterOverPubgMatchesVideogameVersion = '036.43414';

const opponentId = 7;

const matchWinnerType = MatchWinnerType.PLAYER;

const filterOverPubgMatches: FilterOverPubgMatches = {
beginAt: ['aute eiusmod '],
detailedStats: true,
draw: true,
endAt: ['ullamco labor'],
finished: true,
forfeit: true,
future: true,
id: [9],
leagueId: [2],
matchType: [matchType],
modifiedAt: ['nisi irure culp'],
name: ['aute '],
notStarted: true,
numberOfGames: [10],
opponentId: [filterOverPubgMatchesOpponentId],
opponentsFilled: true,
past: true,
running: true,
scheduledAt: ['null'],
serieId: [4],
slug: ['1wzZ5GZv'],
status: [matchStatus],
tournamentId: [7],
unscheduled: true,
videogame: [videogameIdOrSlug],
videogameTitle: [filterOverPubgMatchesVideogameTitle],
videogameVersion: [filterOverPubgMatchesVideogameVersion],
winnerId: [opponentId],
winnerType: [matchWinnerType],
};
const matchType1 = MatchType.ALLGAMESPLAYED;

const matchStatus1 = MatchStatus.CANCELED;

const opponentId1 = 7;

const matchWinnerType1 = MatchWinnerType.PLAYER;

const rangeOverPubgMatches: RangeOverPubgMatches = {
beginAt: ['ut cillum in '],
detailedStats: [true],
draw: [true],
endAt: ['anim'],
forfeit: [true],
id: [2],
matchType: [matchType1],
modifiedAt: ['in ut min'],
name: ['eu in'],
numberOfGames: [10],
scheduledAt: ['in '],
slug: ['FDoevNsA'],
status: [matchStatus1],
tournamentId: [5],
winnerId: [opponentId1],
winnerType: [matchWinnerType1],
};
const matchType12 = MatchType.ALLGAMESPLAYED;

const matchStatus12 = MatchStatus.CANCELED;

const matchWinnerType12 = MatchWinnerType.PLAYER;

const searchOverPubgMatches: SearchOverPubgMatches = {
matchType: matchType12,
name: 'adipisic',
slug: 'H',
status: matchStatus12,
winnerType: matchWinnerType12,
};
const page = 1;

const { data } = await pandascoreClient.pubgMatches.getPubgMatchesRunning({
filter: filterOverPubgMatches,
range: rangeOverPubgMatches,
sort: [[]],
search: searchOverPubgMatches,
page: page,
perPage: 50,
});

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

get_pubg_matches_upcoming

List upcoming PUBG matches

  • HTTP Method: GET
  • Endpoint: /pubg/matches/upcoming

Parameters

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

Match[]

Example Usage Code Snippet

import {
FilterOverPubgMatches,
MatchStatus,
MatchType,
MatchWinnerType,
Page,
PandascoreClient,
RangeOverPubgMatches,
SearchOverPubgMatches,
} from 'pandascore_client';

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

const matchType = MatchType.ALLGAMESPLAYED;

const teamIdOrSlug = 10;

const matchStatus = MatchStatus.CANCELED;

const videogameId = VideogameId._1;

const filterOverPubgMatchesVideogameTitle = 5;

const filterOverPubgMatchesVideogameVersion = '036.43414';

const opponentId = 7;

const matchWinnerType = MatchWinnerType.PLAYER;

const filterOverPubgMatches: FilterOverPubgMatches = {
beginAt: ['aute eiusmod '],
detailedStats: true,
draw: true,
endAt: ['ullamco labor'],
finished: true,
forfeit: true,
future: true,
id: [9],
leagueId: [2],
matchType: [matchType],
modifiedAt: ['nisi irure culp'],
name: ['aute '],
notStarted: true,
numberOfGames: [10],
opponentId: [filterOverPubgMatchesOpponentId],
opponentsFilled: true,
past: true,
running: true,
scheduledAt: ['null'],
serieId: [4],
slug: ['1wzZ5GZv'],
status: [matchStatus],
tournamentId: [7],
unscheduled: true,
videogame: [videogameIdOrSlug],
videogameTitle: [filterOverPubgMatchesVideogameTitle],
videogameVersion: [filterOverPubgMatchesVideogameVersion],
winnerId: [opponentId],
winnerType: [matchWinnerType],
};
const matchType1 = MatchType.ALLGAMESPLAYED;

const matchStatus1 = MatchStatus.CANCELED;

const opponentId1 = 7;

const matchWinnerType1 = MatchWinnerType.PLAYER;

const rangeOverPubgMatches: RangeOverPubgMatches = {
beginAt: ['ut cillum in '],
detailedStats: [true],
draw: [true],
endAt: ['anim'],
forfeit: [true],
id: [2],
matchType: [matchType1],
modifiedAt: ['in ut min'],
name: ['eu in'],
numberOfGames: [10],
scheduledAt: ['in '],
slug: ['FDoevNsA'],
status: [matchStatus1],
tournamentId: [5],
winnerId: [opponentId1],
winnerType: [matchWinnerType1],
};
const matchType12 = MatchType.ALLGAMESPLAYED;

const matchStatus12 = MatchStatus.CANCELED;

const matchWinnerType12 = MatchWinnerType.PLAYER;

const searchOverPubgMatches: SearchOverPubgMatches = {
matchType: matchType12,
name: 'adipisic',
slug: 'H',
status: matchStatus12,
winnerType: matchWinnerType12,
};
const page = 1;

const { data } = await pandascoreClient.pubgMatches.getPubgMatchesUpcoming({
filter: filterOverPubgMatches,
range: rangeOverPubgMatches,
sort: [[]],
search: searchOverPubgMatches,
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 →