ValorantTeamsService
A list of all methods in the ValorantTeamsService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_valorant_teams | List teams for the Valorant videogame |
get_valorant_teams
List teams for the Valorant videogame
- HTTP Method:
GET
- Endpoint:
/valorant/teams
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverValorantTeams | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverValorantTeams | ❌ | 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 | SearchOverValorantTeams | ❌ | 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 {
FilterOverValorantTeams,
Page,
PandascoreClient,
RangeOverValorantTeams,
SearchOverValorantTeams,
VideogameId,
} from 'pandascore_client';
(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN',
});
const videogameId = VideogameId._1;
const filterOverValorantTeams: FilterOverValorantTeams = {
acronym: ['laborum sit'],
id: [7],
location: ['ipsum'],
modifiedAt: ['cupidatat'],
name: ['proident in c'],
slug: ['hk-_38'],
videogameId: [videogameId],
};
const rangeOverValorantTeams: RangeOverValorantTeams = {
acronym: ['aute '],
id: [4],
location: ['elit sed'],
modifiedAt: ['mollit aliqua s'],
name: ['cillum eius'],
slug: ['3js6_bh'],
};
const searchOverValorantTeams: SearchOverValorantTeams = {
acronym: 'sunt do',
location: 'Excepteur',
name: 'irure do id',
slug: 'z',
};
const page = 1;
const { data } = await pandascoreClient.valorantTeams.getValorantTeams({
filter: filterOverValorantTeams,
range: rangeOverValorantTeams,
sort: [[]],
search: searchOverValorantTeams,
page: page,
perPage: 50,
});
console.log(data);
})();
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs