That header changes every update and it is needed to get all the items (cause the versions includes new items kek). So, Officer has a Valorant API that gives u the version; maybe its a good option to put it instead of updating the library every time that a update gets launched.
That header changes every update and it is needed to get all the items (cause the versions includes new items kek). So, Officer has a Valorant API that gives u the version; maybe its a good option to put it instead of updating the library every time that a update gets launched.
This is the url: https://dash.valorant-api.com
And this is the request (GET, of course): https://valorant-api.com/v1/version
The problem, it needs to be formatted like i have in the line 454 of the file src/main/valorant/index.js