Henrik-3 / unofficial-valorant-api

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

api.henrikdev.xyz/valorant/v1/mmr/ spaces in username #36

Closed brokencommit closed 2 years ago

brokencommit commented 2 years ago

looks like v1 has issues with %20 in the username and tag

Henrik-3 commented 2 years ago

Could u give me an example name where this happens?

brokencommit commented 2 years ago

https://api.henrikdev.xyz/valorant/v1/mmr/na/amouranth%20simp/1834 Is a random example I see where the api is failing

Henrik-3 commented 2 years ago

He simply haven't a competitive match in his history, which means the current rank/mmr/elo can't be fetched, so it returns a 204 and has nothing to to do with spaces

briantoe commented 2 years ago

I checked out whether or not your library handles spaces about a week ago, the library works just fine in that regard 👍