Routing¶
Riot uses three distinct route families:
PlatformRoutefor game shards such asEUW1andNA1.RegionalRoutefor clusters such asEUROPEandAMERICAS.ValorantRoutefor VALORANT clusters such asEUandNA.
from riotskillissue import PlatformRoute, RiotClient
riot = RiotClient(default_route=PlatformRoute.EUW1)
The client derives another route family only when the mapping is unambiguous.
For example, EUW1 maps to EUROPE and EU. Calls that cannot be inferred
raise a typed route-resolution error and require an explicit route=.
Raw endpoints validate both the route family and the operation's allowed route set before making a request.