CounterStrikeTeamsService
A list of all methods in the CounterStrikeTeamsService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_csgo_teams | List teams for the Counter-Strike videogame |
get_csgo_teams
List teams for the Counter-Strike videogame
- HTTP Method:
GET
- Endpoint:
/csgo/teams
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverCsgoTeams | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverCsgoTeams | ❌ | 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 | SearchOverCsgoTeams | ❌ | 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 {
FilterOverCsgoTeams,
Page,
PandascoreClient,
RangeOverCsgoTeams,
SearchOverCsgoTeams,
VideogameId,
} from 'pandascore_client';
(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN',
});
const videogameId = VideogameId._1;
const filterOverCsgoTeams: FilterOverCsgoTeams = {
acronym: ['cupidatat v'],
id: [10],
location: ['proide'],
modifiedAt: ['n'],
name: ['exmoll'],
slug: ['388tc6im'],
videogameId: [videogameId],
};
const rangeOverCsgoTeams: RangeOverCsgoTeams = {
acronym: ['cupida'],
id: [4],
location: ['officia ani'],
modifiedAt: ['pariatur'],
name: ['nostrud qui '],
slug: ['k0k91e'],
};
const searchOverCsgoTeams: SearchOverCsgoTeams = {
acronym: 'culpa labor',
location: 'aute mollit i',
name: 'sunt ad',
slug: 'wnj8e',
};
const page = 1;
const { data } = await pandascoreClient.counterStrikeTeams.getCsgoTeams({
filter: filterOverCsgoTeams,
range: rangeOverCsgoTeams,
sort: [[]],
search: searchOverCsgoTeams,
page: page,
perPage: 50,
});
console.log(data);
})();
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs