ESI::StatusApi
All URIs are relative to https://esi.evetech.net
Method | HTTP request | Description |
---|---|---|
get_status | GET /v1/status/ | Retrieve the uptime and player counts |
get_status
GetStatusOk get_status(opts)
Retrieve the uptime and player counts
EVE Server status --- This route is cached for up to 30 seconds
Example
# load the gem
require 'esi-client-bvv'
api_instance = ESI::StatusApi.new
opts = {
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
}
begin
#Retrieve the uptime and player counts
result = api_instance.get_status(opts)
p result
rescue ESI::ApiError => e
puts "Exception when calling StatusApi->get_status: #{e}"
end
Parameters
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] |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json