ESI::CorporationApi
All URIs are relative to https://esi.evetech.net
Method | HTTP request | Description |
---|---|---|
get_corporations_corporation_id | GET /v4/corporations/corporation_id/ | Get corporation information |
get_corporations_corporation_id_alliancehistory | GET /v2/corporations/corporation_id/alliancehistory/ | Get alliance history |
get_corporations_corporation_id_blueprints | GET /v2/corporations/corporation_id/blueprints/ | Get corporation blueprints |
get_corporations_corporation_id_containers_logs | GET /v2/corporations/corporation_id/containers/logs/ | Get all corporation ALSC logs |
get_corporations_corporation_id_divisions | GET /v1/corporations/corporation_id/divisions/ | Get corporation divisions |
get_corporations_corporation_id_facilities | GET /v1/corporations/corporation_id/facilities/ | Get corporation facilities |
get_corporations_corporation_id_icons | GET /v1/corporations/corporation_id/icons/ | Get corporation icon |
get_corporations_corporation_id_medals | GET /v1/corporations/corporation_id/medals/ | Get corporation medals |
get_corporations_corporation_id_medals_issued | GET /v1/corporations/corporation_id/medals/issued/ | Get corporation issued medals |
get_corporations_corporation_id_members | GET /v3/corporations/corporation_id/members/ | Get corporation members |
get_corporations_corporation_id_members_limit | GET /v1/corporations/corporation_id/members/limit/ | Get corporation member limit |
get_corporations_corporation_id_members_titles | GET /v1/corporations/corporation_id/members/titles/ | Get corporation's members' titles |
get_corporations_corporation_id_membertracking | GET /v1/corporations/corporation_id/membertracking/ | Track corporation members |
get_corporations_corporation_id_roles | GET /v1/corporations/corporation_id/roles/ | Get corporation member roles |
get_corporations_corporation_id_roles_history | GET /v1/corporations/corporation_id/roles/history/ | Get corporation member roles history |
get_corporations_corporation_id_shareholders | GET /v1/corporations/corporation_id/shareholders/ | Get corporation shareholders |
get_corporations_corporation_id_standings | GET /v1/corporations/corporation_id/standings/ | Get corporation standings |
get_corporations_corporation_id_starbases | GET /v1/corporations/corporation_id/starbases/ | Get corporation starbases (POSes) |
get_corporations_corporation_id_starbases_starbase_id | GET /v1/corporations/corporation_id/starbases/starbase_id/ | Get starbase (POS) detail |
get_corporations_corporation_id_structures | GET /v3/corporations/corporation_id/structures/ | Get corporation structures |
get_corporations_corporation_id_titles | GET /v1/corporations/corporation_id/titles/ | Get corporation titles |
get_corporations_npccorps | GET /v1/corporations/npccorps/ | Get npc corporations |
get_corporations_corporation_id
GetCorporationsCorporationIdOk get_corporations_corporation_id(corporation_id, , opts)
Get corporation information
Public information about a corporation --- This route is cached for up to 3600 seconds
Example
# load the gem
require 'esi-client-bvv'
api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
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
#Get corporation information
result = api_instance.get_corporations_corporation_id(corporation_id, , opts)
p result
rescue ESI::ApiError => e
puts "Exception when calling CorporationApi->get_corporations_corporation_id: #{e}"
end
Parameters
Name | Type | Description | Notes |
---|---|---|---|
corporation_id | Integer | An EVE corporation ID | |
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
GetCorporationsCorporationIdOk
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
get_corporations_corporation_id_alliancehistory
Array<GetCorporationsCorporationIdAlliancehistory200Ok> get_corporations_corporation_id_alliancehistory(corporation_id, , opts)
Get alliance history
Get a list of all the alliances a corporation has been a member of --- This route is cached for up to 3600 seconds
Example
# load the gem
require 'esi-client-bvv'
api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
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
#Get alliance history
result = api_instance.get_corporations_corporation_id_alliancehistory(corporation_id, , opts)
p result
rescue ESI::ApiError => e
puts "Exception when calling CorporationApi->get_corporations_corporation_id_alliancehistory: #{e}"
end
Parameters
Name | Type | Description | Notes |
---|---|---|---|
corporation_id | Integer | An EVE corporation ID | |
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
Array<GetCorporationsCorporationIdAlliancehistory200Ok>
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
get_corporations_corporation_id_blueprints
Array<GetCorporationsCorporationIdBlueprints200Ok> get_corporations_corporation_id_blueprints(corporation_id, , opts)
Get corporation blueprints
Returns a list of blueprints the corporation owns --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
Example
# load the gem
require 'esi-client-bvv'
# setup authorization
ESI.configure do |config|
# Configure OAuth2 access token for authorization: evesso
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
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
page: 1, # Integer | Which page of results to return
token: "token_example" # String | Access token to use if unable to set a header
}
begin
#Get corporation blueprints
result = api_instance.get_corporations_corporation_id_blueprints(corporation_id, , opts)
p result
rescue ESI::ApiError => e
puts "Exception when calling CorporationApi->get_corporations_corporation_id_blueprints: #{e}"
end
Parameters
Name | Type | Description | Notes |
---|---|---|---|
corporation_id | Integer | An EVE corporation ID | |
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] |
page | Integer | Which page of results to return | [optional] [default to 1] |
token | String | Access token to use if unable to set a header | [optional] |
Return type
Array<GetCorporationsCorporationIdBlueprints200Ok>
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
get_corporations_corporation_id_containers_logs
Array<GetCorporationsCorporationIdContainersLogs200Ok> get_corporations_corporation_id_containers_logs(corporation_id, , opts)
Get all corporation ALSC logs
Returns logs recorded in the past seven days from all audit log secure containers (ALSC) owned by a given corporation --- This route is cached for up to 600 seconds --- Requires one of the following EVE corporation role(s): Director
Example
# load the gem
require 'esi-client-bvv'
# setup authorization
ESI.configure do |config|
# Configure OAuth2 access token for authorization: evesso
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
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
page: 1, # Integer | Which page of results to return
token: "token_example" # String | Access token to use if unable to set a header
}
begin
#Get all corporation ALSC logs
result = api_instance.get_corporations_corporation_id_containers_logs(corporation_id, , opts)
p result
rescue ESI::ApiError => e
puts "Exception when calling CorporationApi->get_corporations_corporation_id_containers_logs: #{e}"
end
Parameters
Name | Type | Description | Notes |
---|---|---|---|
corporation_id | Integer | An EVE corporation ID | |
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] |
page | Integer | Which page of results to return | [optional] [default to 1] |
token | String | Access token to use if unable to set a header | [optional] |
Return type
Array<GetCorporationsCorporationIdContainersLogs200Ok>
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
get_corporations_corporation_id_divisions
GetCorporationsCorporationIdDivisionsOk get_corporations_corporation_id_divisions(corporation_id, , opts)
Get corporation divisions
Return corporation hangar and wallet division names, only show if a division is not using the default name --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
Example
# load the gem
require 'esi-client-bvv'
# setup authorization
ESI.configure do |config|
# Configure OAuth2 access token for authorization: evesso
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
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
token: "token_example" # String | Access token to use if unable to set a header
}
begin
#Get corporation divisions
result = api_instance.get_corporations_corporation_id_divisions(corporation_id, , opts)
p result
rescue ESI::ApiError => e
puts "Exception when calling CorporationApi->get_corporations_corporation_id_divisions: #{e}"
end
Parameters
Name | Type | Description | Notes |
---|---|---|---|
corporation_id | Integer | An EVE corporation ID | |
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] |
token | String | Access token to use if unable to set a header | [optional] |
Return type
GetCorporationsCorporationIdDivisionsOk
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
get_corporations_corporation_id_facilities
Array<GetCorporationsCorporationIdFacilities200Ok> get_corporations_corporation_id_facilities(corporation_id, , opts)
Get corporation facilities
Return a corporation's facilities --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Factory_Manager
Example
# load the gem
require 'esi-client-bvv'
# setup authorization
ESI.configure do |config|
# Configure OAuth2 access token for authorization: evesso
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
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
token: "token_example" # String | Access token to use if unable to set a header
}
begin
#Get corporation facilities
result = api_instance.get_corporations_corporation_id_facilities(corporation_id, , opts)
p result
rescue ESI::ApiError => e
puts "Exception when calling CorporationApi->get_corporations_corporation_id_facilities: #{e}"
end
Parameters
Name | Type | Description | Notes |
---|---|---|---|
corporation_id | Integer | An EVE corporation ID | |
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] |
token | String | Access token to use if unable to set a header | [optional] |
Return type
Array<GetCorporationsCorporationIdFacilities200Ok>
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
get_corporations_corporation_id_icons
GetCorporationsCorporationIdIconsOk get_corporations_corporation_id_icons(corporation_id, , opts)
Get corporation icon
Get the icon urls for a corporation --- This route is cached for up to 3600 seconds
Example
# load the gem
require 'esi-client-bvv'
api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
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
#Get corporation icon
result = api_instance.get_corporations_corporation_id_icons(corporation_id, , opts)
p result
rescue ESI::ApiError => e
puts "Exception when calling CorporationApi->get_corporations_corporation_id_icons: #{e}"
end
Parameters
Name | Type | Description | Notes |
---|---|---|---|
corporation_id | Integer | An EVE corporation ID | |
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
GetCorporationsCorporationIdIconsOk
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
get_corporations_corporation_id_medals
Array<GetCorporationsCorporationIdMedals200Ok> get_corporations_corporation_id_medals(corporation_id, , opts)
Get corporation medals
Returns a corporation's medals --- This route is cached for up to 3600 seconds
Example
# load the gem
require 'esi-client-bvv'
# setup authorization
ESI.configure do |config|
# Configure OAuth2 access token for authorization: evesso
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
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
page: 1, # Integer | Which page of results to return
token: "token_example" # String | Access token to use if unable to set a header
}
begin
#Get corporation medals
result = api_instance.get_corporations_corporation_id_medals(corporation_id, , opts)
p result
rescue ESI::ApiError => e
puts "Exception when calling CorporationApi->get_corporations_corporation_id_medals: #{e}"
end
Parameters
Name | Type | Description | Notes |
---|---|---|---|
corporation_id | Integer | An EVE corporation ID | |
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] |
page | Integer | Which page of results to return | [optional] [default to 1] |
token | String | Access token to use if unable to set a header | [optional] |
Return type
Array<GetCorporationsCorporationIdMedals200Ok>
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
get_corporations_corporation_id_medals_issued
Array<GetCorporationsCorporationIdMedalsIssued200Ok> get_corporations_corporation_id_medals_issued(corporation_id, , opts)
Get corporation issued medals
Returns medals issued by a corporation --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
Example
# load the gem
require 'esi-client-bvv'
# setup authorization
ESI.configure do |config|
# Configure OAuth2 access token for authorization: evesso
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
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
page: 1, # Integer | Which page of results to return
token: "token_example" # String | Access token to use if unable to set a header
}
begin
#Get corporation issued medals
result = api_instance.get_corporations_corporation_id_medals_issued(corporation_id, , opts)
p result
rescue ESI::ApiError => e
puts "Exception when calling CorporationApi->get_corporations_corporation_id_medals_issued: #{e}"
end
Parameters
Name | Type | Description | Notes |
---|---|---|---|
corporation_id | Integer | An EVE corporation ID | |
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] |
page | Integer | Which page of results to return | [optional] [default to 1] |
token | String | Access token to use if unable to set a header | [optional] |
Return type
Array<GetCorporationsCorporationIdMedalsIssued200Ok>
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
get_corporations_corporation_id_members
Array<Integer> get_corporations_corporation_id_members(corporation_id, , opts)
Get corporation members
Return the current member list of a corporation, the token's character need to be a member of the corporation. --- This route is cached for up to 3600 seconds
Example
# load the gem
require 'esi-client-bvv'
# setup authorization
ESI.configure do |config|
# Configure OAuth2 access token for authorization: evesso
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
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
token: "token_example" # String | Access token to use if unable to set a header
}
begin
#Get corporation members
result = api_instance.get_corporations_corporation_id_members(corporation_id, , opts)
p result
rescue ESI::ApiError => e
puts "Exception when calling CorporationApi->get_corporations_corporation_id_members: #{e}"
end
Parameters
Name | Type | Description | Notes |
---|---|---|---|
corporation_id | Integer | An EVE corporation ID | |
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] |
token | String | Access token to use if unable to set a header | [optional] |
Return type
Array<Integer>
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
get_corporations_corporation_id_members_limit
Integer get_corporations_corporation_id_members_limit(corporation_id, , opts)
Get corporation member limit
Return a corporation's member limit, not including CEO himself --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
Example
# load the gem
require 'esi-client-bvv'
# setup authorization
ESI.configure do |config|
# Configure OAuth2 access token for authorization: evesso
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
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
token: "token_example" # String | Access token to use if unable to set a header
}
begin
#Get corporation member limit
result = api_instance.get_corporations_corporation_id_members_limit(corporation_id, , opts)
p result
rescue ESI::ApiError => e
puts "Exception when calling CorporationApi->get_corporations_corporation_id_members_limit: #{e}"
end
Parameters
Name | Type | Description | Notes |
---|---|---|---|
corporation_id | Integer | An EVE corporation ID | |
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] |
token | String | Access token to use if unable to set a header | [optional] |
Return type
Integer
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
get_corporations_corporation_id_members_titles
Array<GetCorporationsCorporationIdMembersTitles200Ok> get_corporations_corporation_id_members_titles(corporation_id, , opts)
Get corporation's members' titles
Returns a corporation's members' titles --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
Example
# load the gem
require 'esi-client-bvv'
# setup authorization
ESI.configure do |config|
# Configure OAuth2 access token for authorization: evesso
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
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
token: "token_example" # String | Access token to use if unable to set a header
}
begin
#Get corporation's members' titles
result = api_instance.get_corporations_corporation_id_members_titles(corporation_id, , opts)
p result
rescue ESI::ApiError => e
puts "Exception when calling CorporationApi->get_corporations_corporation_id_members_titles: #{e}"
end
Parameters
Name | Type | Description | Notes |
---|---|---|---|
corporation_id | Integer | An EVE corporation ID | |
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] |
token | String | Access token to use if unable to set a header | [optional] |
Return type
Array<GetCorporationsCorporationIdMembersTitles200Ok>
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
get_corporations_corporation_id_membertracking
Array<GetCorporationsCorporationIdMembertracking200Ok> get_corporations_corporation_id_membertracking(corporation_id, , opts)
Track corporation members
Returns additional information about a corporation's members which helps tracking their activities --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
Example
# load the gem
require 'esi-client-bvv'
# setup authorization
ESI.configure do |config|
# Configure OAuth2 access token for authorization: evesso
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
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
token: "token_example" # String | Access token to use if unable to set a header
}
begin
#Track corporation members
result = api_instance.get_corporations_corporation_id_membertracking(corporation_id, , opts)
p result
rescue ESI::ApiError => e
puts "Exception when calling CorporationApi->get_corporations_corporation_id_membertracking: #{e}"
end
Parameters
Name | Type | Description | Notes |
---|---|---|---|
corporation_id | Integer | An EVE corporation ID | |
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] |
token | String | Access token to use if unable to set a header | [optional] |
Return type
Array<GetCorporationsCorporationIdMembertracking200Ok>
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
get_corporations_corporation_id_roles
Array<GetCorporationsCorporationIdRoles200Ok> get_corporations_corporation_id_roles(corporation_id, , opts)
Get corporation member roles
Return the roles of all members if the character has the personnel manager role or any grantable role. --- This route is cached for up to 3600 seconds
Example
# load the gem
require 'esi-client-bvv'
# setup authorization
ESI.configure do |config|
# Configure OAuth2 access token for authorization: evesso
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
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
token: "token_example" # String | Access token to use if unable to set a header
}
begin
#Get corporation member roles
result = api_instance.get_corporations_corporation_id_roles(corporation_id, , opts)
p result
rescue ESI::ApiError => e
puts "Exception when calling CorporationApi->get_corporations_corporation_id_roles: #{e}"
end
Parameters
Name | Type | Description | Notes |
---|---|---|---|
corporation_id | Integer | An EVE corporation ID | |
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] |
token | String | Access token to use if unable to set a header | [optional] |
Return type
Array<GetCorporationsCorporationIdRoles200Ok>
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
get_corporations_corporation_id_roles_history
Array<GetCorporationsCorporationIdRolesHistory200Ok> get_corporations_corporation_id_roles_history(corporation_id, , opts)
Get corporation member roles history
Return how roles have changed for a coporation's members, up to a month --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
Example
# load the gem
require 'esi-client-bvv'
# setup authorization
ESI.configure do |config|
# Configure OAuth2 access token for authorization: evesso
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
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
page: 1, # Integer | Which page of results to return
token: "token_example" # String | Access token to use if unable to set a header
}
begin
#Get corporation member roles history
result = api_instance.get_corporations_corporation_id_roles_history(corporation_id, , opts)
p result
rescue ESI::ApiError => e
puts "Exception when calling CorporationApi->get_corporations_corporation_id_roles_history: #{e}"
end
Parameters
Name | Type | Description | Notes |
---|---|---|---|
corporation_id | Integer | An EVE corporation ID | |
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] |
page | Integer | Which page of results to return | [optional] [default to 1] |
token | String | Access token to use if unable to set a header | [optional] |
Return type
Array<GetCorporationsCorporationIdRolesHistory200Ok>
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
get_corporations_corporation_id_shareholders
Array<GetCorporationsCorporationIdShareholders200Ok> get_corporations_corporation_id_shareholders(corporation_id, , opts)
Get corporation shareholders
Return the current shareholders of a corporation. --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
Example
# load the gem
require 'esi-client-bvv'
# setup authorization
ESI.configure do |config|
# Configure OAuth2 access token for authorization: evesso
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
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
page: 1, # Integer | Which page of results to return
token: "token_example" # String | Access token to use if unable to set a header
}
begin
#Get corporation shareholders
result = api_instance.get_corporations_corporation_id_shareholders(corporation_id, , opts)
p result
rescue ESI::ApiError => e
puts "Exception when calling CorporationApi->get_corporations_corporation_id_shareholders: #{e}"
end
Parameters
Name | Type | Description | Notes |
---|---|---|---|
corporation_id | Integer | An EVE corporation ID | |
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] |
page | Integer | Which page of results to return | [optional] [default to 1] |
token | String | Access token to use if unable to set a header | [optional] |
Return type
Array<GetCorporationsCorporationIdShareholders200Ok>
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
get_corporations_corporation_id_standings
Array<GetCorporationsCorporationIdStandings200Ok> get_corporations_corporation_id_standings(corporation_id, , opts)
Get corporation standings
Return corporation standings from agents, NPC corporations, and factions --- This route is cached for up to 3600 seconds
Example
# load the gem
require 'esi-client-bvv'
# setup authorization
ESI.configure do |config|
# Configure OAuth2 access token for authorization: evesso
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
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
page: 1, # Integer | Which page of results to return
token: "token_example" # String | Access token to use if unable to set a header
}
begin
#Get corporation standings
result = api_instance.get_corporations_corporation_id_standings(corporation_id, , opts)
p result
rescue ESI::ApiError => e
puts "Exception when calling CorporationApi->get_corporations_corporation_id_standings: #{e}"
end
Parameters
Name | Type | Description | Notes |
---|---|---|---|
corporation_id | Integer | An EVE corporation ID | |
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] |
page | Integer | Which page of results to return | [optional] [default to 1] |
token | String | Access token to use if unable to set a header | [optional] |
Return type
Array<GetCorporationsCorporationIdStandings200Ok>
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
get_corporations_corporation_id_starbases
Array<GetCorporationsCorporationIdStarbases200Ok> get_corporations_corporation_id_starbases(corporation_id, , opts)
Get corporation starbases (POSes)
Returns list of corporation starbases (POSes) --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
Example
# load the gem
require 'esi-client-bvv'
# setup authorization
ESI.configure do |config|
# Configure OAuth2 access token for authorization: evesso
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
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
page: 1, # Integer | Which page of results to return
token: "token_example" # String | Access token to use if unable to set a header
}
begin
#Get corporation starbases (POSes)
result = api_instance.get_corporations_corporation_id_starbases(corporation_id, , opts)
p result
rescue ESI::ApiError => e
puts "Exception when calling CorporationApi->get_corporations_corporation_id_starbases: #{e}"
end
Parameters
Name | Type | Description | Notes |
---|---|---|---|
corporation_id | Integer | An EVE corporation ID | |
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] |
page | Integer | Which page of results to return | [optional] [default to 1] |
token | String | Access token to use if unable to set a header | [optional] |
Return type
Array<GetCorporationsCorporationIdStarbases200Ok>
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
get_corporations_corporation_id_starbases_starbase_id
GetCorporationsCorporationIdStarbasesStarbaseIdOk get_corporations_corporation_id_starbases_starbase_id(corporation_id, starbase_id, system_id, opts)
Get starbase (POS) detail
Returns various settings and fuels of a starbase (POS) --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
Example
# load the gem
require 'esi-client-bvv'
# setup authorization
ESI.configure do |config|
# Configure OAuth2 access token for authorization: evesso
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
starbase_id = 789 # Integer | An EVE starbase (POS) ID
system_id = 56 # Integer | The solar system this starbase (POS) is located in,
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
token: "token_example" # String | Access token to use if unable to set a header
}
begin
#Get starbase (POS) detail
result = api_instance.get_corporations_corporation_id_starbases_starbase_id(corporation_id, starbase_id, system_id, opts)
p result
rescue ESI::ApiError => e
puts "Exception when calling CorporationApi->get_corporations_corporation_id_starbases_starbase_id: #{e}"
end
Parameters
Name | Type | Description | Notes |
---|---|---|---|
corporation_id | Integer | An EVE corporation ID | |
starbase_id | Integer | An EVE starbase (POS) ID | |
system_id | Integer | The solar system this starbase (POS) is located in, | |
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] |
token | String | Access token to use if unable to set a header | [optional] |
Return type
GetCorporationsCorporationIdStarbasesStarbaseIdOk
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
get_corporations_corporation_id_structures
Array<GetCorporationsCorporationIdStructures200Ok> get_corporations_corporation_id_structures(corporation_id, , opts)
Get corporation structures
Get a list of corporation structures. This route's version includes the changes to structures detailed in this blog: https://www.eveonline.com/article/upwell-2.0-structures-changes-coming-on-february-13th --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Station_Manager
Example
# load the gem
require 'esi-client-bvv'
# setup authorization
ESI.configure do |config|
# Configure OAuth2 access token for authorization: evesso
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = {
accept_language: "en-us", # String | Language to use in the response
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
language: "en-us" # String | Language to use in the response, takes precedence over Accept-Language
page: 1, # Integer | Which page of results to return
token: "token_example" # String | Access token to use if unable to set a header
}
begin
#Get corporation structures
result = api_instance.get_corporations_corporation_id_structures(corporation_id, , opts)
p result
rescue ESI::ApiError => e
puts "Exception when calling CorporationApi->get_corporations_corporation_id_structures: #{e}"
end
Parameters
Name | Type | Description | Notes |
---|---|---|---|
corporation_id | Integer | An EVE corporation ID | |
accept_language | String | Language to use in the response | [optional] [default to en-us] |
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] |
language | String | Language to use in the response, takes precedence over Accept-Language | [optional] [default to en-us] |
page | Integer | Which page of results to return | [optional] [default to 1] |
token | String | Access token to use if unable to set a header | [optional] |
Return type
Array<GetCorporationsCorporationIdStructures200Ok>
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
get_corporations_corporation_id_titles
Array<GetCorporationsCorporationIdTitles200Ok> get_corporations_corporation_id_titles(corporation_id, , opts)
Get corporation titles
Returns a corporation's titles --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
Example
# load the gem
require 'esi-client-bvv'
# setup authorization
ESI.configure do |config|
# Configure OAuth2 access token for authorization: evesso
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
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
token: "token_example" # String | Access token to use if unable to set a header
}
begin
#Get corporation titles
result = api_instance.get_corporations_corporation_id_titles(corporation_id, , opts)
p result
rescue ESI::ApiError => e
puts "Exception when calling CorporationApi->get_corporations_corporation_id_titles: #{e}"
end
Parameters
Name | Type | Description | Notes |
---|---|---|---|
corporation_id | Integer | An EVE corporation ID | |
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] |
token | String | Access token to use if unable to set a header | [optional] |
Return type
Array<GetCorporationsCorporationIdTitles200Ok>
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
get_corporations_npccorps
Array<Integer> get_corporations_npccorps(opts)
Get npc corporations
Get a list of npc corporations --- This route expires daily at 11:05
Example
# load the gem
require 'esi-client-bvv'
api_instance = ESI::CorporationApi.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
#Get npc corporations
result = api_instance.get_corporations_npccorps(opts)
p result
rescue ESI::ApiError => e
puts "Exception when calling CorporationApi->get_corporations_npccorps: #{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
Array<Integer>
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json