Constructs a new instance of the AllianceApi
class.
The API client instance for sending requests.
Retrieves detailed information about a specific alliance.
The alliance's identifier.
Whether to include the list of alliance members in the response. Defaults to true
.
A promise resolving to the details of the specified alliance, including elapsed time.
Retrieves the alliance ranking, paginated by the specified page and number of entries.
The page of the ranking to retrieve. Defaults to 0
.
The number of entries to retrieve per page. Defaults to 10
.
Must be between 10
and 50
. If out of range, a warning is logged.
A promise resolving to the alliance ranking, including elapsed time.
Searches for alliances by name.
The name of the alliance to search for.
Whether to return only exact matches for the alliance name. Defaults to false
.
A promise resolving to the search results, including elapsed time.
If exactResult
is true
, only exact matches are returned.
If no matches are found, the result code and message indicate "not found."
Represents the API client for managing and retrieving information about alliances.