docs/WarsApi.md in esi_client-0.4.7 vs docs/WarsApi.md in esi_client-0.7.6.1
- old
+ new
@@ -1,8 +1,8 @@
# ESIClient::WarsApi
-All URIs are relative to *https://esi.tech.ccp.is/*
+All URIs are relative to *https://esi.tech.ccp.is*
Method | HTTP request | Description
------------- | ------------- | -------------
[**get_wars**](WarsApi.md#get_wars) | **GET** /v1/wars/ | List wars
[**get_wars_war_id**](WarsApi.md#get_wars_war_id) | **GET** /v1/wars/{war_id}/ | Get war information
@@ -22,14 +22,14 @@
require 'esi_client'
api_instance = ESIClient::WarsApi.new
opts = {
- datasource: "tranquility", # String | The server name you would like data from
+ datasource: 'tranquility', # String | The server name you would like data from
max_war_id: 56, # Integer | Only return wars with ID smaller than this.
- 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
+ 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
#List wars
result = api_instance.get_wars(opts)
@@ -78,13 +78,13 @@
api_instance = ESIClient::WarsApi.new
war_id = 56 # Integer | ID for a war
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
+ 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
#Get war information
result = api_instance.get_wars_war_id(war_id, opts)
@@ -133,14 +133,14 @@
api_instance = ESIClient::WarsApi.new
war_id = 56 # Integer | A valid war ID
opts = {
- datasource: "tranquility", # String | The server name you would like data from
- page: 1, # Integer | Which page to query, starting at 1, 2000 killmails per page.
- 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
+ datasource: 'tranquility', # String | The server name you would like data from
+ page: 1, # Integer | Which page of results to return
+ 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
#List kills for a war
result = api_instance.get_wars_war_id_killmails(war_id, opts)
@@ -154,10 +154,10 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**war_id** | **Integer**| A valid war ID |
**datasource** | **String**| The server name you would like data from | [optional] [default to tranquility]
- **page** | **Integer**| Which page to query, starting at 1, 2000 killmails per page. | [optional] [default to 1]
+ **page** | **Integer**| Which page of results to return | [optional] [default to 1]
**user_agent** | **String**| Client identifier, takes precedence over headers | [optional]
**x_user_agent** | **String**| Client identifier, takes precedence over User-Agent | [optional]
### Return type