Skip to main content

ValorantLeaguesService

A list of all methods in the ValorantLeaguesService service. Click on the method name to view detailed information about that method.

MethodsDescription
get_valorant_leaguesList Valorant leagues

get_valorant_leagues

List Valorant leagues

  • HTTP Method: GET
  • Endpoint: /valorant/leagues

Parameters

NameTypeRequiredDescription
filterFilterOverValorantLeaguesOptions to filter results. String fields are case sensitive
For more information on filtering, see docs.
rangeRangeOverValorantLeaguesOptions to select results within ranges
For more information on ranges, see docs.
sortany[]Options to sort results
For more information on sorting, see docs.
searchSearchOverValorantLeaguesOptions to search results
For more information on searching, see docs.
pagePagePagination in the form of page=2 or page[size]=30&page[number]=2
perPagenumberEquivalent to page[size]

Return Type

League[]

Example Usage Code Snippet

import {
FilterOverValorantLeagues,
Page,
PandascoreClient,
RangeOverValorantLeagues,
SearchOverValorantLeagues,
} from 'pandascore_client';

(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN',
});

const filterOverValorantLeagues: FilterOverValorantLeagues = {
id: [8],
modifiedAt: ['ipsum paria'],
name: ['Ut do'],
slug: ['fx45k:'],
url: ['Ut eni'],
};

const rangeOverValorantLeagues: RangeOverValorantLeagues = {
id: [8],
modifiedAt: ['sed sint nulla'],
name: ['proident '],
slug: ['4varbaoo0'],
url: ['ullamco'],
};

const searchOverValorantLeagues: SearchOverValorantLeagues = {
name: 'eiusmod',
slug: 'm55gkm',
url: 'non c',
};
const page = 1;

const { data } = await pandascoreClient.valorantLeagues.getValorantLeagues({
filter: filterOverValorantLeagues,
range: rangeOverValorantLeagues,
sort: [[]],
search: searchOverValorantLeagues,
page: page,
perPage: 50,
});

console.log(data);
})();

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →