Search in sources :

Example 1 with VALRankedAPI

use of no.stelar7.api.r4j.impl.val.VALRankedAPI in project L4J8 by stelar7.

the class TestVALRanked method getLeaderboard.

@Test
public void getLeaderboard() {
    R4J api = new R4J(SecretFile.CREDS);
    VALRankedAPI ranked = api.getVALAPI().getRankedAPI();
    Leaderboard leaderboard = ranked.getLeaderboard(ValorantShard.EU, Season.EPISODE_2_ACT_1.getActId(), 0, 200);
    System.out.println(leaderboard);
}
Also used : Leaderboard(no.stelar7.api.r4j.pojo.val.ranked.Leaderboard) VALRankedAPI(no.stelar7.api.r4j.impl.val.VALRankedAPI) R4J(no.stelar7.api.r4j.impl.R4J) Test(org.junit.jupiter.api.Test)

Aggregations

R4J (no.stelar7.api.r4j.impl.R4J)1 VALRankedAPI (no.stelar7.api.r4j.impl.val.VALRankedAPI)1 Leaderboard (no.stelar7.api.r4j.pojo.val.ranked.Leaderboard)1 Test (org.junit.jupiter.api.Test)1