README.md in bnet-0.0.2 vs README.md in bnet-0.0.3
- old
+ new
@@ -12,11 +12,11 @@
# Gemfile for your Rails / Sinatra project.
gem 'bnet'
## Configuration
- # initializer file (cnonfig/initializer/bnet_initializer.rb)
+ # initializer file (config/initializer/bnet_initializer.rb)
Bnet.configuration.api_key = 'your_api_key'
## Diablo
### Career
@@ -58,12 +58,23 @@
# Example
#
#
# Returns a Hero object with the following attributes
#
- # :paragon_level, :seasonal, :name, :hero_id,
- # :level, :hardcore, :gender, :dead, :hero_class, :last_update,
- # :active_skills, :passive_skills, :region, :battle_tag, :career
+ # :life, :damage, :attack_speed, :armor, :strength, :dexterity, :vitality,
+ # :intelligence, :physical_resist, :fire_resist, :cold_resist,
+ # :lightning_resist, :poison_resist, :arcane_resist, :crit_damage,
+ # :block_chance, :block_amount_min, :block_amount_max, :damage_increase,
+ # :crit_chance, :damage_reduction, :thorns, :life_steal, :life_per_kill,
+ # :gold_find, :magic_find, :life_on_Hit, :primary_resource,
+ # :secondary_resource
+ #
+ # and the following misc attributes
+ #
+ # :paragon_level, :seasonal, :name, :hero_id,
+ # :level, :hardcore, :gender, :dead, :hero_class, :last_update,
+ # :active_skills, :passive_skills, :region, :battle_tag, :career,
+ # :items
Bnet::Diablo3::Hero.find(battle_tag: 'PlayerOne-1309', region: 'us', hero_id: 1304986)
## Starcraft2