Skip to main content

ValorantWeaponsService

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

MethodsDescription
get_valorant_weaponsList weapons
get_valorant_weapons_valorantWeaponIdGet a Valorant weapon by its ID

get_valorant_weapons

List weapons

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

Parameters

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

ValorantWeapon[]

Example Usage Code Snippet

import {
FilterOverValorantWeapons,
Page,
PandascoreClient,
RangeOverValorantWeapons,
SearchOverValorantWeapons,
} from 'pandascore_client';

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

const filterOverValorantWeapons: FilterOverValorantWeapons = {
creds: [8.36],
id: [9],
name: ['consectetu'],
videogameVersion: [],
};

const rangeOverValorantWeapons: RangeOverValorantWeapons = {
creds: [5.67],
id: [4],
name: ['amet pariatur s'],
};

const searchOverValorantWeapons: SearchOverValorantWeapons = {
name: 'Duis do',
};
const page = 1;

const { data } = await pandascoreClient.valorantWeapons.getValorantWeapons({
filter: filterOverValorantWeapons,
range: rangeOverValorantWeapons,
sort: [[]],
search: searchOverValorantWeapons,
page: page,
perPage: 50,
});

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

get_valorant_weapons_valorantWeaponId

Get a Valorant weapon by its ID

  • HTTP Method: GET
  • Endpoint: /valorant/weapons/{valorant_weapon_id}

Parameters

NameTypeRequiredDescription
valorantWeaponIdnumberID of the Valorant weapon

Return Type

ValorantWeapon

Example Usage Code Snippet

import { PandascoreClient } from 'pandascore_client';

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

const { data } = await pandascoreClient.valorantWeapons.getValorantWeaponsValorantWeaponId(10);

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

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →