- @valapi/valorant-api.com 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/valorant-api.com 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/valorant-api.com
PNPM:
pnpm add @valapi/valorant-api.com
Guide
Full Guide: valapi.github.io
import { ValorantApiCom } from "@valapi/valorant-api.com";
Client
const valorantApiCom = new ValorantApiCom({
language: "en-US"
});
API
const versions = await valorantApiCom.Versions.get();
console.log(versions.data);
const mapUuid = "7eaecc1b-4337-bbf6-6ab9-04b8f06b3319"; /* Ascent */
const map = await valorantApiCom.Maps.getByUuid(mapUuid);
console.log(events.data);