UNPKG

valorant-api-types

Version:

A collection of documented endpoints and return types for the unofficial Valorant API

27 lines 882 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.currentGamePlayerEndpoint = void 0; const zod_1 = require("zod"); const commonTypes_1 = require("../../commonTypes"); exports.currentGamePlayerEndpoint = { name: 'Current Game Player', description: 'Get the current game match ID for the provided player', queryName: 'CoreGame_FetchPlayer', category: 'Current Game Endpoints', type: 'glz', suffix: 'core-game/v1/players/{puuid}', riotRequirements: { token: true, entitlement: true, clientPlatform: true, clientVersion: true }, responses: { '200': zod_1.z.object({ Subject: commonTypes_1.playerUUIDSchema, MatchID: commonTypes_1.pregameIDSchema, Version: zod_1.z.number() }) } }; //# sourceMappingURL=CurrentGamePlayer.js.map