opgg-ladder
Get op.gg's ladder rankings.
The response returned by op.gg is plagued with HTML, which no one wants to work with. opgg-ladder extracts all the important information for you and simply returns an Array of the top League of Legends players.
Example
var ladder = ;;
Installation
$ npm install opgg-ladder
API
var ladder = ;
ladder([start=0], callback)
Queries op.gg for the top 30 players starting at optional index start
(defaults to 0
). Calls callback(error, players)
when response arrives.
players
is an Array of Objects.