lib/index.js
function getPlayerTopKills(playerId, opts, cb) {
  // https://gameinfo.albiononline.com/api/gameinfo/players/Nubya8P6QWGhI6hDLQHIQQ
  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}`;
  }
  baseRequest(`/players/${playerId}/topkills${query}`, cb);
}
function getPlayerTopKills(playerId, opts, cb) {
  // https://gameinfo.albiononline.com/api/gameinfo/players/Nubya8P6QWGhI6hDLQHIQQ
  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}`;
  }
  baseRequest(`/players/${playerId}/topkills${query}`, cb);
}
function getPlayerTopKills ( playerId , opts , cb ) { // https://gameinfo.albiononline.com/api/gameinfo/players/Nubya8P6QWGhI6hDLQHIQQ 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 } ` ; } baseRequest ( ` ${ playerId } ${ query } ` , cb ) ; }
getPlayerTopKills - description

@param  {string} playerId description
@param  {object} opts Options
@param  {callback} cb       description
getPlayerTopKills - description