lib/index.js
function getGuildTopKills(guildId, opts, cb) {
  opts = opts || {};
  query = "?";
  if(opts.limit) {
    query += `limit=${opts.limit}`;
  }
  if(opts.offset) {
    query += `offset=${opts.offset}`;
  }
  if(opts.range) { // week, lastWeek, month, lastMonth
    query += `range=${opts.range}`;
  }
  // https://gameinfo.albiononline.com/api/gameinfo/guilds/vFUVDtWgQwK-4NNwf0xo_w/data
  baseRequest(`/guilds/${guildId}/top${query}`, cb);
}
function getGuildTopKills(guildId, opts, cb) {
  opts = opts || {};
  query = "?";
  if(opts.limit) {
    query += `limit=${opts.limit}`;
  }
  if(opts.offset) {
    query += `offset=${opts.offset}`;
  }
  if(opts.range) { // week, lastWeek, month, lastMonth
    query += `range=${opts.range}`;
  }
  // https://gameinfo.albiononline.com/api/gameinfo/guilds/vFUVDtWgQwK-4NNwf0xo_w/data
  baseRequest(`/guilds/${guildId}/top${query}`, cb);
}
function getGuildTopKills ( guildId , opts , cb ) { opts = opts || { } ; query = "?" ; if ( opts . limit ) { query += ` ${ opts . limit } ` ; } if ( opts . offset ) { query += ` ${ opts . offset } ` ; } if ( opts . range ) { // week, lastWeek, month, lastMonth query += ` ${ opts . range } ` ; } // https://gameinfo.albiononline.com/api/gameinfo/guilds/vFUVDtWgQwK-4NNwf0xo_w/data baseRequest ( ` ${ guildId } ${ query } ` , cb ) ; }
getGuildTopKills - description

@param  {string} guildId description
@param  {object} opts    description
@param  {callback} cb      description
getGuildTopKills - description