@valapi/valorant-api.com
v5.0.0-beta.3
Published
Valorant API - valorant-api.com
Downloads
530
Maintainers
Readme
Valorant API - valorant-api.com
Third-Party API by Officer
Documentation: valapi.github.io/docs
Guide: valapi.github.io/guide
- @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
import { ValorantApiCom } from "@valapi/valorant-api.com";
const client = new ValorantApiCom({
language: "en-US"
});
API
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);