public class LocationApi extends Object
| Constructor and Description |
|---|
LocationApi() |
LocationApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
CharacterLocationResponse |
getCharactersCharacterIdLocation(Integer characterId,
String datasource,
String token,
String userAgent,
String xUserAgent)
Get character location Information about the characters current location.
|
CharacterShipResponse |
getCharactersCharacterIdShip(Integer characterId,
String datasource,
String token,
String userAgent,
String xUserAgent)
Get current ship Get the current ship type, name and id --- Alternate
route: `/v1/characters/{character_id}/ship/` Alternate route:
`/legacy/characters/{character_id}/ship/` Alternate route:
`/dev/characters/{character_id}/ship/` --- This route is cached
for up to 5 seconds SSO Scope: esi-location.read_ship_type.v1
|
void |
setApiClient(ApiClient apiClient) |
public LocationApi()
public LocationApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public CharacterLocationResponse getCharactersCharacterIdLocation(Integer characterId, String datasource, String token, String userAgent, String xUserAgent) throws ApiException
characterId - An EVE character ID (required)datasource - The server name you would like data from (optional, default to
tranquility)token - Access token to use, if preferred over a header (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 CharacterShipResponse getCharactersCharacterIdShip(Integer characterId, String datasource, String token, String userAgent, String xUserAgent) throws ApiException
characterId - An EVE character ID (required)datasource - The server name you would like data from (optional, default to
tranquility)token - Access token to use, if preferred over a header (optional)userAgent - Client identifier, takes precedence over headers (optional)xUserAgent - Client identifier, takes precedence over User-Agent (optional)ApiException - if fails to make API callCopyright © 2017. All Rights Reserved.