Need private packages and team management tools?Check out npm Teams »

kagapi

1.0.0 • Public • Published

node-kagapi

Simple module which makes requests to the King Arthurs Gold game API

Usage:

var kagapi = require('kagapi');

kagapi.getServers()
  .then(function(serverlist)({
    console.dir(servelist);
  })
  .fail(function(err){
    //handle errors here
  })

Available methods:

kagapi.getServerStatus('localhost',50301);
kagapi.getPlayerInfo('sinitreo');
kagapi.getPlayerStatue('sinitreo');

Install

npm i kagapi

DownloadsWeekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • avatar