A wrapper for valorant-api, a third-party API for getting data within Valorant. Available on npm

Overview

valorant-wrapper

A wrapper for the third-party valorant-api

How to Use

All endpoints can be accessed off the ValAPI class.

import { ValAPI } from 'valorant-wrapper'; // TS
const { ValAPI } = require('valorant-wrapper'); // JS

This class is static, and thus does not need to be instantiated to access the endpoints. All individual endpoint classes under ValAPI can be imported. To retrieve data from a specific endpoint, specify the class to fetch from in within ValAPI. Within each class exists the available endpoints to call the API. All methods support an optional language and uuid parameter.

Examples

Get a list of all maps

await ValAPI.maps.get();
// Expected Return: Map Array

Get a list of all playable agents

await ValAPI.agents.get({ isPlayableCharacter: true });
// Expected Return: Playable Agent Array

Get a Weapon for a given Weapon UUID

await ValAPI.weapons.get({ uuid: 'WEAPON_UUID' });
// Expected Return: Weapon Object

Get a list of Weapon Skin Chromas

await ValAPI.weapons.getSkinChromas();
// Expected Return: Weapon Skin Chroma Array

Check when a given Event ends

(await ValAPI.get({ uuid: 'EVENT_UUID' })).endTime
// Expected Return: Date

Documentation

Full documentation for the available endpoints and their respective return types can be found on the Valorant API Docs. Type declarations have been included in this package.

You might also like...

Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

Jan 3, 2023

Automatically generated documentation for the Valorant API endpoints the client uses internally.

Valorant API Docs To read documentation and get started, see Docs This is a project designed to automatically document Valorant endpoints based on a J

Dec 25, 2022

An NODE Module For Getting Data From Discord API Called Discord Info

An NODE Module For Getting Data From Discord API Called Discord Info

An NODE Module For Getting Data From Discord API Called Discord Info

Jun 7, 2022

Informações de todos os Agentes e Armas e Skins do Valorant

Informações de todos os Agentes e Armas e Skins do Valorant

Bem vindo a Valorant Info Criei um painel que busca as informações dos Agentes(Informaçoes das habilidades e também um vídeo mostrando como e usada) T

Jul 29, 2022

Valorant DiscordRPC Program.

Valorant DiscordRPC Program.

ValoCord Installation Download the latest release and setup the program. Enjoy it :) Usage Firstly setup the program. Open Valorant and Discord app. Y

Dec 17, 2022

A util for getting data and metadata for all markdown files in a given dir. Useful for building static site generators

extract-md-data A util for getting data and metadata for all markdown files in a given dir. Useful for building static site generators. Usage Given th

Jan 6, 2022

The Third (and hopefully last) Version Of The Beatshape API!

The Third (and hopefully last) Version Of The Beatshape API!

Beatshape API V3 This is The Third (and hopefully last) Version Of The Beatshape API! How To Run: Install Node.js Clone This Repo git clone https://gi

Dec 25, 2021

The Remix Stack for deploying to Vercel with testing, linting, formatting, structure and mock for 3rd party API integration.

The Remix Stack for deploying to Vercel with testing, linting, formatting, structure and mock for 3rd party API integration.

Remix DnB Stack See it live: https://dnb-stack.vercel.app/ Learn more about Remix Stacks. npx create-remix --template robipop22/dnb-stack What's in th

Dec 13, 2022

Identitfy and categorize Node.js dependencies (builtins, third parties..)

Dependa Identify and categorize Node.js dependencies (builtins, alias, third parties..). The module and the code has been inspired by builtins and bui

Nov 10, 2022
Comments
Owner
Aircraft Overviewer
Gday. I make random shit and then private it once I realise how bad it is. Cheers for popping by
Aircraft Overviewer
Userscript developed by Stay & Third Party userscript available on Stay.

Stay offical userscript Get the userscript manager Stay² Developed by Stay Name Description Link 知乎@AutoExpand 自动展开回答,支持知乎桌面版 Get Google@PreventAppJum

shen yin 72 Nov 15, 2022
Calculating Pi number without limitation until 10k digits or more in your browser powered by JS without any third party library!

PI Calculator Web JS (Online) Calculating Pi number without limitation until 10k digits or more in your browser powered by JS without any third party

Max Base 6 Jul 27, 2022
Minimal versions of popular analytics libraries. Reduce the impact of third-party scripts on your application.

minimal-analytics This project aims to provide minimal implementations of popular analytics libraries. It's aimed at users who want to reduce the impa

James Hill 32 Dec 25, 2022
A tiny cross-platform client for SQLite3, with precompiled binaries as the only third-party dependencies.

Tiny SQLite3 A tiny cross-platform client for SQLite3, with precompiled binaries as the only third-party dependencies. A nice feature about this modul

Fabio Spampinato 19 Oct 27, 2022
A third-party messenger application for Path of Exile.

PoE Instant Messenger Download (Windows) The latest release can be downloaded here Tool showcase Theme Setup Notifier Messenger Settings Light Dark Co

Cedric 11 Jul 29, 2022
Quickly check your websites for third party requests.

Third Party Checker Tool for crawling websites and checking for third party requests using Puppeteer. Installation git clone https://github.com/pxlrbt

Dennis Koch 7 Nov 1, 2022
npm i uuid, npm i nodemon, npm i commander

goit-nodejs-hw-01 Получаем и выводим весь список контактов в виде таблицы (console.table) node index.js --action list Получаем контакт по id node inde

Oksana Banshchykova 3 Jul 5, 2022
✏️ A small jQuery extension to turn a static HTML table into an editable one. For quickly populating a small table with JSON data, letting the user modify it with validation, and then getting JSON data back out.

jquery-editable-table A small jQuery extension to turn an HTML table editable for fast data entry and validation Demo ?? https://jsfiddle.net/torrobin

Tor 7 Jul 31, 2022
Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

Svante Jonsson IT-Högskolan 3 May 18, 2022
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022