Description
This is King Arthur's Gold API wrapper implemented in Ruby language.
Features
- Ability to retrieve information about player (nick, role and so on)
- Ability to retrieve player's avatar on KAG forums
Installation
gem install ruby-kag
Synopsis
require 'kag'
player = KAG::Player.new('prostosuper')
# Get small avatar of player prostosuper
player.avatar.small
# Force request to API to refresh player's small avatar
player.avatar.small(true)
# Get all information about player
player.info
License
The project uses Zlib License. See LICENSE file for more information.