@valapi/web-client
TypeScript icon, indicating that this package has built-in type declarations

4.0.0 • Public • Published

Valorant API - Web Client

Profile

Web API

Downloads install size Known Vulnerabilities

LICENSE Github Discord


  • @valapi/web-client isn't endorsed by Riot Games and doesn't reflect the views or opinions of Riot Games or anyone officially involved in producing or managing Riot Games properties. Riot Games, and all associated properties are trademarks or registered trademarks of Riot Games, Inc.
  • @valapi/web-client was created under Riot Games' "Legal Jibber Jabber" policy using assets owned by Riot Games. Riot Games does not endorse or sponsor this project.
  • MIT License

Installation

NPM:

npm install @valapi/web-client

PNPM:

pnpm add @valapi/web-client

Guide

Full Guide: valapi.github.io

import { WebClient } from "@valapi/web-client";

API

const userInfo = await webClient.getUserInfo();

console.log(userInfo.data);
const mapId = "match-id-1234567890";
const matchDetails = await webClient.Match.fetchMatchDetails(mapId);

console.log(matchDetails.data);
const wallet = await webClient.Store.getWallet(subject);

console.log(wallet.data);

Package Sidebar

Install

npm i @valapi/web-client

Weekly Downloads

7

Version

4.0.0

License

MIT

Unpacked Size

131 kB

Total Files

52

Last publish

Collaborators

  • ing3kth