UNPKG

@valapi/valorant-api.com

Version:

Valorant API - valorant-api.com

18 lines (17 loc) 554 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Agents = void 0; const ValorantApiComService_1 = require("../client/ValorantApiComService"); class Agents extends ValorantApiComService_1.ValorantApiComService { get(isPlayableCharacter = true) { return this.request.get(`/v1/agents`, { params: { isPlayableCharacter: isPlayableCharacter } }); } getByUuid(uuid) { return this.request.get(`/v1/agents/${uuid}`); } } exports.Agents = Agents;