use of no.stelar7.api.r4j.pojo.shared.RiotAccount in project L4J8 by stelar7.
the class TestSharedAccount method getByTag.
@Test
@Order(1)
public void getByTag() {
R4J api = new R4J(SecretFile.CREDS);
RiotAccount account = api.getAccountAPI().getAccountByTag(RegionShard.EUROPE, "stelar7", "STL7");
System.out.println(account);
}
use of no.stelar7.api.r4j.pojo.shared.RiotAccount in project L4J8 by stelar7.
the class TestSharedAccount method getByPUUID.
@Test
@Order(2)
public void getByPUUID() {
R4J api = new R4J(SecretFile.CREDS);
RiotAccount accountTag = api.getAccountAPI().getAccountByTag(RegionShard.EUROPE, "stelar7", "STL7");
RiotAccount account = api.getAccountAPI().getAccountByPUUID(RegionShard.EUROPE, accountTag.getPUUID());
System.out.println(account);
}
Aggregations