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