UNPKG

@valapi/valorant-api.com

Version:

Valorant API - valorant-api.com

32 lines (31 loc) 985 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Weapons = void 0; const ValorantApiComService_1 = require("../client/ValorantApiComService"); class Weapons extends ValorantApiComService_1.ValorantApiComService { get() { return this.request.get(`/v1/weapons`); } getSkins() { return this.request.get(`/v1/weapons/skins`); } getSkinChromas() { return this.request.get(`/v1/weapons/skinchromas`); } getSkinLevels() { return this.request.get(`/v1/weapons/skinlevels`); } getByUuid(uuid) { return this.request.get(`/v1/weapons/${uuid}`); } getSkinByUuid(uuid) { return this.request.get(`/v1/weapons/skins/${uuid}`); } getSkinChromaByUuid(uuid) { return this.request.get(`/v1/weapons/skinchromas/${uuid}`); } getSkinLevelByUuid(uuid) { return this.request.get(`/v1/weapons/skinlevels/${uuid}`); } } exports.Weapons = Weapons;