@Deprecated @ApiStatus.ScheduledForRemoval public class CocPlayers extends CocWebApiInterface
A Web API Implementation of the Player interface. Contains methods for player related inquiries.
VERSION_1, VERSION_2, VERSION_3
Constructor and Description |
---|
CocPlayers(CocWebApiClient client)
Deprecated.
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
CompletableFuture<CocPlayerDetailedInfo> |
getPlayerInfo(String playerTag)
Deprecated.
Retrieve a detailed information about a Player
|
handleError
asCollectionOf, asListOf, builder, configureBuilder, fromJson, fromJson, sendRequest
public CocPlayers(CocWebApiClient client)
Default Constructor
client
- A CocWebApiClient
instancepublic CompletableFuture<CocPlayerDetailedInfo> getPlayerInfo(String playerTag)
Retrieve a detailed information about a Player
playerTag
- A unique player String
identifier followed by a hashtagCompletableFuture
containing a future result of CocPlayerDetailedInfo
Copyright © 2016–2024. All rights reserved.