module Eve::API::Services::Corporation

Public Instance Methods

account_balance() click to toggle source

full API key

# File lib/eve/api/services/corporation.rb, line 29
def account_balance
  validate_credentials :full, :character_id
  request(:corp, :account_balance)
end
asset_list() click to toggle source

full API key

# File lib/eve/api/services/corporation.rb, line 35
def asset_list
  validate_credentials :full, :character_id
  request(:corp, :asset_list)
end
container_log() click to toggle source

full API key

# File lib/eve/api/services/corporation.rb, line 41
def container_log
  validate_credentials :full, :character_id
  request(:corp, :container_log)
end
corporation_sheet(corporation_id = nil) click to toggle source

limited or no API key

# File lib/eve/api/services/corporation.rb, line 6
def corporation_sheet(corporation_id = nil)
  request(:corp, :corporation_sheet, {:corporation_id => corporation_id}.optionalize)
end
fac_war_stats() click to toggle source

limited API key

# File lib/eve/api/services/corporation.rb, line 11
def fac_war_stats
  validate_credentials :limited, :character_id
  request(:corp, :fac_war_stats)
end
industry_jobs() click to toggle source

full API key

# File lib/eve/api/services/corporation.rb, line 47
def industry_jobs
  validate_credentials :full, :character_id
  request(:corp, :industry_jobs)
end
kill_log(options = {}) click to toggle source

This API call only returns 1000 entries. Often, you will need to gather all entries, and not just the most recent 1000. If this is true for your application, simply pass the :walk option and this EVE library will automatically “walk” backward in time until the server reports that there are no more entries available.

Walking is disabled by default, so you need to pass the :walk => true option if you wish to enable this.

# File lib/eve/api/services/corporation.rb, line 109
def kill_log(options = {})
  validate_credentials :full, :character_id
  options.reverse_merge!({:walk => false, :walk_id => 'before_kill_id', :walk_association => 'kills' })
  validate_options(options, :walk, :walk_id, :walk_association)
  request(:corp, :kill_log, options)
end
market_orders() click to toggle source

full API key

# File lib/eve/api/services/corporation.rb, line 53
def market_orders
  validate_credentials :full, :character_id
  request(:corp, :market_orders)
end
medals() click to toggle source

limited API key

# File lib/eve/api/services/corporation.rb, line 17
def medals
  validate_credentials :limited, :character_id
  request(:corp, :medals)
end
member_medals() click to toggle source

limited API key

# File lib/eve/api/services/corporation.rb, line 23
def member_medals
  validate_credentials :limited, :character_id
  request(:corp, :member_medals)
end
member_security() click to toggle source

full API key

# File lib/eve/api/services/corporation.rb, line 59
def member_security
  validate_credentials :full, :character_id
  request(:corp, :member_security)
end
member_security_log() click to toggle source

full API key

# File lib/eve/api/services/corporation.rb, line 65
def member_security_log
  validate_credentials :full, :character_id
  request(:corp, :member_security_log)
end
member_tracking() click to toggle source

full API key

# File lib/eve/api/services/corporation.rb, line 71
def member_tracking
  validate_credentials :full, :character_id
  request(:corp, :member_tracking)
end
shareholders() click to toggle source

full API key

# File lib/eve/api/services/corporation.rb, line 77
def shareholders
  validate_credentials :full, :character_id
  request(:corp, :shareholders)
end
standings() click to toggle source

full API key

# File lib/eve/api/services/corporation.rb, line 83
def standings
  validate_credentials :full, :character_id
  request(:corp, :standings)
end
starbase_detail(item_id, version = 2) click to toggle source
# File lib/eve/api/services/corporation.rb, line 94
def starbase_detail(item_id, version = 2)
  validate_credentials :full, :character_id
  request(:corp, :starbase_detail, {:item_id => item_id, :version => version})
end
starbase_list() click to toggle source
# File lib/eve/api/services/corporation.rb, line 99
def starbase_list
  validate_credentials :full, :character_id
  request(:corp, :starbase_list, :version => 2)
end
titles() click to toggle source

full API key

# File lib/eve/api/services/corporation.rb, line 89
def titles
  validate_credentials :full, :character_id
  request(:corp, :titles)
end
wallet_journal(account_key = 1000, options = {}) click to toggle source

This API call only returns 1000 entries. Often, you will need to gather all entries, and not just the most recent 1000. If this is true for your application, simply pass the :walk option and this EVE library will automatically “walk” backward in time until the server reports that there are no more entries available.

Walking is disabled by default, so you need to pass the :walk => true option if you wish to enable this.

# File lib/eve/api/services/corporation.rb, line 121
def wallet_journal(account_key = 1000, options = {})
  validate_credentials :full, :character_id
  if account_key.kind_of?(Hash)
    options.merge! account_key
    account_key = 1000
  end
  options.reverse_merge!({:walk => false, :walk_id => 'before_ref_id', :walk_association => 'entries' })
  validate_options(options, :walk, :walk_id, :walk_association)
  request(:corp, :wallet_journal, options.merge(:account_key => account_key))
end
wallet_transactions(account_key = 1000, options = {}) click to toggle source

This API call only returns 1000 entries. Often, you will need to gather all entries, and not just the most recent 1000. If this is true for your application, simply pass the :walk option and this EVE library will automatically “walk” backward in time until the server reports that there are no more entries available.

Walking is disabled by default, so you need to pass the :walk => true option if you wish to enable this.

# File lib/eve/api/services/corporation.rb, line 137
def wallet_transactions(account_key = 1000, options = {})
  validate_credentials :full, :character_id
  if account_key.kind_of?(Hash)
    options.merge! account_key
    account_key = 1000
  end
  options.reverse_merge!({:walk => false, :walk_id => 'before_trans_id', :walk_association => 'transactions' })
  validate_options(options, :walk, :walk_id, :walk_association)
  request(:corp, :wallet_transactions, options.merge(:account_key => account_key))
end