All URIs are relative to https://esi.evetech.net/latest
Method | HTTP request | Description |
---|---|---|
getCharactersCharacterIdKillmailsRecent | GET /characters/{character_id}/killmails/recent/ | Get a character's recent kills and losses |
getCorporationsCorporationIdKillmailsRecent | GET /corporations/{corporation_id}/killmails/recent/ | Get a corporation's recent kills and losses |
getKillmailsKillmailIdKillmailHash | GET /killmails/{killmail_id}/{killmail_hash}/ | Get a single killmail |
\Swagger\Client\Model\GetCharactersCharacterIdKillmailsRecent200Ok[] getCharactersCharacterIdKillmailsRecent($character_id, $datasource, $if_none_match, $page, $token)
Get a character's recent kills and losses
Return a list of a character's kills and losses going back 90 days --- Alternate route: /dev/characters/{character_id}/killmails/recent/
Alternate route: /legacy/characters/{character_id}/killmails/recent/
Alternate route: /v1/characters/{character_id}/killmails/recent/
--- This route is cached for up to 300 seconds
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Swagger\Client\Api\KillmailsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$character_id = 56; // int | An EVE character ID
$datasource = "tranquility"; // string | The server name you would like data from
$if_none_match = "if_none_match_example"; // string | ETag from a previous request. A 304 will be returned if this matches the current ETag
$page = 1; // int | Which page of results to return
$token = "token_example"; // string | Access token to use if unable to set a header
try {
$result = $apiInstance->getCharactersCharacterIdKillmailsRecent($character_id, $datasource, $if_none_match, $page, $token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling KillmailsApi->getCharactersCharacterIdKillmailsRecent: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
character_id | int | An EVE character ID | |
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
if_none_match | string | ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional] |
page | int | Which page of results to return | [optional] [default to 1] |
token | string | Access token to use if unable to set a header | [optional] |
\Swagger\Client\Model\GetCharactersCharacterIdKillmailsRecent200Ok[]
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\GetCorporationsCorporationIdKillmailsRecent200Ok[] getCorporationsCorporationIdKillmailsRecent($corporation_id, $datasource, $if_none_match, $page, $token)
Get a corporation's recent kills and losses
Get a list of a corporation's kills and losses going back 90 days --- Alternate route: /dev/corporations/{corporation_id}/killmails/recent/
Alternate route: /legacy/corporations/{corporation_id}/killmails/recent/
Alternate route: /v1/corporations/{corporation_id}/killmails/recent/
--- This route is cached for up to 300 seconds --- Requires one of the following EVE corporation role(s): Director
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Swagger\Client\Api\KillmailsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$corporation_id = 56; // int | An EVE corporation ID
$datasource = "tranquility"; // string | The server name you would like data from
$if_none_match = "if_none_match_example"; // string | ETag from a previous request. A 304 will be returned if this matches the current ETag
$page = 1; // int | Which page of results to return
$token = "token_example"; // string | Access token to use if unable to set a header
try {
$result = $apiInstance->getCorporationsCorporationIdKillmailsRecent($corporation_id, $datasource, $if_none_match, $page, $token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling KillmailsApi->getCorporationsCorporationIdKillmailsRecent: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
corporation_id | int | An EVE corporation ID | |
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
if_none_match | string | ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional] |
page | int | Which page of results to return | [optional] [default to 1] |
token | string | Access token to use if unable to set a header | [optional] |
\Swagger\Client\Model\GetCorporationsCorporationIdKillmailsRecent200Ok[]
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\GetKillmailsKillmailIdKillmailHashOk getKillmailsKillmailIdKillmailHash($killmail_hash, $killmail_id, $datasource, $if_none_match)
Get a single killmail
Return a single killmail from its ID and hash --- Alternate route: /dev/killmails/{killmail_id}/{killmail_hash}/
Alternate route: /legacy/killmails/{killmail_id}/{killmail_hash}/
Alternate route: /v1/killmails/{killmail_id}/{killmail_hash}/
--- This route is cached for up to 30758400 seconds
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\KillmailsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$killmail_hash = "killmail_hash_example"; // string | The killmail hash for verification
$killmail_id = 56; // int | The killmail ID to be queried
$datasource = "tranquility"; // string | The server name you would like data from
$if_none_match = "if_none_match_example"; // string | ETag from a previous request. A 304 will be returned if this matches the current ETag
try {
$result = $apiInstance->getKillmailsKillmailIdKillmailHash($killmail_hash, $killmail_id, $datasource, $if_none_match);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling KillmailsApi->getKillmailsKillmailIdKillmailHash: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
killmail_hash | string | The killmail hash for verification | |
killmail_id | int | The killmail ID to be queried | |
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
if_none_match | string | ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional] |
\Swagger\Client\Model\GetKillmailsKillmailIdKillmailHashOk
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]