Skip to content

kyrylo/ruby-kag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KAG Build Status

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.

About

King Arthur's Gold (KAG) API wrapper for Ruby

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages