public class WarsApi extends Object
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
List<Integer> |
getWars(String datasource,
String ifNoneMatch,
Integer maxWarId,
String userAgent,
String xUserAgent)
List wars Return a list of wars --- This route is cached for up to 3600
seconds
|
WarResponse |
getWarsWarId(Integer warId,
String datasource,
String ifNoneMatch,
String userAgent,
String xUserAgent)
Get war information Return details about a war --- This route is cached
for up to 3600 seconds
|
List<WarKillmailsResponse> |
getWarsWarIdKillmails(Integer warId,
String datasource,
String ifNoneMatch,
Integer page,
String userAgent,
String xUserAgent)
List kills for a war Return a list of kills related to a war --- This
route is cached for up to 3600 seconds
|
void |
setApiClient(ApiClient apiClient) |
public WarsApi()
public WarsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public List<Integer> getWars(String datasource, String ifNoneMatch, Integer maxWarId, String userAgent, String xUserAgent) throws ApiException
datasource - The server name you would like data from (optional, default to
tranquility)ifNoneMatch - ETag from a previous request. A 304 will be returned if this
matches the current ETag (optional)maxWarId - Only return wars with ID smaller than this. (optional)userAgent - Client identifier, takes precedence over headers (optional)xUserAgent - Client identifier, takes precedence over User-Agent (optional)ApiException - if fails to make API callpublic WarResponse getWarsWarId(Integer warId, String datasource, String ifNoneMatch, String userAgent, String xUserAgent) throws ApiException
warId - ID for a war (required)datasource - The server name you would like data from (optional, default to
tranquility)ifNoneMatch - ETag from a previous request. A 304 will be returned if this
matches the current ETag (optional)userAgent - Client identifier, takes precedence over headers (optional)xUserAgent - Client identifier, takes precedence over User-Agent (optional)ApiException - if fails to make API callpublic List<WarKillmailsResponse> getWarsWarIdKillmails(Integer warId, String datasource, String ifNoneMatch, Integer page, String userAgent, String xUserAgent) throws ApiException
warId - A valid war ID (required)datasource - The server name you would like data from (optional, default to
tranquility)ifNoneMatch - ETag from a previous request. A 304 will be returned if this
matches the current ETag (optional)page - Which page of results to return (optional, default to 1)userAgent - Client identifier, takes precedence over headers (optional)xUserAgent - Client identifier, takes precedence over User-Agent (optional)ApiException - if fails to make API callCopyright © 2018. All Rights Reserved.