Sha256: 4304649e3910dbde0bbc214db9e08cae42ab9bb6c39a4a33af434dec2c57c1f9
Contents?: true
Size: 1.58 KB
Versions: 6
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
6 entries across 6 versions & 1 rubygems