opgg-mmr

1.0.1 • Public • Published

opgg-mmr

Build Status Dependency Status

Get op.gg's matchmaking rating (MMR) for a League of Legends player.

Example

var mmr = require('opgg-mmr');
 
mmr('Turtle the Cat', function(error, response) {
  if (error) {
    throw error;
  }
 
  console.log(response);
  // => {
  // =>   log: '',
  // =>   tip: {
  // =>     status: '',
  // =>     leagueAverage: '',
  // =>     notice: ''
  // =>   },
  // =>   mmr: '2,669',
  // =>   class: ''
  // => }
});

Installation

$ npm install opgg-mmr

API

var mmr = require('opgg-mmr');

mmr(username, callback)

Queries op.gg for String username's MMR. Calls callback(error, response).

Readme

Keywords

Package Sidebar

Install

npm i opgg-mmr

Weekly Downloads

9

Version

1.0.1

License

MIT

Last publish

Collaborators

  • kenan