StarCraftBroodWarMatchesService
A list of all methods in the StarCraftBroodWarMatchesService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_starcraft_brood_war_matches | List matches for the StarCraft Brood War videogame |
get_starcraft_brood_war_matches_past | List past StarCraft Brood War matches |
get_starcraft_brood_war_matches_running | List running StarCraft Brood War matches |
get_starcraft_brood_war_matches_upcoming | List upcoming StarCraft Brood War matches |
get_starcraft_brood_war_matches
List matches for the StarCraft Brood War videogame
- HTTP Method:
GET
- Endpoint:
/starcraft-brood-war/matches
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverStarcraftBroodWarMatches | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverStarcraftBroodWarMatches | ❌ | 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 | SearchOverStarcraftBroodWarMatches | ❌ | 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
Match[]
Example Usage Code Snippet
import {
FilterOverStarcraftBroodWarMatches,
MatchStatus,
MatchType,
MatchWinnerType,
Page,
PandascoreClient,
RangeOverStarcraftBroodWarMatches,
SearchOverStarcraftBroodWarMatches,
} 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 filterOverStarcraftBroodWarMatchesVideogameTitle = 7;
const filterOverStarcraftBroodWarMatchesVideogameVersion = '36795.89.22961879';
const opponentId = 7;
const matchWinnerType = MatchWinnerType.PLAYER;
const filterOverStarcraftBroodWarMatches: FilterOverStarcraftBroodWarMatches = {
beginAt: ['eu exe'],
detailedStats: true,
draw: true,
endAt: ['irure lab'],
finished: true,
forfeit: true,
future: true,
id: [7],
leagueId: [1],
matchType: [matchType],
modifiedAt: ['exercita'],
name: ['Lorem '],
notStarted: true,
numberOfGames: [123],
opponentId: [filterOverStarcraftBroodWarMatchesOpponentId],
opponentsFilled: true,
past: true,
running: true,
scheduledAt: ['sed culpa la'],
serieId: [3],
slug: ['UDtH'],
status: [matchStatus],
tournamentId: [9],
unscheduled: true,
videogame: [videogameIdOrSlug],
videogameTitle: [filterOverStarcraftBroodWarMatchesVideogameTitle],
videogameVersion: [filterOverStarcraftBroodWarMatchesVideogameVersion],
winnerId: [opponentId],
winnerType: [matchWinnerType],
};
const matchType1 = MatchType.ALLGAMESPLAYED;
const matchStatus1 = MatchStatus.CANCELED;
const opponentId1 = 7;
const matchWinnerType1 = MatchWinnerType.PLAYER;
const rangeOverStarcraftBroodWarMatches: RangeOverStarcraftBroodWarMatches = {
beginAt: ['Duis incididu'],
detailedStats: [true],
draw: [true],
endAt: ['ex do cupi'],
forfeit: [true],
id: [6],
matchType: [matchType1],
modifiedAt: ['aliqu'],
name: ['in no'],
numberOfGames: [123],
scheduledAt: ['elit nisi'],
slug: ['EZr49Ap-'],
status: [matchStatus1],
tournamentId: [5],
winnerId: [opponentId1],
winnerType: [matchWinnerType1],
};
const matchType12 = MatchType.ALLGAMESPLAYED;
const matchStatus12 = MatchStatus.CANCELED;
const matchWinnerType12 = MatchWinnerType.PLAYER;
const searchOverStarcraftBroodWarMatches: SearchOverStarcraftBroodWarMatches = {
matchType: matchType12,
name: 'dolor ut enim',
slug: 'KpN_Jh',
status: matchStatus12,
winnerType: matchWinnerType12,
};
const page = 1;
const { data } = await pandascoreClient.starCraftBroodWarMatches.getStarcraftBroodWarMatches({
filter: filterOverStarcraftBroodWarMatches,
range: rangeOverStarcraftBroodWarMatches,
sort: [[]],
search: searchOverStarcraftBroodWarMatches,
page: page,
perPage: 50,
});
console.log(data);
})();
get_starcraft_brood_war_matches_past
List past StarCraft Brood War matches
- HTTP Method:
GET
- Endpoint:
/starcraft-brood-war/matches/past
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverStarcraftBroodWarMatches | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverStarcraftBroodWarMatches | ❌ | 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 | SearchOverStarcraftBroodWarMatches | ❌ | 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
Match[]
Example Usage Code Snippet
import {
FilterOverStarcraftBroodWarMatches,
MatchStatus,
MatchType,
MatchWinnerType,
Page,
PandascoreClient,
RangeOverStarcraftBroodWarMatches,
SearchOverStarcraftBroodWarMatches,
} 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 filterOverStarcraftBroodWarMatchesVideogameTitle = 7;
const filterOverStarcraftBroodWarMatchesVideogameVersion = '36795.89.22961879';
const opponentId = 7;
const matchWinnerType = MatchWinnerType.PLAYER;
const filterOverStarcraftBroodWarMatches: FilterOverStarcraftBroodWarMatches = {
beginAt: ['eu exe'],
detailedStats: true,
draw: true,
endAt: ['irure lab'],
finished: true,
forfeit: true,
future: true,
id: [7],
leagueId: [1],
matchType: [matchType],
modifiedAt: ['exercita'],
name: ['Lorem '],
notStarted: true,
numberOfGames: [123],
opponentId: [filterOverStarcraftBroodWarMatchesOpponentId],
opponentsFilled: true,
past: true,
running: true,
scheduledAt: ['sed culpa la'],
serieId: [3],
slug: ['UDtH'],
status: [matchStatus],
tournamentId: [9],
unscheduled: true,
videogame: [videogameIdOrSlug],
videogameTitle: [filterOverStarcraftBroodWarMatchesVideogameTitle],
videogameVersion: [filterOverStarcraftBroodWarMatchesVideogameVersion],
winnerId: [opponentId],
winnerType: [matchWinnerType],
};
const matchType1 = MatchType.ALLGAMESPLAYED;
const matchStatus1 = MatchStatus.CANCELED;
const opponentId1 = 7;
const matchWinnerType1 = MatchWinnerType.PLAYER;
const rangeOverStarcraftBroodWarMatches: RangeOverStarcraftBroodWarMatches = {
beginAt: ['Duis incididu'],
detailedStats: [true],
draw: [true],
endAt: ['ex do cupi'],
forfeit: [true],
id: [6],
matchType: [matchType1],
modifiedAt: ['aliqu'],
name: ['in no'],
numberOfGames: [123],
scheduledAt: ['elit nisi'],
slug: ['EZr49Ap-'],
status: [matchStatus1],
tournamentId: [5],
winnerId: [opponentId1],
winnerType: [matchWinnerType1],
};
const matchType12 = MatchType.ALLGAMESPLAYED;
const matchStatus12 = MatchStatus.CANCELED;
const matchWinnerType12 = MatchWinnerType.PLAYER;
const searchOverStarcraftBroodWarMatches: SearchOverStarcraftBroodWarMatches = {
matchType: matchType12,
name: 'dolor ut enim',
slug: 'KpN_Jh',
status: matchStatus12,
winnerType: matchWinnerType12,
};
const page = 1;
const { data } = await pandascoreClient.starCraftBroodWarMatches.getStarcraftBroodWarMatchesPast({
filter: filterOverStarcraftBroodWarMatches,
range: rangeOverStarcraftBroodWarMatches,
sort: [[]],
search: searchOverStarcraftBroodWarMatches,
page: page,
perPage: 50,
});
console.log(data);
})();
get_starcraft_brood_war_matches_running
List running StarCraft Brood War matches
- HTTP Method:
GET
- Endpoint:
/starcraft-brood-war/matches/running
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverStarcraftBroodWarMatches | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverStarcraftBroodWarMatches | ❌ | 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 | SearchOverStarcraftBroodWarMatches | ❌ | 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
Match[]
Example Usage Code Snippet
import {
FilterOverStarcraftBroodWarMatches,
MatchStatus,
MatchType,
MatchWinnerType,
Page,
PandascoreClient,
RangeOverStarcraftBroodWarMatches,
SearchOverStarcraftBroodWarMatches,
} 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 filterOverStarcraftBroodWarMatchesVideogameTitle = 7;
const filterOverStarcraftBroodWarMatchesVideogameVersion = '36795.89.22961879';
const opponentId = 7;
const matchWinnerType = MatchWinnerType.PLAYER;
const filterOverStarcraftBroodWarMatches: FilterOverStarcraftBroodWarMatches = {
beginAt: ['eu exe'],
detailedStats: true,
draw: true,
endAt: ['irure lab'],
finished: true,
forfeit: true,
future: true,
id: [7],
leagueId: [1],
matchType: [matchType],
modifiedAt: ['exercita'],
name: ['Lorem '],
notStarted: true,
numberOfGames: [123],
opponentId: [filterOverStarcraftBroodWarMatchesOpponentId],
opponentsFilled: true,
past: true,
running: true,
scheduledAt: ['sed culpa la'],
serieId: [3],
slug: ['UDtH'],
status: [matchStatus],
tournamentId: [9],
unscheduled: true,
videogame: [videogameIdOrSlug],
videogameTitle: [filterOverStarcraftBroodWarMatchesVideogameTitle],
videogameVersion: [filterOverStarcraftBroodWarMatchesVideogameVersion],
winnerId: [opponentId],
winnerType: [matchWinnerType],
};
const matchType1 = MatchType.ALLGAMESPLAYED;
const matchStatus1 = MatchStatus.CANCELED;
const opponentId1 = 7;
const matchWinnerType1 = MatchWinnerType.PLAYER;
const rangeOverStarcraftBroodWarMatches: RangeOverStarcraftBroodWarMatches = {
beginAt: ['Duis incididu'],
detailedStats: [true],
draw: [true],
endAt: ['ex do cupi'],
forfeit: [true],
id: [6],
matchType: [matchType1],
modifiedAt: ['aliqu'],
name: ['in no'],
numberOfGames: [123],
scheduledAt: ['elit nisi'],
slug: ['EZr49Ap-'],
status: [matchStatus1],
tournamentId: [5],
winnerId: [opponentId1],
winnerType: [matchWinnerType1],
};
const matchType12 = MatchType.ALLGAMESPLAYED;
const matchStatus12 = MatchStatus.CANCELED;
const matchWinnerType12 = MatchWinnerType.PLAYER;
const searchOverStarcraftBroodWarMatches: SearchOverStarcraftBroodWarMatches = {
matchType: matchType12,
name: 'dolor ut enim',
slug: 'KpN_Jh',
status: matchStatus12,
winnerType: matchWinnerType12,
};
const page = 1;
const { data } = await pandascoreClient.starCraftBroodWarMatches.getStarcraftBroodWarMatchesRunning({
filter: filterOverStarcraftBroodWarMatches,
range: rangeOverStarcraftBroodWarMatches,
sort: [[]],
search: searchOverStarcraftBroodWarMatches,
page: page,
perPage: 50,
});
console.log(data);
})();
get_starcraft_brood_war_matches_upcoming
List upcoming StarCraft Brood War matches
- HTTP Method:
GET
- Endpoint:
/starcraft-brood-war/matches/upcoming
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverStarcraftBroodWarMatches | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverStarcraftBroodWarMatches | ❌ | 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 | SearchOverStarcraftBroodWarMatches | ❌ | 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
Match[]
Example Usage Code Snippet
import {
FilterOverStarcraftBroodWarMatches,
MatchStatus,
MatchType,
MatchWinnerType,
Page,
PandascoreClient,
RangeOverStarcraftBroodWarMatches,
SearchOverStarcraftBroodWarMatches,
} 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 filterOverStarcraftBroodWarMatchesVideogameTitle = 7;
const filterOverStarcraftBroodWarMatchesVideogameVersion = '36795.89.22961879';
const opponentId = 7;
const matchWinnerType = MatchWinnerType.PLAYER;
const filterOverStarcraftBroodWarMatches: FilterOverStarcraftBroodWarMatches = {
beginAt: ['eu exe'],
detailedStats: true,
draw: true,
endAt: ['irure lab'],
finished: true,
forfeit: true,
future: true,
id: [7],
leagueId: [1],
matchType: [matchType],
modifiedAt: ['exercita'],
name: ['Lorem '],
notStarted: true,
numberOfGames: [123],
opponentId: [filterOverStarcraftBroodWarMatchesOpponentId],
opponentsFilled: true,
past: true,
running: true,
scheduledAt: ['sed culpa la'],
serieId: [3],
slug: ['UDtH'],
status: [matchStatus],
tournamentId: [9],
unscheduled: true,
videogame: [videogameIdOrSlug],
videogameTitle: [filterOverStarcraftBroodWarMatchesVideogameTitle],
videogameVersion: [filterOverStarcraftBroodWarMatchesVideogameVersion],
winnerId: [opponentId],
winnerType: [matchWinnerType],
};
const matchType1 = MatchType.ALLGAMESPLAYED;
const matchStatus1 = MatchStatus.CANCELED;
const opponentId1 = 7;
const matchWinnerType1 = MatchWinnerType.PLAYER;
const rangeOverStarcraftBroodWarMatches: RangeOverStarcraftBroodWarMatches = {
beginAt: ['Duis incididu'],
detailedStats: [true],
draw: [true],
endAt: ['ex do cupi'],
forfeit: [true],
id: [6],
matchType: [matchType1],
modifiedAt: ['aliqu'],
name: ['in no'],
numberOfGames: [123],
scheduledAt: ['elit nisi'],
slug: ['EZr49Ap-'],
status: [matchStatus1],
tournamentId: [5],
winnerId: [opponentId1],
winnerType: [matchWinnerType1],
};
const matchType12 = MatchType.ALLGAMESPLAYED;
const matchStatus12 = MatchStatus.CANCELED;
const matchWinnerType12 = MatchWinnerType.PLAYER;
const searchOverStarcraftBroodWarMatches: SearchOverStarcraftBroodWarMatches = {
matchType: matchType12,
name: 'dolor ut enim',
slug: 'KpN_Jh',
status: matchStatus12,
winnerType: matchWinnerType12,
};
const page = 1;
const { data } = await pandascoreClient.starCraftBroodWarMatches.getStarcraftBroodWarMatchesUpcoming({
filter: filterOverStarcraftBroodWarMatches,
range: rangeOverStarcraftBroodWarMatches,
sort: [[]],
search: searchOverStarcraftBroodWarMatches,
page: page,
perPage: 50,
});
console.log(data);
})();
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs