Rone Arena API
v1.9.5 GitHub

Show recommended builds by lane

Turn the item numbers of a build into names and pictures for a build card.

6 min read · Heroes and builds · Updated

1 Ask for the builds

lane is required: exp, mid, roam, jungle or gold.

curl "https://arena.fastapicloud.dev/api/academy/heroes/miya/builds?lane=gold&rank=mythic"

2 Understand the answer

data.records[0].data.build is a list of builds. Each has equipid (the core item numbers), build_pick_rate and build_win_rate, both as fractions.

3 Add item names and pictures

The item list gives equipname and equipicon for every equipid.

import httpx

base = "https://arena.fastapicloud.dev/api"
rows = httpx.get(f"{base}/academy/equipment?size=500").json()["data"]["records"]
items = {row["data"]["equipid"]: row["data"] for row in rows}

answer = httpx.get(f"{base}/academy/heroes/miya/builds?lane=gold&rank=mythic").json()
for build in answer["data"]["records"][0]["data"]["build"]:
    names = [items[number]["equipname"] for number in build["equipid"] if number in items]
    print(f"{build['build_win_rate']:.1%} win:", ", ".join(names))

equipicon is already a web address you can use as an image source.

All guides Next: Put a league table on your site

Up and down to move, Enter to open, Esc to close