ESI::OpportunitiesApi

All URIs are relative to https://esi.evetech.net

Method HTTP request Description
get_characters_character_id_opportunities GET /v1/characters/character_id/opportunities/ Get a character's completed tasks
get_opportunities_groups GET /v1/opportunities/groups/ Get opportunities groups
get_opportunities_groups_group_id GET /v1/opportunities/groups/group_id/ Get opportunities group
get_opportunities_tasks GET /v1/opportunities/tasks/ Get opportunities tasks
get_opportunities_tasks_task_id GET /v1/opportunities/tasks/task_id/ Get opportunities task

get_characters_character_id_opportunities

Array<GetCharactersCharacterIdOpportunities200Ok> get_characters_character_id_opportunities(character_id, opts)

Get a character's completed tasks

Return a list of tasks finished by a character --- 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::OpportunitiesApi.new

character_id = 56 # Integer | An EVE character 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 a character's completed tasks
  result = api_instance.get_characters_character_id_opportunities(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling OpportunitiesApi->get_characters_character_id_opportunities: #{e}"
end

Parameters

Name Type Description Notes
character_id Integer An EVE character 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<GetCharactersCharacterIdOpportunities200Ok>

Authorization

evesso

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

get_opportunities_groups

Array<Integer> get_opportunities_groups(opts)

Get opportunities groups

Return a list of opportunities groups --- This route expires daily at 11:05

Example

# load the gem
require 'esi-client-bvv'

api_instance = ESI::OpportunitiesApi.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 opportunities groups
  result = api_instance.get_opportunities_groups(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling OpportunitiesApi->get_opportunities_groups: #{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

get_opportunities_groups_group_id

GetOpportunitiesGroupsGroupIdOk get_opportunities_groups_group_id(group_id, opts)

Get opportunities group

Return information of an opportunities group --- This route expires daily at 11:05

Example

# load the gem
require 'esi-client-bvv'

api_instance = ESI::OpportunitiesApi.new

group_id = 56 # Integer | ID of an opportunities group

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
}

begin
  #Get opportunities group
  result = api_instance.get_opportunities_groups_group_id(group_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling OpportunitiesApi->get_opportunities_groups_group_id: #{e}"
end

Parameters

Name Type Description Notes
group_id Integer ID of an opportunities group
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]

Return type

GetOpportunitiesGroupsGroupIdOk

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

get_opportunities_tasks

Array<Integer> get_opportunities_tasks(opts)

Get opportunities tasks

Return a list of opportunities tasks --- This route expires daily at 11:05

Example

# load the gem
require 'esi-client-bvv'

api_instance = ESI::OpportunitiesApi.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 opportunities tasks
  result = api_instance.get_opportunities_tasks(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling OpportunitiesApi->get_opportunities_tasks: #{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

get_opportunities_tasks_task_id

GetOpportunitiesTasksTaskIdOk get_opportunities_tasks_task_id(task_id, opts)

Get opportunities task

Return information of an opportunities task --- This route expires daily at 11:05

Example

# load the gem
require 'esi-client-bvv'

api_instance = ESI::OpportunitiesApi.new

task_id = 56 # Integer | ID of an opportunities task

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 opportunities task
  result = api_instance.get_opportunities_tasks_task_id(task_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling OpportunitiesApi->get_opportunities_tasks_task_id: #{e}"
end

Parameters

Name Type Description Notes
task_id Integer ID of an opportunities task
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

GetOpportunitiesTasksTaskIdOk

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json