A NodeJS wrapper for the VALORANT API.
![NPM Version](https://camo.githubusercontent.com/aba764240aaf6002a9a42b5ec549adbea924652f89e6a730a3db618ca40272d4/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f777261707065722d76616c6f72616e742d6170692e737667)
npm:
npm i wrapper-valorant-api
yarn:
yarn add wrapper-valorant-api
VAL-CONTENT-V1
VAL-MATCH-V1
VAL-RANKED-V1
ACCOUNT-V1
Region |
Endpoint |
APAC |
ap.api.riotgames.com |
BR |
br.api.riotgames.com |
EU |
eu.api.riotgames.com |
KR |
kr.api.riotgames.com |
LATAM |
latam.api.riotgames.com |
NA |
na.api.riotgames.com |
Region |
Endpoint |
ASIA |
asia.api.riotgames.com |
AMERICAS |
americas.api.riotgames.com |
EUROPE |
europe.api.riotgames.com |
const { ValorantApi } = require("wrapper-valorant-api");
const APIKey = ""; // Your API Key
const ValApi = new ValorantApi(APIKey); // An API instance for Valorant query
// Example usage of the VAL-CONTENT-V1 API
ValApi.getContents({ locale: "en-US" }).then((data) => console.log(data));
// Production API Key
ValApi.match.getByPuuid({ puuid: "" }); // Your puuid
ValApi.match
.getByQueue({ queue: "competetive" })
.then((data) => console.log(data));
import { ValorantApi } from "wrapper-valorant-api";
const APIKey = ""; // Your API Key
const ValApi = new ValorantApi(APIKey); // An API instance for Valorant query
// Example usage of the VAL-CONTENT-V1 API
ValApi.getContents({ locale: "en-US" }).then((data) => console.log(data));
// Production API Key
ValApi.match.getByPuuid({ puuid: "" }); // Your puuid
ValApi.match
.getByQueue({ queue: "competetive" })
.then((data) => console.log(data));