Skip to main content

Unofficial Lolalytics scraper

[TBA] a lot of things

Installation

pip install lolalytics-api

Functions

get_tierlist

  • def get_tierlist(n: int = 10, lane: str = '', rank: str = '')
    *Empty rank is set by default to Emerald+
    *Empty lane is set by default to all lanes
{
  "0": {
      "rank": "1",
      "champion": "Ahri",
      "tier": "S+",
      "winrate": "52.73"
    },
  "1": {
      "rank": "2",
      "champion": "Yone",
      "tier": "S",
      "winrate": "50.92"
    }
}

get_counters

  • def get_counters(n: int = 10, champion: str = '', rank: str = '')
    *Empty rank is set by default to Emerald+
{
  "0": {
      "champion": "Akali",
      "winrate": "47.91"
    }
}

display_ranks

  • def display_ranks(display: bool = True)
    Display all available ranks and their shortcuts.
    If display is True (default), prints the ranks to the console.
    Otherwise, returns a dict.

display_lanes

  • def display_lanes(display: bool = True)
    Same as above, but for lanes.

get_champion_data

  • def get_champion_data(champion: str, lane: str = '', rank: str = '')
    Returns detailed info about a certain champion.
{
    "winrate": "51.7%",
    "wr_delta": "0.93%",
    "game_avg_wr": "50.77%",
    "pickrate": "7.46%",
    "tier": "S+",
    "rank": "1 / 99",
    "banrate": "10.27%",
    "games": "67,380"
}

matchup

  • def matchup(champion1: str, champion2: str, lane: str = '', rank: str = '')
    Returns winrate and number of games played in a matchup between two champions.
{
    "winrate": "49.8%",
    "number_of_games": "1,000"
}

patch_notes

  • def patch_notes(rank: str = '')
    It does NOT show detailed patch notes.
    Nevertheless, it shows which champions were buffed/nerfed/adjusted, also with the winrate/pickrate/banrate changes for each of them.
{
    "buffed": {
        "0": {
            "champion": "Fiddlesticks",
            "winrate": "52.48% (+0.80%)",
            "pickrate": "2.88 (+0.55)",
            "banrate": "3.12 (+0.47)"
        }
    },
    "nerfed": {
        "0": {
            "champion": "Ryze",
            "winrate": "49.03% (-0.67%)",
            "pickrate": "3.45 (-0.07)",
            "banrate": "0.68 (-0.10)"
        }
    },
    "adjusted": {
        "0": {
            "champion": "Briar",
            "winrate": "52.66% (+0.61%)",
            "pickrate": "3.70 (+0.63)",
            "banrate": "5.14 (+1.53)"
        }
    }
}

Metadata

Release files for lolalytics-api 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lolalytics-api 0.0.6
File Size Uploaded
lolalytics_api-0.0.6.tar.gz 6.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lolalytics-api 0.0.6
File Interpreter ABI Platform
lolalytics_api-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 13.0 kB

Release files / lolalytics_api-0.0.6.tar.gz

Download URL lolalytics_api-0.0.6.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
00e3f3755c63ceaf1c92a31e95ddbe24e870787980ff4042c590aa71075ed33c
BLAKE2b-256 checksum
How to use checksums
06a1e5f2160541c3bfab837b03b3de0e211a9d80696a1a531719788211b5091b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 16, 2025.

Transparency log

Release files / lolalytics_api-0.0.6-py3-none-any.whl

Download URL lolalytics_api-0.0.6-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db81a2f843376d660b1bde23726a1112b758840ebf17371ec719b3f2aa266d3d
BLAKE2b-256 checksum
How to use checksums
a78cb26cede645f4f6bb693b7b3af00782f8122dd0d829b848e6d9811f411c99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 16, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page