StarCraftBroodWarTeamsService
A list of all methods in the StarCraftBroodWarTeamsService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_starcraft_brood_war_teams | List teams for the StarCraft Brood War videogame |
get_starcraft_brood_war_teams
List teams for the StarCraft Brood War videogame
- HTTP Method:
GET
- Endpoint:
/starcraft-brood-war/teams
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverStarcraftBroodWarTeams | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverStarcraftBroodWarTeams | ❌ | 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 | SearchOverStarcraftBroodWarTeams | ❌ | 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 {
FilterOverStarcraftBroodWarTeams,
Page,
PandascoreClient,
RangeOverStarcraftBroodWarTeams,
SearchOverStarcraftBroodWarTeams,
VideogameId,
} from 'pandascore_client';
(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN',
});
const videogameId = VideogameId._1;
const filterOverStarcraftBroodWarTeams: FilterOverStarcraftBroodWarTeams = {
acronym: ['sint co'],
id: [8],
location: ['ut dolo'],
modifiedAt: ['iru'],
name: ['cillum e'],
slug: ['m'],
videogameId: [videogameId],
};
const rangeOverStarcraftBroodWarTeams: RangeOverStarcraftBroodWarTeams = {
acronym: ['deserunt a'],
id: [3],
location: ['sunt aut'],
modifiedAt: ['deserunt aute'],
name: ['labor'],
slug: ['qt3q1roio'],
};
const searchOverStarcraftBroodWarTeams: SearchOverStarcraftBroodWarTeams = {
acronym: 'dolore fugia',
location: 'dolore cillum',
name: 'irure ven',
slug: 'j',
};
const page = 1;
const { data } = await pandascoreClient.starCraftBroodWarTeams.getStarcraftBroodWarTeams({
filter: filterOverStarcraftBroodWarTeams,
range: rangeOverStarcraftBroodWarTeams,
sort: [[]],
search: searchOverStarcraftBroodWarTeams,
page: page,
perPage: 50,
});
console.log(data);
})();
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs