module Eve::API::Services::Corporation
Public Instance Methods
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
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
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
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
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
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
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
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
limited API
key
# File lib/eve/api/services/corporation.rb, line 17 def medals validate_credentials :limited, :character_id request(:corp, :medals) end
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
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
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
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
full API
key
# File lib/eve/api/services/corporation.rb, line 83 def standings validate_credentials :full, :character_id request(:corp, :standings) end
# 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
# File lib/eve/api/services/corporation.rb, line 99 def starbase_list validate_credentials :full, :character_id request(:corp, :starbase_list, :version => 2) end
full API
key
# File lib/eve/api/services/corporation.rb, line 89 def titles validate_credentials :full, :character_id request(:corp, :titles) end
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
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