utils

Module Contents

Functions

load_rune_file() A function which loads the .data/rune_links.json file.
parse_rune_links(html) A function which parses the main Runeforge website into the .data/rune_links.json format.
parse_rune_html(html) A function that returns a dict representation of the Runeforge.gg page for a specific champ
load_rune_file()

A function which loads the .data/rune_links.json file.

Union[dict, None]
  • dict if there are no errors in opening the file.
  • None otherwise.

A function which parses the main Runeforge website into the .data/rune_links.json format.

html : str
The string representation of the html obtained via a GET request
dict
The rune_links.json file
parse_rune_html(html)

A function that returns a dict representation of the Runeforge.gg page for a specific champ

html : str
The string representation of the html obtained via a GET request
dict
Contains champ rune info described in RuneClient and AioRuneClient.