Project

kagerator

0.0
No commit activity in last 3 years
No release in over 3 years
Easy, quick consumption and reading of the King Arthur's Gold Public API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

= 1.7.6
 Project Readme

Kagerator

Consumes the KAG API.

Usage

require 'kagerator'

# player info
player = Kagerator.player("splittingred")
puts player[:playerInfo][:status]

# server info
server = Kagerator.server("74.91.114.49",50301)
puts server[:serverStatus][:description]

# server list
servers = Kagerator.servers({:empty => 0,:full => 0})
servers[:serverList].each do |server|
  puts server[:serverName]+'
' end

Info

Written by Shaun McCormick

Uses RestClient, SymbolTable and JSON gems, with RSpec for testing

Released under the GPLv2 or later License: http://www.gnu.org/licenses/gpl-2.0.html