liamcottle / valorant.js

This is an unofficial NodeJS library for interacting with the VALORANT API used in game.
105 stars 19 forks source link

Fix MMR 404 #15

Closed Henrik-3 closed 3 years ago

Henrik-3 commented 3 years ago

Fixes that the MMR Function returns 404

Henrik-3 commented 3 years ago

14 Related

liamcottle commented 3 years ago

Thanks! Just a note for the future, so you don't have to wait for client version updates to be merged in, you can set your own client version on the api object.

const Valorant = require('@liamcottle/valorant.js');
const valorantApi = new Valorant.API(Valorant.Regions.AsiaPacific);
valorantApi.client_version = 'release-03.00-shipping-22-574489';

Similar issue: https://github.com/liamcottle/valorant.js/issues/12#issuecomment-820507660

Henrik-3 commented 3 years ago

Ah yeah right, forgot about that