Validated Writes
Local checks inspect your collection, inventory, and party state before sending mutation requests to Riot.
Everything the Riot Client knows, as clean JSON, from Node or any language
Install the library using npm:
npm install @valoranchi/riot-clientConnect to your active local Riot session in TypeScript:
import { RiotClient } from "@valoranchi/riot-client";
const client = new RiotClient({ language: "en-US" });
const player = await client.account.whoami();
console.log(`Signed in as: ${player.gameName}#${player.tagLine}`);
const wallet = await client.account.wallet();
console.log(`VP: ${wallet.valorantPoints}, Radianite: ${wallet.radianite}`);
await client.close();Run commands directly from the terminal via npx:
npx @valoranchi/riot-client whoami
npx @valoranchi/riot-client store --pretty