Sha256: 8164e2125668b0eff106559df36e9358ed2c0c88344bc8d34e1ab99eafb41eb5
Contents?: true
Size: 1.58 KB
Versions: 3
Compression:
Stored size: 1.58 KB
Contents
# ESIClient::StatusApi All URIs are relative to *https://esi.tech.ccp.is* Method | HTTP request | Description ------------- | ------------- | ------------- [**get_status**](StatusApi.md#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 ```ruby # load the gem require 'esi_client' api_instance = ESIClient::StatusApi.new opts = { datasource: 'tranquility', # String | The server name you would like data from user_agent: 'user_agent_example', # String | Client identifier, takes precedence over headers x_user_agent: 'x_user_agent_example' # String | Client identifier, takes precedence over User-Agent } begin #Retrieve the uptime and player counts result = api_instance.get_status(opts) p result rescue ESIClient::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] **user_agent** | **String**| Client identifier, takes precedence over headers | [optional] **x_user_agent** | **String**| Client identifier, takes precedence over User-Agent | [optional] ### Return type [**GetStatusOk**](GetStatusOk.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
esi_client-0.7.6.2 | docs/StatusApi.md |
esi_client-0.7.6.1 | docs/StatusApi.md |
esi_client-1.4.0 | docs/StatusApi.md |