Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 1.08 KB

README.md

File metadata and controls

37 lines (31 loc) · 1.08 KB

LoL-Scrapper

Tools for getting data from LoL sites like u.gg

Setup:

Install from github using pip install git+https://github.com/AlsoSylv/LoL-Scrapper.git This is designed to work without the usage of LoL API

Usage:

Examples can be found in ./examples/{site-name}, but should be mostly the same between sites.

Example for u.gg:

from LoL_Scrapper import ugg

#async
async def winrate():
    await UGG.Win_rate("Annie")

#sync
def winrate():
    loop = asyncio.get_event_loop()
    winrate = UGG.Win_rate("Annie")
    loop.run_until_complete(winrate)
    
#Returns the current winrate for Annie in the mid lane

Currently Supports: