A simple Unofficial VALORANT API wrapper written in Kotlin
Yes, you can use this wrapper! Just follow the installation instructions.
Add the following dependency to your build.gradle.kts file:
repositories {
maven("https://jitpack.io")
}
dependencies {
implementation("com.github.WinG4merBR:ValorantWrapper:VERSION")
}- Kotlin: 2.0.0 or latest
- Java 21 or latest
- Ktor 3.0.3 or latest
- Account Information: Retrieve user data by
name#tagorUUID. - MMR Data: Get the MMR of a player based on their
name#tagorUUID. - Match Information: Fetch detailed match information by match ID,
name#tag, orUUID.
suspend fun getUserByTag(userTag: String): ValorantUserExample:
val userTag = "username#1234"
val userInfo = wrapper.getUserByTag(userTag)
println(userInfo)suspend fun getMmrByTag(userTag: String, region: String): MmrInfoExample:
val region = "na"
val userTag = "username#1234"
val mmrInfo = wrapper.getMmrByTag(userTag, region)
println(mmrInfo)suspend fun getMatchById(matchId: String, region: String): MatchInfoExample:
val region = "na"
val matchId = "someMatchId"
val matchInfo = wrapper.getMatchById(matchId, region)
println(matchInfo)Never :3