Skip to main content

ValorantMapsService

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

MethodsDescription
get_valorant_mapsList maps
get_valorant_maps_valorantMapIdGet a Valorant map by its ID

get_valorant_maps

List maps

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

Parameters

NameTypeRequiredDescription
filterFilterOverValorantMapsOptions to filter results. String fields are case sensitive
For more information on filtering, see docs.
rangeRangeOverValorantMapsOptions to select results within ranges
For more information on ranges, see docs.
sortany[]Options to sort results
For more information on sorting, see docs.
searchSearchOverValorantMapsOptions 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

ValorantMap[]

Example Usage Code Snippet

import {
FilterOverValorantMaps,
Page,
PandascoreClient,
RangeOverValorantMaps,
SearchOverValorantMaps,
} from 'pandascore_client';

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

const filterOverValorantMaps: FilterOverValorantMaps = {
id: [7],
name: ['ex eu in amet m'],
slug: ['gp'],
videogameVersion: [],
};

const rangeOverValorantMaps: RangeOverValorantMaps = {
id: [9],
name: ['in eiusmod'],
slug: ['poql9y'],
};

const searchOverValorantMaps: SearchOverValorantMaps = {
name: 'ullamco conse',
slug: 'duug0',
};
const page = 1;

const { data } = await pandascoreClient.valorantMaps.getValorantMaps({
filter: filterOverValorantMaps,
range: rangeOverValorantMaps,
sort: [[]],
search: searchOverValorantMaps,
page: page,
perPage: 50,
});

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

get_valorant_maps_valorantMapId

Get a Valorant map by its ID

  • HTTP Method: GET
  • Endpoint: /valorant/maps/{valorant_map_id}

Parameters

NameTypeRequiredDescription
valorantMapIdnumberID of the Valorant map

Return Type

ValorantMap

Example Usage Code Snippet

import { PandascoreClient } from 'pandascore_client';

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

const { data } = await pandascoreClient.valorantMaps.getValorantMapsValorantMapId(5);

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

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →