About
A very basic op.gg scraper for League of Legends player stats.
Usage
const opggScrape = ; opggScrape;//=> { name: 'Hide on bush',//=> level: '215',//=> avatarURL: 'http://opgg-static.akamaized.net/images/profile_icons/profileIcon6.jpg',//=> rank: 'Challenger',//=> KDARatio: '2.89:1',//=> KDA: { kills: '5.412356', deaths: '3.642046', assists: '5.165216' },//=> rankedLP: '787LP' }
Possible regions
na
kr
oce
jp
euw
eune
lan
br
las
ru
tr
There might be some that will work that aren't here.
getStats(username, options)
optionsrefresh = true// Will refresh the users stats before sending updated information. WILL TAKE LONGER.