All URIs are relative to https://esi.evetech.net/latest
Method | HTTP request | Description |
---|---|---|
getStatus | GET /status/ | Retrieve the uptime and player counts |
\Swagger\Client\Model\GetStatusOk getStatus($datasource, $if_none_match)
Retrieve the uptime and player counts
EVE Server status --- Alternate route: /dev/status/
Alternate route: /legacy/status/
Alternate route: /v1/status/
--- This route is cached for up to 30 seconds
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\StatusApi(
// 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()
);
$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->getStatus($datasource, $if_none_match);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StatusApi->getStatus: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
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\GetStatusOk
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]