Henrik-3 / unofficial-valorant-api

Unofficial VALORANT API using the VALORANT Ingame API
442 stars 19 forks source link

getAccount endpoint returns an outdated account level/player card #32

Closed 0xk4r33m closed 2 years ago

0xk4r33m commented 2 years ago

First of all, I would like to thank you for providing us with this great library and API. I have been experimenting and making a VALORANT overlay widget for OBS that I can use personally on my streams. However, I encountered one issue where the account level, player card information won't update. I believe the data is cached and won't get updated even though I tried ?force=true. My current account level is 31, but it keeps showing 30 from the first time I used your API. Fixing this would be greatly appreciated. image

Henrik-3 commented 2 years ago

When you use ?force=true it will get the data from the last match, so the query will just work in combination with a new played game, there is sadly no other way to get the data without credentials

0xk4r33m commented 2 years ago

Is it possible for you to add the ability to use credentials with your library/api?

Henrik-3 commented 2 years ago

Not yet, but i could add it