Dota2TeamsService
A list of all methods in the Dota2TeamsService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_dota2_series_serieIdOrSlug_teams | List teams for the Dota 2 videogame for a given serie |
get_dota2_teams | List teams for the Dota 2 videogame |
get_dota2_series_serieIdOrSlug_teams
List teams for the Dota 2 videogame for a given serie
- HTTP Method:
GET
- Endpoint:
/dota2/series/{serie_id_or_slug}/teams
Parameters
Name | Type | Required | Description |
---|---|---|---|
serieIdOrSlug | SerieIdOrSlug | ✅ | A serie ID or slug |
filter | FilterOverDota2Teams | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverDota2Teams | ❌ | 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 | SearchOverDota2Teams | ❌ | 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 { FilterOverDota2Teams, Page, PandascoreClient, RangeOverDota2Teams, SearchOverDota2Teams, SerieIdOrSlug, VideogameId } from 'pandascore_client';
(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN'});
const serieIdOrSlug = 10;
const videogameId = VideogameId._1;
const filterOverDota2Teams: FilterOverDota2Teams = {
acronym: ["molli"],
id: [3],
location: ["qui dolore"],
modifiedAt: ["id"],
name: ["commodo ex"],
slug: ["8h6y1-yo"],
videogameId: [videogameId]
};
const rangeOverDota2Teams: RangeOverDota2Teams = {
acronym: ["ut vel"],
id: [10],
location: ["ut minim"],
modifiedAt: ["veniam mo"],
name: ["idelit exercita"],
slug: ["psh"]
};
const searchOverDota2Teams: SearchOverDota2Teams = {
acronym: "ullamco",
location: "in ex",
name: "mollit co",
slug: "7oiow"
};
const page = 1;
const { data } = await pandascoreClient.dota2Teams.getDota2SeriesSerieIdOrSlugTeams(
,
{
filter: filterOverDota2Teams,
range: rangeOverDota2Teams,
sort: [[]],
search: searchOverDota2Teams,
page: page,
perPage: 50,
}
);
console.log(data);
})();
get_dota2_teams
List teams for the Dota 2 videogame
- HTTP Method:
GET
- Endpoint:
/dota2/teams
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverDota2Teams | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverDota2Teams | ❌ | 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 | SearchOverDota2Teams | ❌ | 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 {
FilterOverDota2Teams,
Page,
PandascoreClient,
RangeOverDota2Teams,
SearchOverDota2Teams,
VideogameId,
} from 'pandascore_client';
(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN',
});
const videogameId = VideogameId._1;
const filterOverDota2Teams: FilterOverDota2Teams = {
acronym: ['molli'],
id: [3],
location: ['qui dolore'],
modifiedAt: ['id'],
name: ['commodo ex'],
slug: ['8h6y1-yo'],
videogameId: [videogameId],
};
const rangeOverDota2Teams: RangeOverDota2Teams = {
acronym: ['ut vel'],
id: [10],
location: ['ut minim'],
modifiedAt: ['veniam mo'],
name: ['idelit exercita'],
slug: ['psh'],
};
const searchOverDota2Teams: SearchOverDota2Teams = {
acronym: 'ullamco',
location: 'in ex',
name: 'mollit co',
slug: '7oiow',
};
const page = 1;
const { data } = await pandascoreClient.dota2Teams.getDota2Teams({
filter: filterOverDota2Teams,
range: rangeOverDota2Teams,
sort: [[]],
search: searchOverDota2Teams,
page: page,
perPage: 50,
});
console.log(data);
})();
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs