1.6.5 • Published 3 years ago
valorant.js v1.6.5
valorant.js
An API Wrapper for valorant with oauth support
Notice: I've been working on a different project (a .pak reader written in pure js/ts) so this library may have some issues. I will still update it from time to time though so feel free to create a pr/issue :)
Example
(async () => {
const { RiotApiClient, Region } = require("valorant.js");
try {
const client = new RiotApiClient({
username: "MY_USERNAME", // your username
password: "MY_PASSWORD", // your password
region: Region.MY_REGION, // Available regions: EU, NA, AP
});
await client.login();
console.log(client.user);
const balance = await client.storeApi.getWallet(client.user.Subject);
console.log(balance);
} catch(err) {
console.error(err);
}
})();
Support
- Report Issues/Bugs here
- Join Discord - Ask in #general
- Read Documentation (OUTDATED, soon)
Installation
npm install valorant.js --save
Credits
- Sprayxe
@MarcelWRLD#0999
- Speeedyyyy
@Speeedyyyy#6932
- RumbleMike
@RumbleMike#5406
(API Documentation) - A small credit in your project would be appreciated (e.g mentioning lib name would be enough)
Dependencies
1.6.5
3 years ago
1.6.4
3 years ago
1.4.6
3 years ago
1.6.3
3 years ago
1.4.5
3 years ago
1.6.2
3 years ago
1.4.4
3 years ago
1.6.1
3 years ago
1.4.3
3 years ago
1.6.0
3 years ago
1.4.2
3 years ago
1.4.1
3 years ago
1.4.0
3 years ago
1.5.9
3 years ago
1.5.8
3 years ago
1.5.7
3 years ago
1.5.6
3 years ago
1.5.5
3 years ago
1.5.4
3 years ago
1.5.3
3 years ago
1.5.2
3 years ago
1.5.1
3 years ago
1.5.0
3 years ago
1.3.6
3 years ago
1.3.5
3 years ago
1.3.4
3 years ago
1.3.3
3 years ago
1.3.2
3 years ago
1.3.1
3 years ago
1.3.0
4 years ago
1.2.8
4 years ago
1.2.7
4 years ago
1.2.6
4 years ago
1.2.9
4 years ago
1.2.5
4 years ago
1.2.4
4 years ago
1.2.3
4 years ago
1.2.2
4 years ago
1.2.1
4 years ago
1.2.0
4 years ago
1.1.7
4 years ago
1.1.6
4 years ago
1.1.5
4 years ago
1.1.4
4 years ago
1.1.3
4 years ago
1.1.1
4 years ago
1.1.0
4 years ago
1.0.9
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago