Skip to content

Latest commit

 

History

History
110 lines (64 loc) · 5.03 KB

LocationApi.md

File metadata and controls

110 lines (64 loc) · 5.03 KB

\LocationApi

All URIs are relative to https://esi.evetech.net/latest

Method HTTP request Description
get_characters_character_id_location GET /characters/{character_id}/location/ Get character location
get_characters_character_id_online GET /characters/{character_id}/online/ Get character online
get_characters_character_id_ship GET /characters/{character_id}/ship/ Get current ship

get_characters_character_id_location

crate::models::GetCharactersCharacterIdLocationOk get_characters_character_id_location(character_id, datasource, if_none_match, token) Get character location

Information about the characters current location. Returns the current solar system id, and also the current station or structure ID if applicable --- Alternate route: /dev/characters/{character_id}/location/ Alternate route: /legacy/characters/{character_id}/location/ Alternate route: /v1/characters/{character_id}/location/ Alternate route: /v2/characters/{character_id}/location/ --- This route is cached for up to 5 seconds

Parameters

Name Type Description Required Notes
character_id i32 An EVE character ID [required]
datasource Option<String> The server name you would like data from [default to tranquility]
if_none_match Option<String> ETag from a previous request. A 304 will be returned if this matches the current ETag
token Option<String> Access token to use if unable to set a header

Return type

crate::models::GetCharactersCharacterIdLocationOk

Authorization

evesso

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_characters_character_id_online

crate::models::GetCharactersCharacterIdOnlineOk get_characters_character_id_online(character_id, datasource, if_none_match, token) Get character online

Checks if the character is currently online --- Alternate route: /dev/characters/{character_id}/online/ Alternate route: /v2/characters/{character_id}/online/ Alternate route: /v3/characters/{character_id}/online/ --- This route is cached for up to 60 seconds

Parameters

Name Type Description Required Notes
character_id i32 An EVE character ID [required]
datasource Option<String> The server name you would like data from [default to tranquility]
if_none_match Option<String> ETag from a previous request. A 304 will be returned if this matches the current ETag
token Option<String> Access token to use if unable to set a header

Return type

crate::models::GetCharactersCharacterIdOnlineOk

Authorization

evesso

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_characters_character_id_ship

crate::models::GetCharactersCharacterIdShipOk get_characters_character_id_ship(character_id, datasource, if_none_match, token) Get current ship

Get the current ship type, name and id --- Alternate route: /dev/characters/{character_id}/ship/ Alternate route: /legacy/characters/{character_id}/ship/ Alternate route: /v1/characters/{character_id}/ship/ Alternate route: /v2/characters/{character_id}/ship/ --- This route is cached for up to 5 seconds

Parameters

Name Type Description Required Notes
character_id i32 An EVE character ID [required]
datasource Option<String> The server name you would like data from [default to tranquility]
if_none_match Option<String> ETag from a previous request. A 304 will be returned if this matches the current ETag
token Option<String> Access token to use if unable to set a header

Return type

crate::models::GetCharactersCharacterIdShipOk

Authorization

evesso

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]