ValorantMapsService
A list of all methods in the ValorantMapsService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_valorant_maps | List maps |
get_valorant_maps_valorantMapId | Get a Valorant map by its ID |
get_valorant_maps
List maps
- HTTP Method:
GET
- Endpoint:
/valorant/maps
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverValorantMaps | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverValorantMaps | ❌ | 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 | SearchOverValorantMaps | ❌ | 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
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
Name | Type | Required | Description |
---|---|---|---|
valorantMapId | number | ✅ | ID 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